describe objects, as in pg_depend

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема describe objects, as in pg_depend
Дата
Msg-id 1290000774-sup-2218@alvh.no-ip.org
обсуждение исходный текст
Ответы Re: describe objects, as in pg_depend  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

A customer of ours (Enova Financial) requested the ability to describe
objects in pg_depend.  The wiki contains a simplistic SQL snippet that
does the task, but only for some of the object types, and it's rather
ugly.  It struck me that we could fulfill this very easily by exposing
the getObjectDescription() function at the SQL level, as in the attached
module.

I propose we include this as a builtin function.

Opinions?

--
Álvaro Herrera <alvherre@alvh.no-ip.org>

Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: changing MyDatabaseId
Следующее
От: Markus Wanner
Дата:
Сообщение: Re: changing MyDatabaseId