Re: Feature request: include script file into function body

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Feature request: include script file into function body
Дата
Msg-id 4D48335E020000250003A13E@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: Feature request: include script file into function body  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Feature request: include script file into function body
Список pgsql-bugs
Robert Haas <robertmhaas@gmail.com> wrote:

> Can't you already do it this way:
>
> \set yadda `cat yadda_yadda.py`
> CREATE FUNCTION yadda_yadda() returns text language plpythonu AS
> :'yadda';

OK, that works.  It sure ain't pretty, though.

Clever, but not pretty.

-Kevin

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Feature request: include script file into function body
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Feature request: include script file into function body