Re: Feature request: include script file into function body
От | Steve White |
---|---|
Тема | Re: Feature request: include script file into function body |
Дата | |
Msg-id | 20110201195915.GA8252@cashmere.aip.de обсуждение исходный текст |
Ответ на | Re: Feature request: include script file into function body (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Feature request: include script file into function
body
|
Список | pgsql-bugs |
Hi guys, On 1.02.11, Tom Lane wrote: > "Kevin Grittner" <Kevin.Grittner@wicourts.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. > > regards, tom lane > -- | - - - - - - - - - - - - - - - - - - - - - - - - - | Steve White +49(331)7499-202 | E-Science Zi. 27 Villa Turbulenz | - - - - - - - - - - - - - - - - - - - - - - - - - | Astrophysikalisches Institut Potsdam (AIP) | An der Sternwarte 16, D-14482 Potsdam | | Vorstand: Prof. Dr. Matthias Steinmetz, Peter A. Stolz | | Stiftung privaten Rechts, Stiftungsverzeichnis Brandenburg: III/7-71-026 | - - - - - - - - - - - - - - - - - - - - - - - - -
В списке pgsql-bugs по дате отправления: