Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6FEF-0000sd-Tm for pgsql-committers@arkaria.postgresql.org; Tue, 19 Mar 2019 13:56:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h6FEE-0006HK-B2 for pgsql-committers@arkaria.postgresql.org; Tue, 19 Mar 2019 13:56:30 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6FEE-0006HD-5F for pgsql-committers@lists.postgresql.org; Tue, 19 Mar 2019 13:56:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6FE5-0006DO-N7 for pgsql-committers@lists.postgresql.org; Tue, 19 Mar 2019 13:56:29 +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 x2JDuF2R009073; Tue, 19 Mar 2019 09:56:15 -0400 From: Tom Lane To: Masahiko Sawada cc: Michael Paquier , Robert Haas , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Revise parse tree representation for VACUUM and ANALYZE. In-reply-to: References: <13988.1552960403@sss.pgh.pa.us> <20190319020130.GA2899@paquier.xyz> Comments: In-reply-to Masahiko Sawada message dated "Tue, 19 Mar 2019 15:40:07 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9071.1553003775.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Mar 2019 09:56:15 -0400 Message-ID: <9072.1553003775@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Masahiko Sawada writes: > On Tue, Mar 19, 2019 at 11:01 AM Michael Paquier w= rote: >> On Mon, Mar 18, 2019 at 09:53:23PM -0400, Tom Lane wrote: >>> The buildfarm's not too happy with this, which I suspect traces >>> to the fact that you neglected to fix copyfuncs.c and equalfuncs.c. >> If you use -DDCOPY_PARSE_PLAN_TREES -DRAW_EXPRESSION_COVERAGE_TEST, I >> am pretty sure that you will be able to reproduce those failures. > Thank you for the information. I'll test with that options before > submitting a patch. You shouldn't really have needed the buildfarm to point you to doing that. *Any* change to Node structures requires looking into the backend/node/ files, i.e. copyfuncs.c, equalfuncs.c, outfuncs.c, readfuncs.c, nodeFuncs.c. There are some classes of Nodes that can get away without coverage in one or more of those, but certainly if you're changing an existing Node struct you should just grep to see if what you're changing is already mentioned in there. (I tend to just grep the entire tree, if practical, for references to a node structure that I'm changing.) regards, tom lane