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

Josh Berkus <josh@agliodbs.com> writes:
> 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?

We did.  You could trouble to look at the commit before asking such
questions.

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <11954.1327870405@sss.pgh.pa.us>
Permalink:  ../11954.1327870405@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11954.1327870405@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, josh@agliodbs.com
  Subject: Re: wCTE cannot be used to update parent inheritance table
  In-Reply-To: <11954.1327870405@sss.pgh.pa.us>
  References: <4F2094A6.5090505@agliodbs.com> <10969.1327800430@sss.pgh.pa.us> <4F25A6DF.8080506@agliodbs.com> <11954.1327870405@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