Skip to content


Browse files Browse the repository at this point in the history
Proposed fix for PostgreSQL 12
See #32321
If accepted it should be backported to LTR and 3.10
  • Loading branch information
pcav committed Nov 6, 2019
1 parent 5910a7b commit c34cbb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/db_manager/db_plugins/postgis/
Expand Up @@ -496,7 +496,7 @@ def getTableFields(self, table):
a.atttypmod AS modifier,
a.attnotnull AS notnull,
a.atthasdef AS hasdefault,
adef.adsrc AS default_value,
adef.adbin AS default_value,
pg_catalog.format_type(a.atttypid,a.atttypmod) AS formatted_type
FROM pg_class c
JOIN pg_attribute a ON a.attrelid = c.oid
Expand Down

0 comments on commit c34cbb5

Please sign in to comment.