From 0a21beca17b2227942f64b17fc7d82af3ce9485e Mon Sep 17 00:00:00 2001 From: Ashesh Vashi Date: Thu, 21 Jan 2016 16:54:21 +0530 Subject: [PATCH] Resolved a typo in the psycopg2 driver, qtTypeIdent checking the wrong list, because - in specific type match comma (,) was missing. --- web/pgadmin/utils/driver/psycopg2/__init__.py | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/web/pgadmin/utils/driver/psycopg2/__init__.py b/web/pgadmin/utils/driver/psycopg2/__init__.py index 3cf4bab2c..c6c87f15f 100644 --- a/web/pgadmin/utils/driver/psycopg2/__init__.py +++ b/web/pgadmin/utils/driver/psycopg2/__init__.py @@ -843,16 +843,16 @@ class Driver(BaseDriver): valNoArray = value[:-2] if forTypes and valNoArray.lower() in [ - u"bit varying" - u"\"char\"", - u"character varying", - u"double precision" - u"timestamp without time zone" - u"timestamp with time zone" - u"time without time zone" - u"time with time zone" - u"\"trigger\"" - u"\"unknown\"" + u'bit varying', + u'"char"', + u'character varying', + u'double precision', + u'timestamp without time zone', + u'timestamp with time zone', + u'time without time zone', + u'time with time zone', + u'"trigger"', + u'"unknown"' ]: return False