Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b4vQe-0007Qj-5Q for pgsql-hackers@arkaria.postgresql.org; Mon, 23 May 2016 19:22:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b4vQd-000395-NR for pgsql-hackers@arkaria.postgresql.org; Mon, 23 May 2016 19:22:15 +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 1b4vQd-00038y-0S for pgsql-hackers@postgresql.org; Mon, 23 May 2016 19:22:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b4vQa-00065J-AY for pgsql-hackers@postgresql.org; Mon, 23 May 2016 19:22:13 +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 u4NJM7PG018384; Mon, 23 May 2016 15:22:07 -0400 From: Tom Lane To: Peter Geoghegan cc: Thomas Alton , Pg Hackers Subject: Re: Re: [BUGS] BUG #14153: Unrecognized node type error when upsert is present in recursive CTE In-reply-to: References: <20160521232802.22598.13537@wrigleys.postgresql.org> Comments: In-reply-to Peter Geoghegan message dated "Mon, 23 May 2016 12:02:41 -0700" Date: Mon, 23 May 2016 15:22:07 -0400 Message-ID: <18383.1464031327@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) 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 Peter Geoghegan writes: > Attached patch fixes this issue by adding the appropriate > raw_expression_tree_walker handler. This isn't the first quasi-utility > node to need such a handler, so the fix is simple. It seems unlikely to me that recursing into the name lists is helpful here: those are not going to contain any data that is interpretable without context. Did you have a reason to do that? 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