Re: [GENERAL] NOTIFY command impact - Mailing list pgsql-general

From David G. Johnston
Subject Re: [GENERAL] NOTIFY command impact
Date
Msg-id CAKFQuwaynUk3YSvv0kRnE8EPGZrnDCGHfD5rVKC5rzpRgnEEnA@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] NOTIFY command impact  (Rob Brucks <rob.brucks@rackspace.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] NOTIFY command impact
Next
From: Tom Lane
Date:
Subject: Re: R: R: [GENERAL] Slow queries on very big (and partitioned) table