diff options
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index ccf62a072..a0a4f6589 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -730,7 +730,8 @@ WHERE t.typtype NOT IN ('b','c')}, sequence => { SQL => q{ SELECT c.*, nspname||'.'||relname AS name, quote_ident(usename) AS owner, - quote_ident(relname) AS safename, quote_ident(nspname) AS schema + (quote_ident(nspname)||'.'||quote_ident(relname)) AS safename, +quote_ident(nspname) AS schema FROM pg_class c JOIN pg_user u ON (u.usesysid = c.relowner) JOIN pg_namespace n ON (n.oid = c.relnamespace) |