Re: Sync Rep v17
Jaime Casanova <jaime@2ndquadrant.com>
From: Jaime Casanova <jaime@2ndquadrant.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: Marti Raudsepp <marti@juffo.org>, Simon Riggs <simon@2ndquadrant.com>, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, pgsql-hackers@postgresql.org, Daniel Farina <daniel@heroku.com>
Date: 2011-02-19T23:33:44Z
Lists: pgsql-hackers
On Sat, Feb 19, 2011 at 6:05 PM, Bruce Momjian <bruce@momjian.us> wrote: > Marti Raudsepp wrote: >> On Sat, Feb 19, 2011 at 15:23, Bruce Momjian <bruce@momjian.us> wrote: >> > Sorry. ?I was thinking of allowing a command to alert an administrator >> > when we switch standby machines, or if we can't do synchronous standby >> > any longer. ?I assume we put a message in the logs, and the admin could >> > have a script that monitors that, but I thought a pager-like command >> > would be helpful >> >> For asynchronous notifications we already have LISTEN/NOTIFY. Perhaps >> that could be used? > > Well, those are going to require work to notify someone externally, like > send an email alert. > although, that seems the work for a monitor tool. -- Jaime Casanova www.2ndQuadrant.com Professional PostgreSQL: Soporte y capacitación de PostgreSQL