Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 7CBC6133798E for ; Fri, 18 Feb 2011 15:02:43 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 18611-06 for ; Fri, 18 Feb 2011 19:02:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 169751336FA7 for ; Fri, 18 Feb 2011 15:02:34 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p1IJ2VTA012529; Fri, 18 Feb 2011 14:02:31 -0500 (EST) To: Euler Taveira de Oliveira cc: Jan-Peter Seifert , pgsql-bugs@postgresql.org, Bruce Momjian Subject: Re: BUG #5878: BTREE_BUILD_STATS causes 'make check' to fail In-reply-to: <4D5E7369.4050404@timbira.com> References: <201102101256.p1ACurU7089757@wwwmaster.postgresql.org> <4D5E7369.4050404@timbira.com> Comments: In-reply-to Euler Taveira de Oliveira message dated "Fri, 18 Feb 2011 10:26:01 -0300" Date: Fri, 18 Feb 2011 14:02:31 -0500 Message-ID: <12528.1298055751@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201102/166 X-Sequence-Number: 29438 Euler Taveira de Oliveira writes: > Em 10-02-2011 09:56, Jan-Peter Seifert escreveu: >> However, as long as I have BTREE_BUILD_STATS defined, 'make check' fails on >> me with the following message: > It is a bug. The attached patch fixes it. I didn't investigate when it was > broken; maybe one or two releases ago when someone reorganizes the header > files. Those debug macros deserve a refactor but nobody bothers to do it yet. Confirmed here, will apply. I'll bet lunch that it got broken in Bruce's last "remove unnecessary #includes" patch --- the process he uses for that is utterly incapable of dealing with inclusions that are needed only in certain cases. regards, tom lane