TODO: Add pg_get_acldef(), pg_get_typedefault(), pg_get_attrdef(), pg_get_tabledef(), pg_get_domaindef(), pg_get_functiondef()

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема TODO: Add pg_get_acldef(), pg_get_typedefault(), pg_get_attrdef(), pg_get_tabledef(), pg_get_domaindef(), pg_get_functiondef()
Дата
Msg-id 448A41F2.7000208@commandprompt.com
обсуждение исходный текст
Ответы Re: TODO: Add pg_get_acldef(), pg_get_typedefault(), pg_get_attrdef(), pg_get_tabledef(), pg_get_domaindef(), pg_get_functiondef()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hello,

I can guess some of these:

pg_get_tabledef() : Would take a table name and return the columns and 
associated types

pg_get_acldef(): Would take an object name and return the associated 
roles and permissions for the object

pg_get_typedefault(): This one I am unsure about

pg_get_attrdef(): This one I am unsure about

pg_get_domaindef(): Would take the name of a domain constraint and 
return the definition

pg_get_functionef(): Would take the name of a function and return its 
soure. However, a function can have the same name with different
arguments, so I am a little unsure.

So could I get some further definition?

Joshua D. Drake



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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: How to avoid transaction ID wrap
Следующее
От: "Mark Cave-Ayland"
Дата:
Сообщение: Re: Proposal for debugging of server-side stored procedures