From: David Gagnon <dgagnon@siunik.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: implementing asynchronous notifications
Date: Wed, 20 Apr 2005 11:59:46 -0400
Message-ID: <42667C72.9070708@siunik.com> (raw)
In-Reply-To: <4265A05C.6050302@opencloud.com>
References: <Pine.LNX.4.44.0504110519590.13042-200000@ns.surfnonstop.com>
<4265A05C.6050302@opencloud.com>
Hi,
I just read this thread. Wich seems really interesting. Is there an
example on how to use Async Notifies? I look at it a couple of months
ago and found it not sufficient for my needs. I need to implement a
notification mechanism to clear data from caches in my application on
data update.
Is this change allow me to do that .. ? That will be so nice :-)
If yes it's that possible to get a small example on how to use it.
Thanks!
/David
Oliver Jowett wrote:
>Andras Kadinger wrote:
>
>
>
>>PGConnection.getNotifies() now processes peding Async Notifies first - no
>>need to send polling queries to the server anymore. The result is zero
>>network traffic in the idle case.
>>
>>
>
>I've applied your latest patch (with some cosmetic editing and a
>testcase) to CVS HEAD. Thanks for implementing this!
>
>-O
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: dgagnon@siunik.com
Subject: Re: implementing asynchronous notifications
In-Reply-To: <42667C72.9070708@siunik.com>
References: <Pine.LNX.4.44.0504110519590.13042-200000@ns.surfnonstop.com> <4265A05C.6050302@opencloud.com> <42667C72.9070708@siunik.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox