pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lew <noone@lewscanon.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Client-Side triggers possible?
Date: Mon, 27 Dec 2010 10:25:49 -0500
Message-ID: <ifab54$25i$1@news.albasani.net> (raw)
In-Reply-To: <AANLkTik=xBuF8eKaCozU_CZ+ZDhs227O9J4Gp84u3N_e@mail.gmail.com>
References: <AANLkTinPZA4Ym66zgKppbAUiHu0o1GqbHtOoUB12huEZ@mail.gmail.com>
	<AANLkTik=xBuF8eKaCozU_CZ+ZDhs227O9J4Gp84u3N_e@mail.gmail.com>

Micka wrote:
> you should take a look at that :
http://jdbc.postgresql.org/documentation/head/listennotify.html

which tells us
> 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.

thus not fulfilling the OP's criterion that there be no polling:

Clemens Eisserer wrote:
>> Is there any way to get clients notified about data-changes
>> without polling?
>>
>> What I would need would be a client-side equivalent to triggers,
>> e.g. [sic] if one client inserts into a table all other interrested
>> clients should somehow get notified.

-- 
Lew
Ceci n'est pas une pipe.



view thread (8+ messages)  latest in thread

Message-ID: <ifab54$25i$1@news.albasani.net>
Permalink:  ../ifab54$25i$1@news.albasani.net/
Also on:    postgresql.org/message-id/ifab54$25i$1@news.albasani.net

 · 

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: noone@lewscanon.com
  Subject: Re: Client-Side triggers possible?
  In-Reply-To: <ifab54$25i$1@news.albasani.net>
  References: <AANLkTinPZA4Ym66zgKppbAUiHu0o1GqbHtOoUB12huEZ@mail.gmail.com> <AANLkTik=xBuF8eKaCozU_CZ+ZDhs227O9J4Gp84u3N_e@mail.gmail.com> <ifab54$25i$1@news.albasani.net>

* 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