Re: [ADMIN] behavior of \dt and schemas

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: [ADMIN] behavior of \dt and schemas
Дата
Msg-id CAKFQuwZvAf3GH+aaQX4WmLr=8hz0-tVRcbcPsp=p3Vedyx-fZg@mail.gmail.com
обсуждение исходный текст
Ответ на [ADMIN] behavior of \dt and schemas  (John Scalia <jayknowsunix@gmail.com>)
Ответы Re: [ADMIN] behavior of \dt and schemas  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin


On Friday, January 20, 2017, John Scalia <jayknowsunix@gmail.com> wrote:

So, to me this is somewhat non-intuitive behavior, but maybe I'm all wet here. Shouldn't \dt report all the tables it can see with the search_path set to some value? And btw, this is was the behavior on 9.4.10, so if it's changed in more recent versions, I haven't tested there yet.


It shows the definition of the table you would be referencing if you used that name in a query.  This seems like a useful behavior.

David J.

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: [ADMIN] behavior of \dt and schemas
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [ADMIN] behavior of \dt and schemas