Re: Calling external program from trigger

From: Kaare Rasmussen <kar(at)kakidata(dot)dk>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Calling external program from trigger
Date: 2003-05-20 19:29:49
Message-ID: 200305202129.50126.kar@kakidata.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

HI

This may be more directed to Bruce or any other Perl maintainer.

Looking at Pgperl it seems very simple:

while (1) {
$conn->consumeInput;
($table, $pid) = $conn->notifies;
last if $pid;
}

consumeInput will wait until something happens and we check if it is a
notification.

But can the same be doen with DBD::Pg?

--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2501
Howitzvej 75 Åben 12.00-18.00 Email: kar(at)kakidata(dot)dk
2000 Frederiksberg Lørdag 12.00-16.00 Web: www.suse.dk

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2003-05-20 19:32:55 Re: Heads up: 7.3.3 this Wednesday
Previous Message Jason Tishler 2003-05-20 19:24:55 Win32 PostgreSQL support for XP's Fast User Switching