Skip site navigation (1) Skip section navigation (2)

Calling an external command via triggers

From: "Ridvan Lakas ng Bayan S(dot) Baluyos" <ridvan(at)baluyos(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: Calling an external command via triggers
Date: 2008-08-08 06:22:43
Message-ID: 7f4f9efa0808072322m4704c497y426da960ca18d2a9@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-novice
Hi All,

Is it possible for me to call a certain command in the terminal via a
trigger?

Say for example, after every INSERT in a certain table, I would be calling a
script `php load.php` ?


Thanks,

Ridvan

-- 
リヅバン バルヨス
ridvan(dot)baluyos(at)qualservcentral(dot)com
http://ridvan.baluyos.net
http://www.onxiam.com/people/rbaluyos

Registered Linux User #439466
Registered Ubuntu User #16034
Q: Have you heard of the Object-Oriented way to get wealthy?
A: Inheritance.

Responses

pgsql-novice by date

Next:From: A. KretschmerDate: 2008-08-08 07:55:06
Subject: Re: Calling an external command via triggers
Previous:From: Mark RobertsDate: 2008-08-07 21:59:46
Subject: Re: DB Analysis

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group