Re: BUG #13899: \det ignores visibility; patch attached
От | Michael Paquier |
---|---|
Тема | Re: BUG #13899: \det ignores visibility; patch attached |
Дата | |
Msg-id | CAB7nPqQ8bruSyhX6dGGrqB9C5KSeYxJNt7fYfmiRjWA8OMTAhg@mail.gmail.com обсуждение исходный текст |
Ответ на | BUG #13899: \det ignores visibility; patch attached (reece@harts.net) |
Ответы |
Re: BUG #13899: \det ignores visibility; patch attached
|
Список | pgsql-bugs |
On Fri, Jan 29, 2016 at 9:34 AM, <reece@harts.net> wrote: > --- 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;"); Hm. I don't think so, the current behavior looks to be on purpose. \dE instead can be used to match the visibility with search_path, so I would rather modify the documentation to mention that \d[Eitstv] matches the schema visibility in search_path instead and let \det alone. -- Michael
В списке pgsql-bugs по дате отправления: