Re: [SQL NOTIFY Help] sending NOTIFY to the external program

From: Richard Huxton <dev(at)archonet(dot)com>
To: ramachandra(dot)bhaskaram(at)wipro(dot)com
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL NOTIFY Help] sending NOTIFY to the external program
Date: 2007-01-03 10:22:41
Message-ID: 459B83F1.9050609@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

ramachandra(dot)bhaskaram(at)wipro(dot)com wrote:
> Hi,
>
> In one of our project we are supposed to send the notifications
> regarding any row modifications in a perticular table to the external
> application which will be implementing the listen event for the same.
> We are using the postgress version 8.0.3.

> Can anybody clarify whether we can pass the primary key value of
> the record modified in the extra attribute of this structure?

Afraid not. You'll need to record the pkey in a "process_these" table
and have the application check there.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message ramachandra.bhaskaram 2007-01-03 13:59:13 Re: [SQL NOTIFY Help] sending NOTIFY to the external program
Previous Message ramachandra.bhaskaram 2007-01-03 09:35:47 [SQL NOTIFY Help] sending NOTIFY to the external program