Re: wCTE cannot be used to update parent inheritance table - Mailing list pgsql-bugs

From Tom Lane
Subject Re: wCTE cannot be used to update parent inheritance table
Date
Msg-id 11927.1327870332@sss.pgh.pa.us
Whole thread Raw
In response to Re: wCTE cannot be used to update parent inheritance table  (Peter Geoghegan <peter@2ndquadrant.com>)
Responses Re: wCTE cannot be used to update parent inheritance table  (Peter Geoghegan <peter@2ndquadrant.com>)
List pgsql-bugs
Peter Geoghegan <peter@2ndquadrant.com> writes:
> On 29 January 2012 20:39, Josh Berkus <josh@agliodbs.com> wrote:
>> Huh?  I don't follow you at all Peter.

> I mean that we should change code like this:
> elog(ERROR, "could not find plan for CTE \"%s\"", rte->ctename)
> to this:
> elog(INTERNAL_ERROR, "could not find plan for CTE \"%s\"", rte->ctename)

Seems like a lot of make-work.  The fact that it's got an XX000 SQLSTATE
is already sufficient confirmation that the problem is an internal one,
if the DBA isn't sure about that already.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: wCTE cannot be used to update parent inheritance table
Next
From: Tom Lane
Date:
Subject: Re: wCTE cannot be used to update parent inheritance table