Re: [GENERAL] NOTIFY command impact

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: [GENERAL] NOTIFY command impact
Дата
Msg-id CAKFQuwaynUk3YSvv0kRnE8EPGZrnDCGHfD5rVKC5rzpRgnEEnA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] NOTIFY command impact  (Rob Brucks <rob.brucks@rackspace.com>)
Список pgsql-general
On Tue, Feb 21, 2017 at 3:47 PM, Rob Brucks <rob.brucks@rackspace.com> wrote:

If a notify is sent and then PG is immediately shut down, wouldn't PG want to save that message for processing after startup?

 

Or is the message just discarded?

 


​Adrian gave details but trying to figure out notification semantics across a system reboot seems like a headache for little benefit.​

Its likely assumed that upon first connection the client would eagerly load the relevant data - capturing the static state of the system at that time - and then only perform additional queries upon notification.

David J.

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] NOTIFY command impact
Следующее
От: Tom Lane
Дата:
Сообщение: Re: R: R: [GENERAL] Slow queries on very big (and partitioned) table