Skip to content
Permalink
Browse files
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 c34cbb504dd7ff6c850bf05209877ba28ce5c07e
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/db_manager/db_plugins/postgis/connector.py
@@ -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

0 comments on commit c34cbb5

Please sign in to comment.