pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Geoghegan <pg@heroku.com>
Cc: Thomas Alton <thomas.alton@gmail.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Re: [BUGS] BUG #14153: Unrecognized node type error when upsert is present in recursive CTE
Date: Mon, 23 May 2016 19:11:29 -0400
Message-ID: <2423.1464045089@sss.pgh.pa.us> (raw)
In-Reply-To: <27861.1464040417@sss.pgh.pa.us>
References: <20160521232802.22598.13537@wrigleys.postgresql.org>
	<CAM3SWZShRP+B29M81B=3-F68bYWSeSrpgpaZ_cOpA63XasicPQ@mail.gmail.com>
	<CAM3SWZTuzNykt0gz=mdG9e5hVXvBC-JocKfEuEbU7SvRKH8B6Q@mail.gmail.com>
	<18383.1464031327@sss.pgh.pa.us>
	<CAM3SWZSWjLPn+_T1A_WKZnRe_pcG+KQ7fk8ZFZ1jyJZk0SrjhA@mail.gmail.com>
	<20096.1464032918@sss.pgh.pa.us>
	<CAM3SWZTwROYTfeJGA0W9=_3=hX_CP2U7fdpe_KnaJGRoxe3vVA@mail.gmail.com>
	<22866.1464036949@sss.pgh.pa.us>
	<CAM3SWZRBqH+56a7fo5EmfY41rqPeQxECG-NjL81CNL0+oexEHQ@mail.gmail.com>
	<27861.1464040417@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

I wrote:
> Peter Geoghegan <pg@heroku.com> writes:
>>> If that sounds like a plausible choke-point, the next question is what
>>> to use to enable the debug test.  I propose "#ifdef COPY_PARSE_PLAN_TREES"
>>> since that enables similar sanity checking for other parts of
>>> backend/nodes/, and we do have at least one buildfarm member using it.

>> That's what I was thinking, too. No need to keep it separate.

> After cogitating, I did it as attached just for readability's sake.

And after further thought, I decided that that was penny-wise and
pound-foolish; it's more readable if the #define is just an independent
pg_config_manual.h entry.  The only work it'd save is the need to update
a buildfarm animal or two to add the new #define, which is not exactly
a huge cost.

			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



view thread (14+ messages)  latest in thread

Message-ID: <2423.1464045089@sss.pgh.pa.us>
Permalink:  ../2423.1464045089@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2423.1464045089@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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pg@heroku.com, thomas.alton@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [BUGS] BUG #14153: Unrecognized node type error when upsert is present in recursive CTE
  In-Reply-To: <2423.1464045089@sss.pgh.pa.us>
  References: <20160521232802.22598.13537@wrigleys.postgresql.org> <CAM3SWZShRP+B29M81B=3-F68bYWSeSrpgpaZ_cOpA63XasicPQ@mail.gmail.com> <CAM3SWZTuzNykt0gz=mdG9e5hVXvBC-JocKfEuEbU7SvRKH8B6Q@mail.gmail.com> <18383.1464031327@sss.pgh.pa.us> <CAM3SWZSWjLPn+_T1A_WKZnRe_pcG+KQ7fk8ZFZ1jyJZk0SrjhA@mail.gmail.com> <20096.1464032918@sss.pgh.pa.us> <CAM3SWZTwROYTfeJGA0W9=_3=hX_CP2U7fdpe_KnaJGRoxe3vVA@mail.gmail.com> <22866.1464036949@sss.pgh.pa.us> <CAM3SWZRBqH+56a7fo5EmfY41rqPeQxECG-NjL81CNL0+oexEHQ@mail.gmail.com> <27861.1464040417@sss.pgh.pa.us> <2423.1464045089@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