| От | Hannes Dorbath |
|---|---|
| Тема | Re: Execute Shell script after insert |
| Дата | |
| Msg-id | 490606A4.90508@theendofthetunnel.de обсуждение исходный текст |
| Ответ на | Execute Shell script after insert ("Anderson dos Santos Donda" <andersondonda@gmail.com>) |
| Ответы |
Re: Execute Shell script after insert
|
| Список | pgsql-general |
Anderson dos Santos Donda wrote:
> Is there a way to execute a simple shell script in server after execute
> INSERT INTO ?
>
> Example?
>
> INSERT INTO clients (name) VALUES ('Donda');
>
> after it, execute shell : mkdir $1
You might find the following project useful:
http://plsh.projects.postgresql.org/
It adds sh as a procedural language to your PostgreSQL installation.
Please be aware that there are the same security concerns as with all
other untrusted procedural languages.
--
Best regards,
Hannes Dorbath
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера