From f79aea6255c6d77992928670fa6937ef26b0a800 Mon Sep 17 00:00:00 2001 From: Michele Comitini Date: Wed, 17 Jul 2013 16:49:27 +0200 Subject: [PATCH] fix for postgresql when using an alias. --- gluon/dal.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gluon/dal.py b/gluon/dal.py index 7a3b03bb..466a0f93 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -2569,6 +2569,8 @@ class PostgreSQLAdapter(BaseAdapter): } + QUOTE_TEMPLATE = '%s' + def varquote(self,name): return varquote_aux(name,'"%s"')