From 3f69c8b941a16f0c1bf46db2f9b51667ca007cde Mon Sep 17 00:00:00 2001 From: "Gavin M. Roy" Date: Fri, 25 Oct 2019 17:11:52 -0400 Subject: [PATCH] Fix column_default in Postgres 12 --- postgresql_autodoc.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgresql_autodoc.pl b/postgresql_autodoc.pl index 41aac1e..19d2857 100755 --- a/postgresql_autodoc.pl +++ b/postgresql_autodoc.pl @@ -391,7 +391,7 @@ sub info_collect { AND relkind = 'S') THEN NULL ELSE - adsrc + pg_get_expr(adbin, adrelid) END as column_default , pg_catalog.col_description(attrelid, attnum) as column_description , attnum -- 2.50.1