Execute external program

From: "Toff" <kristoff(dot)six(at)telenet(dot)be>
To: pgsql-novice(at)postgresql(dot)org
Subject: Execute external program
Date: 2005-09-08 09:19:47
Message-ID: TmTTe.188702$wk1.10400827@phobos.telenet-ops.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi,

I'm still thinking on the problem of transferring data to a 2nd database.
I've learnt some things but some are too complex....

Now I'm thinking of executing an external program (written in delphi) with a
(untrusted) Procedural Language on the event of a trigger.
Thus something like
"
CREATE FUNCTION transfer_to_db2 RETURNS TRIGGER $$
execute(....../transfer_to_db2.exe);
$$ LANGUAGE ..........
"

Is this possible?
I know i can install a language in pg, but i prefer an extrenal program (so
i can connect it with pg and nobody else has to worry about pg).

Thanks,

Kristoff

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Guido Barosio 2005-09-08 10:22:52 Re: Please help - libpq API
Previous Message Pradeepkumar, Pyatalo (IE10) 2005-09-08 06:40:57 Please help - libpq API