Re: Feature request: include script file into function body

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Steve White <swhite(at)aip(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Feature request: include script file into function body
Date: 2011-02-01 16:02:25
Message-ID: 26900.1296576145@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Steve White <swhite(at)aip(dot)de> writes:
> It would be really nice to have a way to load script (especially Python
> and Perl) from a separate file into a function body.

This seems like a security hole, ie, you could use it to read any file
the backend has access to.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2011-02-01 16:07:52 Re: pg_dump doesn't save altered column information for inherited columns
Previous Message Alexandre 2011-02-01 15:20:51 BUG #5859: XML result in line and column