OSDN Git Service

Add bpchar to list of string types.
authorD'Arcy J.M. Cain <darcy@druid.net>
Fri, 15 Jun 2001 02:23:18 +0000 (02:23 +0000)
committerD'Arcy J.M. Cain <darcy@druid.net>
Fri, 15 Jun 2001 02:23:18 +0000 (02:23 +0000)
Thanks to Steve McClure <smcclure@racemi.com> for the patch.

src/interfaces/python/pgdb.py

index 68cd64c..85ff765 100644 (file)
@@ -395,7 +395,7 @@ class pgdbType:
                        return -1
 
 STRING = pgdbType(
-       'char', 'name', 'text', 'varchar'
+       'char', 'bpchar', 'name', 'text', 'varchar'
 )
 
 # BLOB support is pg specific