\d for views display query

Поиск
Список
Период
Сортировка
От James Sasitorn
Тема \d for views display query
Дата
Msg-id 5BFFB41A-16C2-413C-886A-DE2775280DBA@sasitorn.com
обсуждение исходный текст
Ответы Re: \d for views display query  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
The default behavior for \d (at least in my installations) changed when used against views.

if I do
#\d myview

It shows the view structure only. Older versions of psql used to also show what the view represented (the select
statementsand supporting tables it corresponded to). 

How do I display the select command/supporting tables backing a view in the interactive psql?


Thanks for the help,
James

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

Предыдущее
От: Michael Swierczek
Дата:
Сообщение: Re: PostgreSQL on Amazon EC2/EBS
Следующее
От: Tom Lane
Дата:
Сообщение: Re: \d for views display query