Re: Questions about Listen/Notify mechanism

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: max <maxbox(at)directbox(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Questions about Listen/Notify mechanism
Date: 2010-07-18 22:15:02
Message-ID: 4C437CE6.2030508@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

max wrote:

> "A key limitation of the JDBC driver is that it cannot receive
> asynchronous notifications and must poll the backend to check if any
> notifications were issued."

The reason for this is that the driver does not have a separate I/O
thread, so the driver code is only running (and reading from the
database connection) when a query is run by the application.

-O

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Craig Ringer 2010-07-19 02:09:00 Re: Questions about Listen/Notify mechanism
Previous Message Mikael 2010-07-18 16:06:13 Re: Questions about Listen/Notify mechanism