Re: How to call a file from a PlPgsql trigger?

Поиск
Список
Период
Сортировка
От Andre Lopes
Тема Re: How to call a file from a PlPgsql trigger?
Дата
Msg-id p2n18f98e681004190204wfd7b9b6dtf90130c292f3a0eb@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to call a file from a PlPgsql trigger?  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: How to call a file from a PlPgsql trigger?
Список pgsql-general
Hi,

Thanks for the reply.

I can't install languages. The database is in a shared hosting.

There are other solutions?

Best Regards,



On Mon, Apr 19, 2010 at 10:00 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
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 по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: How to call a file from a PlPgsql trigger?
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: How to call a file from a PlPgsql trigger?