pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Run external program on a trigger?
2+ messages / 2 participants
[nested] [flat]

* Run external program on a trigger?
@ 2005-01-20 11:30  Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
  0 siblings, 1 reply; 2+ messages in thread

From: Joost Kraaijeveld @ 2005-01-20 11:30 UTC (permalink / raw)
  To: pgsql-admin

Hi all,

Is it possible to run an arbitrary external program on my Linux machine if a trigger fires? 

Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.Kraaijeveld@Askesis.nl
web: www.askesis.nl 



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Run external program on a trigger?
@ 2005-01-20 13:12  Peter Eisentraut <peter_e@gmx.net>
  parent: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2005-01-20 13:12 UTC (permalink / raw)
  To: Joost Kraaijeveld <J.Kraaijeveld@askesis.nl>; +Cc: pgsql-admin

Joost Kraaijeveld wrote:
> Is it possible to run an arbitrary external program on my Linux
> machine if a trigger fires?

Sure, just have the trigger procedure call the external program.  The 
untrusted languages can do that, or if you want to go barebones, try 
PL/sh (http://developer.postgresql.org/~petere/pgplsh/)/

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-01-20 13:12 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-01-20 11:30 Run external program on a trigger? Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
2005-01-20 13:12 ` Peter Eisentraut <peter_e@gmx.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox