Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fzlV9-0007hS-Ew for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Sep 2018 16:26:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fzlV7-00063k-B6 for pgsql-hackers@arkaria.postgresql.org; Tue, 11 Sep 2018 16:26:53 +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.89) (envelope-from ) id 1fzlV6-00063Y-SM for pgsql-hackers@lists.postgresql.org; Tue, 11 Sep 2018 16:26:52 +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.89) (envelope-from ) id 1fzlV3-0005fI-OY for pgsql-hackers@lists.postgresql.org; Tue, 11 Sep 2018 16:26:51 +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 w8BGQipY004998; Tue, 11 Sep 2018 12:26:44 -0400 From: Tom Lane To: Andres Freund cc: Simon Riggs , Robert Haas , Jeff Janes , PostgreSQL Hackers Subject: Re: StandbyAcquireAccessExclusiveLock doesn't necessarily In-reply-to: <20180911162037.7nbfsr5gaaaramjg@alap3.anarazel.de> References: <6202.1536359835@sss.pgh.pa.us> <22379.1536675935@sss.pgh.pa.us> <20180911152929.7xo4qgb3eyz6djfu@alap3.anarazel.de> <28427.1536681824@sss.pgh.pa.us> <20180911161232.d6ajdhkbss7vdeky@alap3.anarazel.de> <29306.1536682739@sss.pgh.pa.us> <20180911162037.7nbfsr5gaaaramjg@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Tue, 11 Sep 2018 09:20:37 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4996.1536683204.1@sss.pgh.pa.us> Date: Tue, 11 Sep 2018 12:26:44 -0400 Message-ID: <4997.1536683204@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > On 2018-09-11 12:18:59 -0400, Tom Lane wrote: >> Doesn't matter: startup would hit a lock conflict and cancel the pg_dump >> to get out of it, long before approaching locktable full. > Only if all that's happening in the same database, which is far from a > given. Well, there remains the fact that we've seen no field reports that seem to trace to failure-to-acquire-AEL since 9.6 came out. So arguing that this *could* be a probable scenario fails to comport with the available evidence. My inclination is to fix it as I've suggested and wait to see if there are field complaints before expending a whole lot of effort to create a better solution. In any case, I am not willing to create that better solution myself, and neither is Robert; are you? regards, tom lane