Re: PostgreSQL Callback Mechanism

From: Antonio Fiol Bonnín <fiol(at)w3ping(dot)com>
To: Patrick Henry <damelibertad(at)mundomail(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL Callback Mechanism
Date: 2001-12-05 18:28:48
Message-ID: 3C0E6760.4030802@w3ping.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

not experienced on all that, but I'd suggest...

>PostgreSQL 7.1 Developer's Guide
>Ch. 4.2.4 Notification Responses, pg. 27
>
>>If a frontend issues a listen(1) command, the backend will send a
>>
>NotificationResponse message whenever a notify(1) command is executed for
>the same notification name.
>
>a notify(1) command executed by another client?
>
YES. (from other posts on this group)

>PostgreSQL 7.1 Programmer's Guide
>Ch. 1.5 Asynchronous Notification, pg 14
>
>>A backend registers its interest in a particular notification with the
>>
>LISTEN command...
>
>A backend? But you just said frontend!
>
Well, maybe...

>How do I make the PostgreSQL server notify me when my view (of the model)
>has changed?
>
I'd bet you can use TRIGGERs to NOTIFY a client that has previously
issued a LISTEN command.

>I'm reading the documentation with great anticipation; but anybody with
>personal experience may be able to direct me to the appropriate
>literature.
>
I can't tell you much more, as most I learnt was from this list. (Thank
you all!!!)

Antonio Fiol

>
>
>Thanks,
>
>Patrick Henry, MCDL
>Brunswick Ohio, 44212 USA
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
>.
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert J. Sanford, Jr. 2001-12-05 18:52:04 grant on multiple tables?
Previous Message Kirk Strauser 2001-12-05 18:11:58 Re: I wrote a program to migrate Interbase -> PostgreSQL