Kaare Rasmussen <kar(at)kakidata(dot)dk> writes:
> I would like to notify a server whenever a certain table is updated.
What do you mean by "notify" exactly?
Perhaps you could have a background job that remains always connected to
the database, but sleeps waiting for a NOTIFY to arrive. A rule like
"ON UPDATE TO foo DO NOTIFY foo_changed" would serve to awaken it.
regards, tom lane