Steve White <swh...@aip.de> wrote:
 
> I *DO NOT MEAN* that a query should run about grabbing files off
> the server, or wherever.
> 
> I meant something like the replacement that happens with the \i
> command in loading SQL, and under similar circumstances, except
> that somehow non-SQL code is loadad in a function body.
 
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
;
 
-Kevin

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to