Re: how to edit a function from psql?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: how to edit a function from psql?
Дата
Msg-id 20041104214029.GA6872@surnet.cl
обсуждение исходный текст
Ответ на Re: how to edit a function from psql?  (Thomas F.O'Connell <tfo@sitening.com>)
Ответы Re: how to edit a function from psql?  (Patrick Hatcher <PHatcher@macys.com>)
Re: how to edit a function from psql?  (Thomas F.O'Connell <tfo@sitening.com>)
Re: how to edit a function from psql?  (Karim Nassar <Karim.Nassar@NAU.EDU>)
Список pgsql-general
On Thu, Nov 04, 2004 at 02:22:06PM -0600, Thomas F.O'Connell wrote:
> To the best of my knowledge, this is not possible in psql.
>
> You can edit individual queries with \e, but I don't think it's
> possible to edit functions.

It is of course possible get the definition using \df+ and then use
CREATE OR REPLACE in conjuntion with \e to edit it at will.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
Tulio: oh, para qué servirá este boton, Juan Carlos?
Policarpo: No, aléjense, no toquen la consola!
Juan Carlos: Lo apretaré una y otra vez.


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

Предыдущее
От: Timothy Perrigo
Дата:
Сообщение: Re: PostgreSQL on Linux PC vs MacOS X
Следующее
От: Patrick Hatcher
Дата:
Сообщение: Re: how to edit a function from psql?