Re: [PATCH] "\ef " in psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] "\ef " in psql
Дата
Msg-id 4311.1216333699@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] "\ef " in psql  (Abhijit Menon-Sen <ams@oryx.com>)
Ответы Re: [PATCH] "\ef " in psql  (Abhijit Menon-Sen <ams@oryx.com>)
Список pgsql-hackers
Abhijit Menon-Sen <ams@oryx.com> writes:
> Though I must say it would have been even MORE horrible to copy all this
> code into the backend to make pg_get_functiondef(), notwithstanding the
> extra utility of a generally-callable function.

FWIW, I just found myself forced to invent pg_get_function_arguments()
and pg_get_function_result(), because the TABLE function patch has
pushed the complexity of printing function argument and result types
well beyond the bounds of sanity.  (Pavel had hacked up pg_dump and
ignored psql's \df ...)  It wouldn't take a whole lot to convince me
that a pg_get_functiondef would be useful, although I don't foresee
either of those applications wanting to use it because of their
backward-compatibility constraints.
        regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: ecpg generated files ignorable?
Следующее
От: Marc Munro
Дата:
Сообщение: Patch to eliminate duplicate b64 code from pgcrypto