Re: pg_views.definition

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_views.definition
Дата
Msg-id 200207160545.g6G5jCO20786@candle.pha.pa.us
обсуждение исходный текст
Ответ на pg_views.definition  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Ответы Re: pg_views.definition  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Christopher Kings-Lynne wrote:
> Hi,
> 
> Would it be possible to add a new attribute to pg_views that stores the
> original view definition, as entered via SQL?
> 
> This would make the lives of those of us who make admin interfaces a lot
> easier...

We actually reverse it on the fly:test=> \d xx         View "xx" Column  | Type | Modifiers
---------+------+-----------relname | name | View definition: SELECT pg_class.relname FROM pg_class;
 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Future of src/utils
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BlockNumber fixes