pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: wCTE cannot be used to update parent inheritance table
Date: Sun, 29 Jan 2012 12:06:55 -0800
Message-ID: <4F25A6DF.8080506@agliodbs.com> (raw)
In-Reply-To: <10969.1327800430@sss.pgh.pa.us>
References: <4F2094A6.5090505@agliodbs.com>
	<10969.1327800430@sss.pgh.pa.us>

On 1/28/12 5:27 PM, Tom Lane wrote:
> Josh Berkus <josh@agliodbs.com> writes:
>> SUMMARY: if you attempt to UPDATE or DELETE FROM a parent table in an
>> inheritance relationship using a wCTE, you get the following error message:
>> 	ERROR:  could not find plan for CTE
> 
> Fixed, thanks for the report.

Should we add a regression test for this?

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



view thread (12+ messages)  latest in thread

Message-ID: <4F25A6DF.8080506@agliodbs.com>
Permalink:  ../4F25A6DF.8080506@agliodbs.com/
Also on:    postgresql.org/message-id/4F25A6DF.8080506@agliodbs.com

 · 

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: josh@agliodbs.com, tgl@sss.pgh.pa.us
  Subject: Re: wCTE cannot be used to update parent inheritance table
  In-Reply-To: <4F25A6DF.8080506@agliodbs.com>
  References: <4F2094A6.5090505@agliodbs.com> <10969.1327800430@sss.pgh.pa.us> <4F25A6DF.8080506@agliodbs.com>

* 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