From: | jason_donmoyer(at)chiinc(dot)com |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Best mechanism for change notification |
Date: | 2002-03-06 20:20:58 |
Message-ID: | E8243264102C7348B37A8C0C90443739759253@pa.CHIINC.COM |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello all,
I'm interested in writing a C++ client for postgres which needs the ability
to receive notification any time a value in the database, which the client
deems important, changes (this can theoretically be any value in any column
of the database). The conditions for this notification may change
frequently over the course of the programs execution. What mechanisms exist
in postgres to do this (I've briefly looked at triggers and Listen/Notify,
just want to make sure I'm not missing something)? Which method is the most
efficient, considering the constant need to update the trigger condition (or
is it best to delete the old trigger and create a new one each time)?
Thanks for your assistance,
Jason Donmoyer
From | Date | Subject | |
---|---|---|---|
Next Message | Eric Webber | 2002-03-06 20:27:46 | ODBC from win2k to postgres on Linux HELL |
Previous Message | Doug McNaught | 2002-03-06 19:57:52 | Re: Compiling problems |