BUG #13899: \det ignores visibility; patch attached - Mailing list pgsql-bugs

From reece@harts.net
Subject BUG #13899: \det ignores visibility; patch attached
Date
Msg-id 20160129003430.2537.11998@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #13899: \det ignores visibility; patch attached
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      13899
Logged by:          Reece Hart
Email address:      reece@harts.net
PostgreSQL version: 9.5.0
Operating system:   linux
Description:

Patch:

--- src/bin/psql/describe.c.orig    2016-01-28 16:22:33.782890246 -0800
+++ src/bin/psql/describe.c    2016-01-28 16:31:08.052200101 -0800
@@ -4412,7 +4412,8 @@
                              "d.objoid = c.oid AND d.objsubid = 0\n");

     processSQLNamePattern(pset.db, &buf, pattern, false, false,
-                          NULL, "n.nspname", "c.relname", NULL);
+                          NULL, "n.nspname", "c.relname",
+                          "pg_catalog.pg_table_is_visible(c.oid)");

     appendPQExpBufferStr(&buf, "ORDER BY 1, 2;");

pgsql-bugs by date:

Previous
From: arthur.lewis@hypermediasystems.com
Date:
Subject: BUG #13897: backquotes and inserting files into columns.
Next
From: vladimir.zvagolskiy@nasdaq.com
Date:
Subject: BUG #13898: ecpg complains on nested comments in /usr/pgsql-9.4/include/informix/esql/datetime.h