Re: [HACKERS] Moving responsibility for logging "database system is shut down"

2016-02-10 Thread Simon Riggs
On 10 February 2016 at 22:39, Tom Lane wrote: > Robert Haas writes: > > On Wed, Feb 10, 2016 at 3:13 PM, Tom Lane wrote: > >> So I propose the attached patch. Any objections? Should this get > >> back-patched? It's arguably a bug, though surely a minor one, that > >> the message comes out wh

Re: [HACKERS] Moving responsibility for logging "database system is shut down"

2016-02-10 Thread Tom Lane
Robert Haas writes: > On Wed, Feb 10, 2016 at 3:13 PM, Tom Lane wrote: >> So I propose the attached patch. Any objections? Should this get >> back-patched? It's arguably a bug, though surely a minor one, that >> the message comes out when it does. > I would vote against a back-patch. And I k

Re: [HACKERS] Moving responsibility for logging "database system is shut down"

2016-02-10 Thread Robert Haas
On Wed, Feb 10, 2016 at 3:13 PM, Tom Lane wrote: > In our recent investigations of slow shutdown on some buildfarm members, > it became clear that "database system is shut down" can get logged many > seconds before the postmaster actually exits; the main cause of delay > is that the stats collecto

[HACKERS] Moving responsibility for logging "database system is shut down"

2016-02-10 Thread Tom Lane
In our recent investigations of slow shutdown on some buildfarm members, it became clear that "database system is shut down" can get logged many seconds before the postmaster actually exits; the main cause of delay is that the stats collector's final data dump can take awhile. This is pretty confu