How to call a file from a PlPgsql trigger?

From: Andre Lopes <lopes80andre(at)gmail(dot)com>
To: postgresql Forums <pgsql-general(at)postgresql(dot)org>
Subject: How to call a file from a PlPgsql trigger?
Date: 2010-04-19 08:51:39
Message-ID: v2k18f98e681004190151tff8fe5a2u5dfca12585425116@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

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é

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2010-04-19 09:00:49 Re: How to call a file from a PlPgsql trigger?
Previous Message Craig Ringer 2010-04-19 08:51:07 Re: modification time & transaction synchronisation problem