pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: PG-General Mailing List <pgsql-general@postgresql.org>
Subject: Re: Cheapest way to poll for notifications?
Date: Sat, 19 Dec 2009 15:24:53 +0800
Message-ID: <4B2C7FC5.4070201@postnewspapers.com.au> (raw)
In-Reply-To: <4B2267A9.1080302@postnewspapers.com.au>
References: <C746D04C.CAE15%scott_ribe@killerbytes.com>
	<4B2267A9.1080302@postnewspapers.com.au>

On 11/12/2009 11:39 PM, Craig Ringer wrote:

> As for the JDBC driver - it turns out that the documentation is
> out-of-date and/or misleading. The JDBC driver *does* support reading
> notifications the backend has pushed to its receive buffer, and does
> *not* have to poll the backend or issue a statement to receive
> notifications.

Update: The above is true only for non-SSL connections. For SSL 
connections you still have to send dummy statements.

--
Craig Ringer



view thread (9+ messages)

Message-ID: <4B2C7FC5.4070201@postnewspapers.com.au>
Permalink:  ../4B2C7FC5.4070201@postnewspapers.com.au/
Also on:    postgresql.org/message-id/4B2C7FC5.4070201@postnewspapers.com.au

 · 

reply

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: craig@postnewspapers.com.au, pgsql-general@postgresql.org
  Subject: Re: Cheapest way to poll for notifications?
  In-Reply-To: <4B2C7FC5.4070201@postnewspapers.com.au>
  References: <C746D04C.CAE15%scott_ribe@killerbytes.com> <4B2267A9.1080302@postnewspapers.com.au> <4B2C7FC5.4070201@postnewspapers.com.au>

* 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