Re: Create temporary function - Mailing list pgsql-general

From Steve Crawford
Subject Re: Create temporary function
Date
Msg-id 480FA987.2060705@pinpointresearch.com
Whole thread Raw
In response to Re: Create temporary function  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Colin Wetherbee
Date:
Subject: Re: query question really cant give a summary here so read the body ;-)
Next
From: Robert Treat
Date:
Subject: Re: How to modify ENUM datatypes?