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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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