Re: Run external program from postgresql - Mailing list pgsql-admin

From Fabrízio de Royes Mello
Subject Re: Run external program from postgresql
Date
Msg-id CAFcNs+oBgG8hBANs02fnsQ9vk2K1x3hZEV6a9eY-u557bPWwwg@mail.gmail.com
Whole thread Raw
In response to Run external program from postgresql  ("francescoboccacci@libero.it" <francescoboccacci@libero.it>)
List pgsql-admin

2012/5/17 francescoboccacci@libero.it <francescoboccacci@libero.it>
Hi all,
i have a question. I'd like to create a trigger function that "call" and
external application (es . C:\myprogram.exe) when a new row will be insert in a
table.
Is it possible? How can do that?


Yes, it is. But you'll have to use an untrusted language like C, pl/python, pl/perl, etc.

Regards,

--
Fabrízio de Royes Mello
Consultoria/Coaching PostgreSQL
>> Blog sobre TI: http://fabriziomello.blogspot.com

pgsql-admin by date:

Previous
From: "francescoboccacci@libero.it"
Date:
Subject: Run external program from postgresql
Next
From: "francescoboccacci@libero.it"
Date:
Subject: R: Re: Run external program from postgresql