Re: postgres launch os applications

From: "Sean Davis" <sdavis2(at)mail(dot)nih(dot)gov>
To: "Richard Broersma" <richard(dot)broersma(at)gmail(dot)com>
Cc: "Ertel, Steve" <Steve(dot)Ertel(at)infimatic(dot)com>, pgsql-novice(at)postgresql(dot)org
Subject: Re: postgres launch os applications
Date: 2008-10-07 18:12:46
Message-ID: 264855a00810071112r7ecb7d9bk90cf004f68824707@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Tue, Oct 7, 2008 at 1:38 PM, Richard Broersma
<richard(dot)broersma(at)gmail(dot)com> wrote:
> On Tue, Oct 7, 2008 at 10:34 AM, Sean Davis <sdavis2(at)mail(dot)nih(dot)gov> wrote:
>
>> You cannot do this with any "trusted" language (which includes
>> pg/plsql). However, you can use any of the untrusted languages like
>> pl/python, pl/perl, pl/java, pl/tcl, etc. Of course, each of those
>> languages has its own specifics dealing with starting executables.
>
> To add to this point. IIRC, these languages are untrusted because
> they can trigger events outside the database that cannot be rolled
> back in the event of an error.
>
> Another option to might work is using the list notify mechanism.

This is definitely the better option.

Sean

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Bastiaan Olij 2008-10-07 22:06:53 Re: Installing postgres on Vista, can't connect remotely
Previous Message mrbuseco 2008-10-07 18:07:06 Re: postgres launch os applications