Re: [PATCH] "\ef " in psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] "\ef " in psql
Дата
Msg-id 15044.1216824603@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] "\ef " in psql  (Abhijit Menon-Sen <ams@oryx.com>)
Ответы Re: [PATCH] "\ef " in psql  ("Marko Kreen" <markokr@gmail.com>)
Re: [PATCH] "\ef " in psql  (Abhijit Menon-Sen <ams@oryx.com>)
Re: [PATCH] "\ef " in psql  ("Asko Oja" <ascoja@gmail.com>)
Список pgsql-hackers
Abhijit Menon-Sen <ams@oryx.com> writes:
> At 2008-07-17 18:28:19 -0400, tgl@sss.pgh.pa.us wrote:
>> 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.

> What would the function return? "CREATE OR REPLACE FUNCTION ..."? Would
> that be good enough for everyone who might want to call it?

I think I'd go with CREATE FUNCTION for simplicity.  It would be easy
enough for something like \ef to splice in OR REPLACE before shipping
the command back to the server.
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Do we really want to migrate plproxy and citext into PG core distribution?
Следующее
От: "Marko Kreen"
Дата:
Сообщение: Re: [PATCH] "\ef " in psql