Re: How to call a file from a PlPgsql trigger? - Mailing list pgsql-general

From Pavel Stehule
Subject Re: How to call a file from a PlPgsql trigger?
Date
Msg-id t2x162867791004190200l852a6e69s2ad029cc38ae4c2a@mail.gmail.com
Whole thread Raw
In response to How to call a file from a PlPgsql trigger?  (Andre Lopes <lopes80andre@gmail.com>)
Responses Re: How to call a file from a PlPgsql trigger?  (Andre Lopes <lopes80andre@gmail.com>)
List pgsql-general
Hello

2010/4/19 Andre Lopes <lopes80andre@gmail.com>:
> Hi,
>
> I have an account in a shared hosting account and I can't install any 3rd
> party software.
>
> I need to send data from a PostgreSQL database to a MySQL database. I was
> thinking of using a trigger. The trigger calling a PHP file to help me
> passing the data to the MySQL database.

use plperlu instead. You can put connect and transfer of data directly
to trigger

regards
Pavel Stehule


http://www.postgres.cz/index.php/PL/Perlu_-_Untrusted_Perl_%28en%29
>
> It is possible to call a file from a PlPgsql trigger? If yes, how to?
>
> This is the best way to do this task?
>
>
> PS: Sorry for my english.
>
> Best Regards,
> André
>

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: modification time & transaction synchronisation problem
Next
From: Andre Lopes
Date:
Subject: Re: How to call a file from a PlPgsql trigger?