diff options
author | glynastill | 2015-09-23 13:26:07 +0000 |
---|---|---|
committer | glyn | 2016-06-07 11:13:41 +0000 |
commit | 59f11cd915c39f57c1ac73e8e966a0afdb3c34a5 (patch) | |
tree | 026a769746549fad4fe78df659229dd32501ff85 /check_postgres.pl | |
parent | 362890ebe8550f63fa48511f84997d4ff6dc94b3 (diff) |
Fix same_schema check so it considers left and right operands when comparing operators.
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index f3767348f..d79ef39b5 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -1066,7 +1066,7 @@ WHERE c.relkind = 'i'}, }, operator => { SQL => q{ -SELECT o.*, o.oid, n.nspname||'.'||o.oprname AS name, quote_ident(o.oprname) AS safename, +SELECT o.*, o.oid, n.nspname||'.'||o.oprname||' ('||COALESCE(t2.typname,'NONE')||','||COALESCE(t3.typname,'NONE')||')' AS name, quote_ident(o.oprname) AS safename, rolname AS owner, n.nspname AS schema, t1.typname AS resultname, t2.typname AS leftname, t3.typname AS rightname, |