psql \d command hides objects from "lower" schemas

Поиск
Список
Период
Сортировка
От Ben Morgan
Тема psql \d command hides objects from "lower" schemas
Дата
Msg-id CA+pT-SXsWU1j8oyBJBb3TCmL6bMFUop=Or5nuPKFgz=9-ysvCA@mail.gmail.com
обсуждение исходный текст
Ответы Re: psql \d command hides objects from "lower" schemas  (Josh Kupershmidt <schmiddy@gmail.com>)
Список pgsql-bugs
Version and Operating System:
PostgreSQL 9.2.2 on i686-pc-linux-gnu, compiled by gcc (GCC) 4.7.2, 32-bit
PostgreSQL 9.2.2, compiled by Visual C++ build 1600, 32-bit

Description of Bug:
I attached a file input.sql which contains a few commands necessary for bug report. In summary:

    create schema front, back;
    set search_path to front,back,public;
    create table back.some_table (...);
    create view front.some_table ...;
    create table {public,back,front}.another (...);
    \d

Given this, when using the psql command \d, I expect to see all the tables, and the view as well as the table. But instead the objects in the front-most schema mask the other objects.

I'm submitting this as a bug, because it seems to be one. If this behavior is intended, please forgive me! (And if it is intended, is there flag to make objects in higher schemas not mask other objects?)

Steps to reproduce bug:

    $ createdb -U postgres -O benmorgan bugreport
    $ psql bugreport < bugreport-input.sql
    $ psql bugreport
    psql (9.2.2)
    Type "help" for help.

    bugreport=>\d
                     List of relations
     Schema |       Name        |   Type   |   Owner   
    --------+-------------------+----------+-----------
     back   | some_table_id_seq | sequence | benmorgan
     front  | another           | table    | benmorgan
     front  | another_id_seq    | sequence | benmorgan
     front  | some_table        | view     | benmorgan
    (4 rows)

Thanks!

-Ben
Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: BUG #7821: constant disconnection with external network
Следующее
От: Josh Kupershmidt
Дата:
Сообщение: Re: psql \d command hides objects from "lower" schemas