question on Postgres smart shutdown mode
question on Postgres smart shutdown mode
От:
wei sun <wei.sun.ws@gmail.com>
Дата:
Hi All,
I have a question on PG smart shutdown mode.
When shutdown Postgres by issuing Smart Shutdown mode (SIGTERM) request, is there a way for client to be notified of this shutdown event? I tried PG_NOTIFY, but I cannot get any notification events when this happens. BTW, I am relative new to Postgres.
Thanks,
Wei
Re: question on Postgres smart shutdown mode
От:
Robert Haas <robertmhaas@gmail.com>
Дата:
On Fri, Feb 13, 2015 at 2:15 AM, wei sun wrote: > I have a question on PG smart shutdown mode. > > When shutdown Postgres by issuing Smart Shutdown mode (SIGTERM) request, is > there a way for client to be notified of this shutdown event? I tried > PG_NOTIFY, but I cannot get any notification events when this happens. BTW, > I am relative new to Postgres. Unfortunately, no, there isn't a way for the client to be notified. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company