Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

detect any update in remote postgresql table as an event

Status
Not open for further replies.

soongwoo

IS-IT--Management
Dec 9, 2006
1
KR
Hi,

I'm new to develop postgresql appl with VB6 under windows.

Here is my question:
My VB application is connecting to the remote PostgreSQL DB.
(The remote PostgreSQL DB server is running under Windows.)
I want to let my VB appl catch any changes of a specific table
in the remote PostgreSQL DB as a VB event.

Is it possible? If so or does equivalent action, please let me know how to do it.

Thanks in advance
soongwoo
 
Yes, I believe it is possible, but may be not directly. You can setup a TRIGGER or RULE to change something when your table has been updated.

If you setup PL/Perl, there maybe some open doors to access COM/VB Objects. Otherwise, PL/pgsql would have to update/insert records into a log or transaction table that would have to be checked by your VB app.

Gary
gwinn7
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top