Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 44DF21337BC3 for ; Mon, 27 Dec 2010 11:54:56 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 98820-05-4 for ; Mon, 27 Dec 2010 15:54:49 +0000 (UTC) Received: from news.hub.org (news.hub.org [200.46.204.72]) by mail.postgresql.org (Postfix) with ESMTP id 1E08A1337BB0 for ; Mon, 27 Dec 2010 11:54:44 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.4/8.14.4) with ESMTP id oBRFsheR029125 for ; Mon, 27 Dec 2010 11:54:43 -0400 (AST) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.4/8.14.4/Submit) id oBRFPNgg069975 for pgsql-jdbc@postgresql.org; Mon, 27 Dec 2010 11:25:23 -0400 (AST) (envelope-from news) From: Lew X-Newsgroups: pgsql.interfaces.jdbc Subject: Re: Client-Side triggers possible? Date: Mon, 27 Dec 2010 10:25:49 -0500 Organization: albasani.net Lines: 22 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: Cancel-Lock: sha1:GFyFH8uXjCbFSVu2FKFT6UsaZLw= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 Injection-Info: news.albasani.net; logging-data="GlGpITssE8jYYSwlzqtWN28/6YScbXhk+1kriniSjc+yyK3Xaq4TREYIdUaUDNhaCUEf3Mlfey3FLCCMVivSR3yU55fNOzQFsJy0aVKHdOuiaMAHRz5k0l44Lo25uyYa"; mail-complaints-to="abuse@albasani.net" To: pgsql-jdbc@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201012/78 X-Sequence-Number: 21316 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.