Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1et0rC-0002Mx-84 for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Mar 2018 00:53:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1et0rB-0000Nc-0z for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Mar 2018 00:53: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.89) (envelope-from ) id 1et0rA-0000NS-Mi for pgsql-hackers@lists.postgresql.org; Tue, 06 Mar 2018 00:53:28 +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.89) (envelope-from ) id 1et0r8-0007zM-6Q for pgsql-hackers@postgresql.org; Tue, 06 Mar 2018 00:53:27 +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 w260rNYO030312; Mon, 5 Mar 2018 19:53:23 -0500 From: Tom Lane To: Andres Freund cc: pgsql-hackers@postgresql.org Subject: Re: [COMMITTERS] pgsql: Fix inadequate locking during get_rel_oids(). In-reply-to: <20180306003409.qwwdgn3bw4ifi5s4@alap3.anarazel.de> References: <20180306001152.qxguen2kclystz7p@alap3.anarazel.de> <20180306003409.qwwdgn3bw4ifi5s4@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 05 Mar 2018 16:34:09 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30310.1520297603.1@sss.pgh.pa.us> Date: Mon, 05 Mar 2018 19:53:23 -0500 Message-ID: <30311.1520297603@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > Scratch that, we should be going down the > /* If caller supplied OID, there's nothing we need do here. */ > branch in expand_vacuum_rel() for autovacuum, so this shouldn't > matter. Sorry for the noise But you said you'd seen blocking behind AEL with NOWAIT, so there's still a problem for manual vacuums no? regards, tom lane