Re: [GENERAL] Executing external scripts

From: Peter Eisentraut <e99re41(at)DoCS(dot)UU(dot)SE>
To: Mark Jewiss <Mark(dot)Jewiss(at)knowledge(dot)com>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Executing external scripts
Date: 1999-11-30 15:00:23
Message-ID: Pine.GSO.4.02A.9911301558270.12975-100000@Vessla.DoCS.UU.SE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 30 Nov 1999, Mark Jewiss wrote:

> I want to be able to create a trigger that when fired will execute an
> external script. I may require arguments to be passed to the script from
> the trigger.
>
> I can't find a definate yes/no as to whether this can actually be done or
> not in Postgresql 6.5.* - does anybody know?

The definite answer to this is no, not straightforwardly. You will have to
write a C wrapper function.

While this sure sounds like a neat feature to have, I think there are too
many potential headaches.

--
Peter Eisentraut Sernanders vaeg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dale Anderson 1999-11-30 15:00:55 PGSQL C Interface
Previous Message Mark Jewiss 1999-11-30 14:08:13 Executing external scripts