pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Robert Haas <rhaas@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Revise parse tree representation for VACUUM and ANALYZE.
Date: Tue, 19 Mar 2019 09:56:15 -0400
Message-ID: <9072.1553003775@sss.pgh.pa.us> (raw)
In-Reply-To: <CAD21AoAJ+ZnHyn6bGf14Mu=oDAPGTA+_zXGRrH=h9ELCVkjw5Q@mail.gmail.com>
References: <E1h5xnY-00053W-Qz@gemulon.postgresql.org>
	<13988.1552960403@sss.pgh.pa.us>
	<20190319020130.GA2899@paquier.xyz>
	<CAD21AoAJ+ZnHyn6bGf14Mu=oDAPGTA+_zXGRrH=h9ELCVkjw5Q@mail.gmail.com>

Masahiko Sawada <sawada.mshk@gmail.com> writes:
> On Tue, Mar 19, 2019 at 11:01 AM Michael Paquier <michael@paquier.xyz> wrote:
>> 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




view thread (7+ messages)  latest in thread

Message-ID: <9072.1553003775@sss.pgh.pa.us>
Permalink:  ../9072.1553003775@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9072.1553003775@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, sawada.mshk@gmail.com, michael@paquier.xyz, rhaas@postgresql.org
  Subject: Re: pgsql: Revise parse tree representation for VACUUM and ANALYZE.
  In-Reply-To: <9072.1553003775@sss.pgh.pa.us>
  References: <E1h5xnY-00053W-Qz@gemulon.postgresql.org> <13988.1552960403@sss.pgh.pa.us> <20190319020130.GA2899@paquier.xyz> <CAD21AoAJ+ZnHyn6bGf14Mu=oDAPGTA+_zXGRrH=h9ELCVkjw5Q@mail.gmail.com> <9072.1553003775@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox