Resolved a typo in the psycopg2 driver, qtTypeIdent checking the wrong

list, because - in specific type match comma (,) was missing.
pull/3/head
Ashesh Vashi 2016-01-21 16:54:21 +05:30
parent 8f18ff04ae
commit 0a21beca17
1 changed files with 10 additions and 10 deletions

View File

@ -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