Re: [HACKERS] Re: [COMMITTERS] pgsql: Perform only one ReadControlFile() during startup. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Re: [COMMITTERS] pgsql: Perform only one ReadControlFile() during startup.
Date
Msg-id 23456.1505586621@sss.pgh.pa.us
Whole thread Raw
In response to [HACKERS] Re: [COMMITTERS] pgsql: Perform only one ReadControlFile() duringstartup.  (Andres Freund <andres@anarazel.de>)
Responses Re: [HACKERS] Re: [COMMITTERS] pgsql: Perform only oneReadControlFile() during startup.
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> Looking into it.

I wonder whether we shouldn't just revert this patch altogether.
Certainly, extra reads of pg_control are not a noticeable performance
problem.  I'm now quite worried about whether we aren't introducing
hazards of using stale values from the file; if a system crash isn't
enough to get it to flush its cache, then what is?
        regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: [HACKERS] Re: [COMMITTERS] pgsql: Perform only one ReadControlFile() duringstartup.
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] Re: [COMMITTERS] pgsql: Perform only oneReadControlFile() during startup.