pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Barrett <jbarrett@familynetwork.com>
To: pgsql-sql@postgresql.org
Subject: calling a shell script from pl/pgsql
Date: Mon, 10 Sep 2001 12:14:13 -0400
Message-ID: <9nip2p$1s5o$1@news.tht.net> (raw)

How can I call a shell script from within a pl/pgsql function that is called
as from a trigger. I do not want to interact with the script I just want it
to run. I do want the trigger to wait for the script it called to complete
before returning a value.

Any ideas would be greatly appreciated.

Thanks,

Jeff Barrett





view thread (7+ messages)  latest in thread

Message-ID: <9nip2p$1s5o$1@news.tht.net>
Permalink:  ../9nip2p$1s5o$1@news.tht.net/
Also on:    postgresql.org/message-id/9nip2p$1s5o$1@news.tht.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jbarrett@familynetwork.com
  Subject: Re: calling a shell script from pl/pgsql
  In-Reply-To: <9nip2p$1s5o$1@news.tht.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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