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 14:09:01 |
Message-ID: | 459BB8FD.8030207@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
ramachandra(dot)bhaskaram(at)wipro(dot)com wrote:
> Hi Richard Huxton,
>
> Thank you for your kind response.
>
> Is there not any other way other than record the pkey in a
> "process_these" table and have the application check there. We want
> to minimise the database transactions to improve the DB performance.
>
> Can we send the exact data which has been changed using
> db-notify to the application? So that, the application can continue
> processing the data using the Notify message from the DB.
Not via your database connection.
With one of the untrusted languages (C, pl/perlu pl/pythonu etc) you
could do anything you could make a separate connection / write to a file
etc.
Does your application need to know *immediately* that a change in the
database has occurred?
--
Richard Huxton
Archonet Ltd
From | Date | Subject | |
---|---|---|---|
Next Message | ramachandra.bhaskaram | 2007-01-03 14:17:34 | Re: [SQL NOTIFY Help] sending NOTIFY to the external program |
Previous Message | ramachandra.bhaskaram | 2007-01-03 13:59:13 | Re: [SQL NOTIFY Help] sending NOTIFY to the external program |