Re: implementing asynchronous notifications - Mailing list pgsql-jdbc

From David Gagnon
Subject Re: implementing asynchronous notifications
Date
Msg-id 42667C72.9070708@siunik.com
Whole thread Raw
In response to Re: implementing asynchronous notifications  (Oliver Jowett <oliver@opencloud.com>)
Responses Is closing a ResulSet, Statement or connection act as a rollback when a transaction is not commited? Not clear in JavaDoc.
Re: implementing asynchronous notifications
List pgsql-jdbc
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)
>
>
>


pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: implementing asynchronous notifications
Next
From: David Gagnon
Date:
Subject: Is closing a ResulSet, Statement or connection act as a rollback when a transaction is not commited? Not clear in JavaDoc.