Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dtHrJ-0001WB-Ly for pgsql-hackers@arkaria.postgresql.org; Sat, 16 Sep 2017 18:30:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dtHrJ-0002ZX-3u for pgsql-hackers@arkaria.postgresql.org; Sat, 16 Sep 2017 18:30:29 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dtHrH-0002YC-Ob for pgsql-hackers@postgresql.org; Sat, 16 Sep 2017 18:30:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dtHrE-0007s6-Rg for pgsql-hackers@postgresql.org; Sat, 16 Sep 2017 18:30:26 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v8GIUL8d023457; Sat, 16 Sep 2017 14:30:21 -0400 From: Tom Lane To: Andres Freund cc: pgsql-hackers@postgresql.org Subject: Re: Re: [COMMITTERS] pgsql: Perform only one ReadControlFile() during startup. In-reply-to: <20170916182634.blb7upixw7hosdhu@alap3.anarazel.de> References: <14134.1505572349@sss.pgh.pa.us> <20170916182634.blb7upixw7hosdhu@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sat, 16 Sep 2017 11:26:34 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23455.1505586621.1@sss.pgh.pa.us> Date: Sat, 16 Sep 2017 14:30:21 -0400 Message-ID: <23456.1505586621@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Andres Freund 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