Re: Wanted: RelationIsVisible interface

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Wanted: RelationIsVisible interface
Дата
Msg-id 3D54451D.6090501@joeconway.com
обсуждение исходный текст
Ответ на Wanted: RelationIsVisible interface  ("Greg Sabino Mullane" <greg@turnstep.com>)
Ответы Re: Wanted: RelationIsVisible interface
Список pgsql-hackers
Greg Sabino Mullane wrote:
> At any rate, I will play with the RelationIsVisible stuff when somebody 
> writes a SQL interface to it (or I write it myself, but that will take 
> quite a long time :)
> 

Looks like Tom just committed this; see:

http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/catalog/namespace.c.diff?r1=1.29&r2=1.30

Datum pg_table_is_visible(PG_FUNCTION_ARGS);
Datum pg_type_is_visible(PG_FUNCTION_ARGS);
Datum pg_function_is_visible(PG_FUNCTION_ARGS);
Datum pg_operator_is_visible(PG_FUNCTION_ARGS);
Datum pg_opclass_is_visible(PG_FUNCTION_ARGS);

They all accept an oid and return bool.

Joe



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

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: Proposal for psql wildcarding behavior w/schemas
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Proposal: stand-alone composite types