Re: [PATCH] psql visibility clarification patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] psql visibility clarification patch
Дата
Msg-id 10531.1043386380@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [PATCH] psql visibility clarification patch  ("D. Hageman" <dhageman@dracken.com>)
Ответы poor performance of subquery in psql  ("John Liu" <johnl@emrx.com>)
Список pgsql-hackers
"D. Hageman" <dhageman@dracken.com> writes:
> The goal of this patch is a solution to the issue that I found concerning 
> table visibility.  The problem with the way psql currently lists tables in 
> a database is that it limits it to only the tables currently in the search 
> path.

That's the intended behavior.  I don't think that "\dt foo" should show
any tables other than the same "foo" you'd get from an unqualified
reference to "foo".  If you want to know about foos that are not in
your search path, you can do "\dt *.foo".

Your proposed patch essentially eliminates the distinction between
\dt foo and \dt *.foo.  This doesn't seem like a step forward to me.
Perhaps what's really needed is a documentation patch explaining when
to use each?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Cast and Schemas don't work as expected
Следующее
От: Justin Clift
Дата:
Сообщение: Re: Release Scheduales: 7.2.4 & 7.3.2