Search Postgresql Archives

Re: pl/pgsql question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 12, 2006 at 09:54:23AM -0500, Rhys Stewart wrote:
> are there any function in pl/pgsql to call a shell script? or like is
> there a pl/bash?

PL/sh might be what you're after; you could also use PL/Perl, etc.

http://pgfoundry.org/projects/plsh/

What does the shell script do?  Having the database invoke external
actions isn't always a good idea; for example, if the transaction
rolls back then you can't undo those actions.  Some problems are
better solved with LISTEN/NOTIFY because notifications don't go out
unless and until the transaction commits.

-- 
Michael Fuhr


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux