Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayill-0004kU-Jl for pgsql-admin@arkaria.postgresql.org; Fri, 06 May 2016 16:38:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ayill-0000te-3a for pgsql-admin@arkaria.postgresql.org; Fri, 06 May 2016 16:38:25 +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 1ayilk-0000sa-IC for pgsql-admin@postgresql.org; Fri, 06 May 2016 16:38:24 +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 1ayilh-0006G2-I4 for pgsql-admin@postgresql.org; Fri, 06 May 2016 16:38:24 +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 u46GcGaN005837; Fri, 6 May 2016 12:38:16 -0400 From: Tom Lane To: Alvaro Herrera cc: =?utf-8?B?T25kxZllaiBTdsSbdGzDrWs=?= , pgsql-admin@postgresql.org Subject: Re: Autovacuum of pg_database In-reply-to: <20160506161932.GA216183@alvherre.pgsql> References: <20160506161932.GA216183@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Fri, 06 May 2016 13:19:32 -0300" Date: Fri, 06 May 2016 12:38:16 -0400 Message-ID: <5836.1462552696@sss.pgh.pa.us> X-Pg-Spam-Score: -4.0 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Alvaro Herrera writes: > Tom Lane wrote: >> Actually, I realized after looking at it that the new wi_tableshared >> field is unnecessary in my patch. The only important part is that >> knowledge of relisshared be available when we're looking for conflicting >> workers, and that is entirely local in do_autovacuum(). I'd started the >> patch by adding wi_tableshared, on the expectation that it would be >> necessary, but it ain't ... > OK, if I understand you correctly then that is what my patch does -- the > "sharedrel" flag in my patch is only inside do_autovacuum. Do you > already have a test rig for this? I didn't attempt to replicate the problem report, if that's what you mean; I just tested it as far as running the regression tests. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin