diff options
author | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> | 2006-07-12 16:10:45 +0200 |
---|---|---|
committer | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> | 2006-07-12 16:10:45 +0200 |
commit | 8ef71d34acb62a076827bcb5dcdb3cb4258fab0d (patch) | |
tree | 15f176b6b2b7dedb1d31b4c5583baee2b33f13e6 /db.py | |
parent | 181d4aa00dbbb0222f86eff2bb37d43b5483a3b5 (diff) | |
download | logilab-common-8ef71d34acb62a076827bcb5dcdb3cb4258fab0d.tar.gz |
TODAY must be quoted for postgres
Diffstat (limited to 'db.py')
-rw-r--r-- | db.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -420,7 +420,7 @@ class _PGAdvFuncHelper(_GenericAdvFuncHelper): return "CREATE TEMPORARY TABLE %s (%s) ON COMMIT DROP;" % (table_name, table_schema) def sql_current_date(self): - return 'TODAY' + return "'TODAY'" class _SqliteAdvFuncHelper(_GenericAdvFuncHelper): |