]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
adjust a comment in PGDialect._get_column_info
authorÉric Lemoine <eric.lemoine@gmail.com>
Wed, 12 Sep 2012 06:56:51 +0000 (08:56 +0200)
committerÉric Lemoine <eric.lemoine@gmail.com>
Wed, 12 Sep 2012 06:56:51 +0000 (08:56 +0200)
lib/sqlalchemy/dialects/postgresql/base.py

index 2c6404fa9c319a8cdcfa0da9c547830caa51cb68..4764339ac24d99dede0506033222e92446574df5 100644 (file)
@@ -1488,8 +1488,8 @@ class PGDialect(default.DefaultDialect):
 
     def _get_column_info(self, name, format_type, default,
                          notnull, domains, enums, schema):
-        ## strip (5) from character varying(5), timestamp(5)
-        # with time zone, etc
+        ## strip (*) from character varying(5), timestamp(5)
+        # with time zone, geometry(POLYGON), etc.
         attype = re.sub(r'\(.*\)', '', format_type)
 
         # strip '[]' from integer[], etc.