Re: integration of fulltext search in bytea/docs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: integration of fulltext search in bytea/docs
Дата
Msg-id 12207.1248962903@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: integration of fulltext search in bytea/docs  (Michael Glaesemann <grzm@seespotcode.net>)
Список pgsql-general
Michael Glaesemann <grzm@seespotcode.net> writes:
> On Jul 30, 2009, at 9:09 , Radek Novotn� wrote:
>> Is there possible to create pg trigger that runs shell script?

> Yes. You can use an untrusted language such as pl/perlu to run system
> commands.

The fact that you can do it doesn't make it a good idea ...

If you do this, you'll need to consider what happens if the database
transaction rolls back after calling your trigger.  The effects in the
filesystem are still there, but the effects in the database aren't.

            regards, tom lane

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

Предыдущее
От: Jennifer Trey
Дата:
Сообщение: Re: How do I run PG Tuning Wizard on Linux?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Clients disconnect but query still runs