summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index c726d10a5..e29501558 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -1119,7 +1119,7 @@ JOIN pg_namespace n ON (n.oid = p.pronamespace)},
SQL => q{
SELECT c.*, c.oid, n.nspname||'.'||c1.relname||'.'||c.conname AS name, quote_ident(c.conname) AS safename,
n.nspname AS schema, r.relname AS tname,
- pg_get_constraintdef(c.oid) AS constraintdef
+ pg_get_constraintdef(c.oid) AS constraintdef, translate(c.confmatchtype,'u','s') AS confmatchtype_compat
FROM pg_constraint c
JOIN pg_class c1 ON (c1.oid = c.conrelid)
JOIN pg_namespace n ON (n.oid = c.connamespace)
@@ -6756,7 +6756,8 @@ sub check_same_schema {
indexprs,indcheckxmin,reltablespace,
indkey', '' ],
[trigger => 'tgqual,tgconstraint', '' ],
- [constraint => 'conbin,conindid,conkey,confkey', '' ],
+ [constraint => 'conbin,conindid,conkey,confkey
+ confmatchtype', '' ],
[column => 'atttypid,attnum,attbyval,attndims', '' ],
);