Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avAal-0008B4-7U for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Apr 2016 21:32:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1avAak-0001Dy-DK for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Apr 2016 21:32:22 +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.84_2) (envelope-from ) id 1avAac-00016v-L5 for pgsql-hackers@postgresql.org; Tue, 26 Apr 2016 21:32:14 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1avAaZ-0006ZA-Hk for pgsql-hackers@postgresql.org; Tue, 26 Apr 2016 21:32:13 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 03D6121286 for ; Tue, 26 Apr 2016 17:32:10 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Tue, 26 Apr 2016 17:32:10 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=b0ASD02Vwh2bD7I46dXpvandnmg=; b=phKzD RAlNlJyxACuzQFwCO2q/QaLjaUzbv/dGgiJ46LsxEiSM15oIaqlsnG4/y7fkvraW vliX/yVv+JzLGiKKg9XzPFYZBO6ospZAX/KJlLF5/1bmwQfDOdBhDKkcMASZislr BFsRJa0vEorxSDmr8mB9Rc4n2Nnj6IWiYO0ki0= X-Sasl-enc: sTpBgtUq+OkHsiEU7UBZLAst7faDj0d4Ivr6Wa5Yhh7z 1461706329 Received: from intern.anarazel.de (unknown [162.217.75.74]) by mail.messagingengine.com (Postfix) with ESMTPA id F07A0C0001D; Tue, 26 Apr 2016 17:32:08 -0400 (EDT) Date: Tue, 26 Apr 2016 14:32:07 -0700 From: Andres Freund To: Robert Haas Cc: Abhijit Menon-Sen , Michael Paquier , Haribabu Kommi , Thom Brown , Fabien COELHO , "pgsql-hackers@postgresql.org" Subject: Re: [BUGS] Breakage with VACUUM ANALYSE + partitions Message-ID: <20160426213207.j3xi2amneejm3ed6@alap3.anarazel.de> References: <20160414053929.GA29751@toroid.org> <20160422170736.bjrsusb4ubdhdtl4@alap3.anarazel.de> <20160425155627.e4yk72bm2naisesz@alap3.anarazel.de> <20160425180521.2g6o4tgpkc3jneyj@alap3.anarazel.de> <20160425205720.i2ldnkwj6a2ldz7g@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -2.6 (--) 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 On 2016-04-26 17:25:18 -0400, Robert Haas wrote: > On Mon, Apr 25, 2016 at 4:57 PM, Andres Freund wrote: > > On 2016-04-25 16:29:36 -0400, Robert Haas wrote: > >> On Mon, Apr 25, 2016 at 2:05 PM, Andres Freund wrote: > >> > Well, I posted a patch. I'd have applied it too (after addressing your > >> > comments obviously), except that there's some interdependencies with the > >> > nsmg > 0 thread (some of my tests fail spuriously without that > >> > fixed). Early last week I waited for a patch on that thread, but when > >> > that didn't materialize by Friday I switched to work on that [1]. With > >> > both fixes applied I can't reproduce any problems anymore. > >> > >> OK. What are the interdependencies? You've said that a few times but > >> I am not clear on what the nature of those interdependencies is. > > > > I added checks to smgr/md.c that verify that the smgr state is > > consistent with the on-file state. Without the two issues in [1] fixed, > > these tests fail in a standby, while running regression tests. Adding > > those tests made me notice a bug in an unreleased version of the patch, > > so it seems they're worthwhile to run. > > Footnote [1] is used, but not defined. Oops, it's the thread you replied too.. > I think it makes sense to go ahead and push this fix rather soon. Will do. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers