diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/psql/describe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 85e3aa5dddd..fd8dc9122d4 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -4412,7 +4412,8 @@ listForeignTables(const char *pattern, bool verbose) "d.objoid = c.oid AND d.objsubid = 0\n"); processSQLNamePattern(pset.db, &buf, pattern, false, false, - NULL, "n.nspname", "c.relname", NULL); + "n.nspname", "c.relname", NULL, + "pg_catalog.pg_table_is_visible(c.oid)"); appendPQExpBufferStr(&buf, "ORDER BY 1, 2;"); |