Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5exY-0007DS-DJ for pgsql-hackers@arkaria.postgresql.org; Wed, 25 May 2016 19:59:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b5exW-0008CB-Iz for pgsql-hackers@arkaria.postgresql.org; Wed, 25 May 2016 19:59:14 +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 1b5exV-00089C-06 for pgsql-hackers@postgresql.org; Wed, 25 May 2016 19:59:13 +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 1b5exS-0005PQ-0f for pgsql-hackers@postgresql.org; Wed, 25 May 2016 19:59:12 +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 u4PJx1EL007990; Wed, 25 May 2016 15:59:01 -0400 From: Tom Lane To: Michael Paquier cc: Jim Nasby , Peter Eisentraut , pgsql-hackers Subject: Re: statistics for shared catalogs not updated when autovacuum is off In-reply-to: References: <56AD41AC.1030509@gmx.net> <56AF7093.7070804@BlueTreble.com> <56B0044C.1030001@gmx.net> <56B00898.4010409@BlueTreble.com> <20040.1464130339@sss.pgh.pa.us> Comments: In-reply-to Michael Paquier message dated "Wed, 25 May 2016 12:48:53 -0700" Date: Wed, 25 May 2016 15:59:01 -0400 Message-ID: <7989.1464206341@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) 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 Michael Paquier writes: > On Tue, May 24, 2016 at 3:52 PM, Tom Lane wrote: >> True, although I'm not sure if adding a dependency on IsSharedRelation() >> here is a good thing. In any case, you took the dependency too far ... > OK. It seemed more simple to me to have the dependency on catalog.h to > avoid two lookups. But I won't fight for it either. Well, it might be worth doing, but I think it's a distinct patch. > I am going to look at the second patch you sent. OK. I'm going to work on replacing the DBWriteRequest structure with an OID list, and on improving the comments some more, but I don't anticipate further functional changes. 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