| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | Sim Zacks <sim(at)compulab(dot)co(dot)il> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: plpythonu |
| Date: | 2008-01-20 18:41:13 |
| Message-ID: | 20080120184113.GB22740@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Sim Zacks wrote:
> I'm a fan of unsecured languages in the database.
> Obviously they should only be used by people who understand the difference.
> I wouldn't want python locked down.
> That would prevent so many different external functions that can now
> be integrated into the database.
>
> Among other things that I currently do with plpythonu is a function
> that reads a template file, populates it with data and saves the file
> to the server. It then FTPs the file to another server. It certainly
> can all be done outside of the database, but it is so much easier (and
> less maintenance) to include it as a function.
Having the trusted language does not mean you lose the untrusted one.
We have both plperl and plperlu, for example.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2008-01-20 18:42:21 | Re: [GENERAL] SHA1 on postgres 8.3 |
| Previous Message | Joshua D. Drake | 2008-01-20 18:40:14 | Re: Sun acquires MySQL |