Re: wCTE cannot be used to update parent inheritance table

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: wCTE cannot be used to update parent inheritance table
Date: 2012-01-29 20:06:55
Message-ID: 4F25A6DF.8080506@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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?

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Geoghegan 2012-01-29 20:31:23 Re: wCTE cannot be used to update parent inheritance table
Previous Message Matteo Beccati 2012-01-29 15:16:06 Re: BUG #6416: Expression index not used with UNION ALL queries