From: iceDice <nmilasinovic@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: PostgreSQL_db_change_notification
Date: Mon, 6 Jul 2009 10:57:27 -0700 (PDT)
Message-ID: <24360061.post@talk.nabble.com> (raw)
Hello,
Does PostgreSQL supports some database change notification mechanism?
I have Java Swing application and PostgreSQL database for storing data.
The problem is that my database can change at any moment and instead of
querying
the database every 5 seconds, I would like the database to some how send my
application
a notification of a change when it happens.
I would appreciate if someone can give me example how to accomplish it
between JDBC and PostgreSQL.
Thanks.
--
View this message in context: http://www.nabble.com/PostgreSQL_db_change_notification-tp24360061p24360061.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.
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: nmilasinovic@gmail.com
Subject: Re: PostgreSQL_db_change_notification
In-Reply-To: <24360061.post@talk.nabble.com>
References: <24360061.post@talk.nabble.com>
* 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