From: | "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> |
---|---|
To: | "Steve White" <swhite(at)aip(dot)de>,"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: Feature request: include script file into function body |
Date: | 2011-02-01 20:09:39 |
Message-ID: | 4D481423020000250003A123@gw.wicourts.gov |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Steve White <swhite(at)aip(dot)de> wrote:
> On 1.02.11, Tom Lane wrote:
>> "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> writes:
>>> Maybe some option for the \i command? \iq (for input quoted)
>>> with automatic $$ quoting around what is read?
>>
>>> That way you could do something like:
>>
>>> CREATE FUNCTION yadda_yadda() returns text language plpythonu as
>>> \iq yadda_yadda.py
>>> ;
>
> Yes this will work for me.
>
>>
>> Just got this --- looks like we independently arrived at the same
>> conclusion.
I'll add it to the TODO list. It looks like we might finally have a
good one for those looking for an easy item from that list. Those
have been scarce lately.
-Kevin
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-02-01 21:55:12 | Re: Feature request: include script file into function body |
Previous Message | Kevin Grittner | 2011-02-01 20:06:38 | Re: Feature request: include script file into function body (better syntax) |