Re: [HACKERS] question on Postgres smart shutdown mode - Mailing list pgsql-general

From Jim Nasby
Subject Re: [HACKERS] question on Postgres smart shutdown mode
Date
Msg-id 54DE7BA1.1060908@BlueTreble.com
Whole thread Raw
List pgsql-general
On 2/12/15 5:46 PM, Bo Tian 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.

-hackers is for development of PostgreSQL, not general questions. I'm
moving this to -general.

To answer your question, I don't believe there's any way to get
notification. At least, grepping for shutdown in src/backend doesn't
turn up anything obvious.
--
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com


pgsql-general by date:

Previous
From: Tim Uckun
Date:
Subject: Re: What's a reasonable maximum number for table partitions?
Next
From: Bill Moran
Date:
Subject: Re: What's a reasonable maximum number for table partitions?