Re: Create temporary function

Поиск
Список
Период
Сортировка
От Steve Crawford
Тема Re: Create temporary function
Дата
Msg-id 480FA987.2060705@pinpointresearch.com
обсуждение исходный текст
Ответ на Re: Create temporary function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane wrote:
> Steve Crawford <scrawford@pinpointresearch.com> writes:
>
>> I have recently run across situations that might benefit from the
>> ability to create a temporary function.
>>
>
> You can do that today, as long as you don't mind schema-qualifying
> uses of the function:
>
> regression=# create function pg_temp.tfunc(int) returns int as
> regression-# $$ select $1 + 1 $$ language sql;
>

Excellent. I've submitted this as a comment to the docs for the next
time someone googles "CREATE TEMPORARY FUNCTION".

Cheers,
Steve

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

Предыдущее
От: Colin Wetherbee
Дата:
Сообщение: Re: query question really cant give a summary here so read the body ;-)
Следующее
От: Robert Treat
Дата:
Сообщение: Re: How to modify ENUM datatypes?