Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1duM7Z-0003kn-RL for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Sep 2017 17:15:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1duM7Z-0006bO-9U for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Sep 2017 17:15:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1duM7Y-0006ad-AT for pgsql-hackers@postgresql.org; Tue, 19 Sep 2017 17:15:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1duM7Q-0003RT-U1 for pgsql-hackers@postgresql.org; Tue, 19 Sep 2017 17:15:39 +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 v8JHFS19019646; Tue, 19 Sep 2017 13:15:28 -0400 From: Tom Lane To: Andres Freund cc: Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: Re: [COMMITTERS] pgsql: Perform only one ReadControlFile() during startup. In-reply-to: <20170919170821.drrwlt6wcoytlgup@alap3.anarazel.de> References: <20170916202705.lhszupzi3s4iaxy6@alap3.anarazel.de> <20170917080752.rcmihzfmgbeuqjk2@alap3.anarazel.de> <20170918103213.nhlmfh5v3qrgoskg@alap3.anarazel.de> <20170918180439.mgxvnbmxzb6br57t@alap3.anarazel.de> <20170919161012.i3j4ugktf2xkr4kb@alap3.anarazel.de> <17513.1505838240@sss.pgh.pa.us> <20170919165111.bsocu7ev2oaox4mx@alap3.anarazel.de> <20170919170821.drrwlt6wcoytlgup@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Tue, 19 Sep 2017 10:08:21 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19644.1505841328.1@sss.pgh.pa.us> Date: Tue, 19 Sep 2017 13:15:28 -0400 Message-ID: <19645.1505841328@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: > On 2017-09-19 13:00:33 -0400, Robert Haas wrote: >> You mean, in the postmaster? > Yes. We try to avoid touch shmem there, but it's not like we're > succeeding fully. See e.g. the pgstat_get_crashed_backend_activity() > calls (which do rely on shmem being ok to some extent), pmsignal, > BackgroundWorkerStateChange(), ... Well, the point is to avoid touching data structures that could be corrupted enough to confuse the postmaster. I don't have any problem with adding some more functionality to pmsignal, say. 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