Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m8Nat-0001gP-HO for pgsql-hackers@arkaria.postgresql.org; Tue, 27 Jul 2021 13:58:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m8Nar-0005mA-Ji for pgsql-hackers@arkaria.postgresql.org; Tue, 27 Jul 2021 13:58:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m8Nar-0005m2-C7 for pgsql-hackers@lists.postgresql.org; Tue, 27 Jul 2021 13:58:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m8Nam-0005Vy-Kh for pgsql-hackers@lists.postgresql.org; Tue, 27 Jul 2021 13:58:01 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 16RDvqSL263489; Tue, 27 Jul 2021 09:57:52 -0400 From: Tom Lane To: Alvaro Herrera cc: Pg Hackers Subject: Re: pg_settings.pending_restart not set when line removed In-reply-to: <202107262302.xsfdfc5sb7sh@alvherre.pgsql> References: <202107262302.xsfdfc5sb7sh@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Mon, 26 Jul 2021 19:02:12 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <263487.1627394272.1@sss.pgh.pa.us> Date: Tue, 27 Jul 2021 09:57:52 -0400 Message-ID: <263488.1627394272@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > You could argue that this is *weird* (why does reading pg_file_settings > set a flag in global state?) ... but that weirdness is not something > this patch is introducing. Ugh. I think this patch is likely to create more problems than it fixes. We should be looking to get rid of that flag, not make its behavior even more complex. regards, tom lane