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 1fR1SW-0002Ye-6B for pgsql-committers@arkaria.postgresql.org; Thu, 07 Jun 2018 20:24:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fR1SU-0002Nw-Ky for pgsql-committers@arkaria.postgresql.org; Thu, 07 Jun 2018 20:24:34 +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 1fR1SU-0002Ng-CL for pgsql-committers@lists.postgresql.org; Thu, 07 Jun 2018 20:24:34 +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 1fR1SR-00057c-TI for pgsql-committers@lists.postgresql.org; Thu, 07 Jun 2018 20:24:33 +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 w57KOUuS002851; Thu, 7 Jun 2018 16:24:30 -0400 From: Tom Lane To: Simon Riggs cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Exclude VACUUMs from RunningXactData In-reply-to: References: Comments: In-reply-to Simon Riggs message dated "Thu, 07 Jun 2018 19:41:23 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2849.1528403070.1@sss.pgh.pa.us> Date: Thu, 07 Jun 2018 16:24:30 -0400 Message-ID: <2850.1528403070@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Simon Riggs writes: > Exclude VACUUMs from RunningXactData > GetRunningTransactionData() should ignore VACUUM procs because in some > cases they are assigned xids. Uh, what? Lazy vacuum shouldn't acquire an xid. If it does, that would suggest it's running code that it's unsafe for GetRunningTransactionData to ignore. regards, tom lane