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

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 (view raw or flat)
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

pgsql-bugs by date

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

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