Re: SQL text of view

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: SQL text of view
Дата
Msg-id bpe63d$ce3$1@sea.gmane.org
обсуждение исходный текст
Ответ на SQL text of view  ("Yury Shvetsov" <rmtech@marbella.net>)
Список pgsql-general
Yury Shvetsov schrieb:
> Hi.
>
> Where is the SQL text of view stored in the database?
> I mean the text like "SELECT the_field FROM the_table".
> I can found the function's text in "pg_proc.proerc", but can't find the same
> for a view.
>
> Yury Shvetsov.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>                http://archives.postgresql.org
>
What about

SELECT definition
FROM pg_views
WHERE viewname = <name of view>

Thomas


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: 7.4RC2 vs 7.4
Следующее
От: Oliver Elphick
Дата:
Сообщение: Re: unix_socket_directory not fully recognized by pg_ctl?