Skip site navigation (1) Skip section navigation (2)

Re: wCTE cannot be used to update parent inheritance table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: wCTE cannot be used to update parent inheritance table
Date: 2012-01-29 20:53:25
Message-ID: 11954.1327870405@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Josh Berkus <josh(at)agliodbs(dot)com> writes:
> On 1/28/12 5:27 PM, Tom Lane wrote:
>> Josh Berkus <josh(at)agliodbs(dot)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

In response to

pgsql-bugs by date

Next:From: Peter GeogheganDate: 2012-01-29 21:19:20
Subject: Re: wCTE cannot be used to update parent inheritance table
Previous:From: Tom LaneDate: 2012-01-29 20:52:12
Subject: Re: wCTE cannot be used to update parent inheritance table

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group