Re: system info functions

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: system info functions
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E401388D1A@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на system info functions  (Neil Conway <neilc@samurai.com>)
Ответы Re: system info functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: system info functions  (Jim Nasby <jnasby@pervasive.com>)
Список pgsql-hackers

> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org
> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Neil Conway
> Sent: 04 July 2006 05:53
> To: pgsql-hackers@postgresql.org
> Subject: [HACKERS] system info functions
>
> (1) The docs claim that pg_get_viewdef() returns the "CREATE VIEW
> command for view", but that is clearly not the case:
>
> postgres=# create view v1 as select 1;
> CREATE VIEW
> postgres=# select pg_get_viewdef('v1'::regclass::oid);
>  pg_get_viewdef
> ----------------
>  SELECT 1;
> (1 row)
>
> Should we change the documentation, or the implementation of
> pg_get_viewdef()?

Documentation, unless we want to break apps that use the function.

Regards, Dave.


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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: buildfarm stats
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Re: update/insert, delete/insert efficiency WRT vacuum and