Fix expression evaluation with postgres

This commit is contained in:
ilvalle
2015-01-03 14:11:06 +01:00
parent 354e63d0fe
commit 3e1a918707
2 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -104,7 +104,8 @@ class PostgreSQLAdapter(BaseAdapter):
self.srid = srid
self.find_or_make_work_folder()
self._last_insert = None # for INSERT ... RETURNING ID
self.TRUE_exp = 'TRUE'
self.FALSE_exp = 'FALSE'
ruri = uri.split('://',1)[1]
m = self.REGEX_URI.match(ruri)
if not m: