Re: Can I call unix/linux commands within plsql?

From: Jason Earl <jason(dot)earl(at)simplot(dot)com>
To: Timmy 鄧添喜 <timmy(dot)tang(at)gaojin(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Can I call unix/linux commands within plsql?
Date: 2001-12-13 18:42:03
Message-ID: 87d71juflw.fsf@npa01zz001.simplot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I think that there is a plshell implementation rolling around
somewhere, but what I generally do is launch a cron script every so
often that can then check up on PostgreSQL. For example, let's say
you have a table emails_to_send. Cron can wake up a script that sends
your emails for you, and the script is free to use PostgreSQL's
excellent transaction support (something a shell script called from
PostgreSQL cannot really do).

Jason

Timmy 鄧添喜 <timmy(dot)tang(at)gaojin(dot)com> writes:

Attachment Content-Type Size
unknown_filename text/plain 281 bytes

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Albertson 2001-12-13 18:55:28 Re: slow queries on large syslog table
Previous Message Jason Earl 2001-12-13 18:25:45 Re: Money reformatting