Re: [BUGS] pg_get_functiondef() does not show LEAKPROOF for leakproof functions

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [BUGS] pg_get_functiondef() does not show LEAKPROOF for leakproof functions
Дата
Msg-id CAB7nPqT8RueHHDEHpbtqMxG8cEC4aogWNUNb9+aroLhQPX1bMg@mail.gmail.com
обсуждение исходный текст
Ответ на pg_get_functiondef() does not show LEAKPROOF for leakproof functions  (Jeevan Chalke <jeevan.chalke@enterprisedb.com>)
Ответы Re: [BUGS] pg_get_functiondef() does not show LEAKPROOF for leakproof functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, May 28, 2015 at 5:52 PM, Jeevan Chalke
<jeevan.chalke@enterprisedb.com> wrote:
> If function is created with the LEAKPROOF option, then pg_get_functiondef()
> does not show that in the returned definition.
> Is it expected OR are we missing that option in pg_get_functiondef().
>
> However only superuser can define a leakproof function.
> Was this the reason we are not showing that in pg_get_functiondef() output?>
> I don't think we should hide this detail.

Agreed. I guess that it has been simply forgotten. pg_proc can be
easily queried, so functions marked as leakproof are easy to find out
in any case.
-- 
Michael



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Memory leak with XLogFileCopy since de768844 (WAL file with .partial)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Re: [GENERAL] 9.4.1 -> 9.4.2 problem: could not access status of transaction 1