Commits

Éric Lemoine committed 56b6f25 Draft

adjust a comment in PGDialect._get_column_info

Comments (0)

Files changed (1)

lib/sqlalchemy/dialects/postgresql/base.py

 
     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.