Skip site navigation (1) Skip section navigation (2)

PostgreSQL_db_change_notification

From: iceDice <nmilasinovic(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: PostgreSQL_db_change_notification
Date: 2009-07-06 17:57:27
Message-ID: 24360061.post@talk.nabble.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
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.


Responses

pgsql-jdbc by date

Next:From: Greg StarkDate: 2009-07-06 18:27:55
Subject: Re: PostgreSQL_db_change_notification
Previous:From: Jamie DDate: 2009-07-06 00:55:27
Subject: setQueryTimeout

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group