[BUGS] BUG #14535: SET search_path and list tables

Поиск
Список
Период
Сортировка
От totocrenn@gmail.com
Тема [BUGS] BUG #14535: SET search_path and list tables
Дата
Msg-id 20170208113300.1411.83851@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: [BUGS] BUG #14535: SET search_path and list tables  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      14535
Logged by:          Thomas Crenn
Email address:      totocrenn@gmail.com
PostgreSQL version: 9.6.1
Operating system:   Windows
Description:

Hi,
I will explain the bug with an example :

I have 2 SCHEMAS : test and demo
Each schemas have the same TABLE : table

Then I change the search path :
SET search_path TO test, demo;

So when I list all the tables with \dt I should have 2 tables : test.table
and demo.table, but I only see test.table.
After checking, the table demo.table exist but is just not display on the
list.

I guess it's because the query apply a DISTINCT only on the table and not on
the couple (schema , table).
I don't know if it's a bug or if this choice is justified so i have decided
to report you this.

Best regards.


--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

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

Предыдущее
От: NAVEEN CHALIMETI
Дата:
Сообщение: Re: [BUGS] BUG #14531: server process (PID 12714) was terminated bysignal 11: Segmentation fault
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: [BUGS] BUG #14535: SET search_path and list tables