Re: [HACKERS] question on Postgres smart shutdown mode

2015-02-13 Thread Robert Haas
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 even

[HACKERS] question on Postgres smart shutdown mode

2015-02-13 Thread Bo Tian
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

[HACKERS] question on Postgres smart shutdown mode

2015-02-12 Thread wei sun
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