On Saturday 27 September 2003 20:17, Bruce Momjian wrote:
> Richard Huxton wrote:
> I have been thinking it might be time to start allowing external
> programs to be called when certain events occur that require
> administrative attention --- this would be a good case for that.
> Administrators could configure shell scripts to be run when the network
> connection fails or servers drop off the network, alerting them to the
> problem. Throwing things into the server logs isn't _active_ enough.
I would say calling events from external libraries would be a good extension.
That could allow for extending postgresql in novel way. e.g. calling a
logrecord copy event after a WAL record is written for near real time
replication..:-)
Shridhar