Re: question on Postgres smart shutdown mode

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: wei sun <wei(dot)sun(dot)ws(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: question on Postgres smart shutdown mode
Date: 2015-02-13 22:18:20
Message-ID: CA+TgmoZ00sUXfP_FQ=ZgLDLd1zG0riBjk2b8Nc6Awzfq6O6HvQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Feb 13, 2015 at 2:15 AM, wei sun <wei(dot)sun(dot)ws(at)gmail(dot)com> 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2015-02-13 22:33:05 Re: [HACKERS] question on Postgres smart shutdown mode
Previous Message Robert Haas 2015-02-13 22:13:06 Re: assessing parallel-safety