Re: pl/pgsql question

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: pl/pgsql question
Дата
Msg-id 20060512151231.GA90627@winnie.fuhr.org
обсуждение исходный текст
Ответ на pl/pgsql question  ("Rhys Stewart" <rhys.stewart@gmail.com>)
Список pgsql-general
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

В списке pgsql-general по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: GUI Interface
Следующее
От: Scott Ribe
Дата:
Сообщение: Re: [PERFORM] Arguments Pro/Contra Software Raid