Re: [HACKERS] question on Postgres smart shutdown mode

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: [HACKERS] question on Postgres smart shutdown mode
Дата
Msg-id 54DE7BA1.1060908@BlueTreble.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tim Uckun
Дата:
Сообщение: Re: What's a reasonable maximum number for table partitions?
Следующее
От: Bill Moran
Дата:
Сообщение: Re: What's a reasonable maximum number for table partitions?