pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Geoghegan <peter@2ndquadrant.com>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: wCTE cannot be used to update parent inheritance table
Date: Sun, 29 Jan 2012 15:52:12 -0500
Message-ID: <11927.1327870332@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEYLb_WN+yAktLYSgvp3U8K4D2FYqNzEdpERUQJthkgX6hoAcw@mail.gmail.com>
References: <4F2094A6.5090505@agliodbs.com>
	<10969.1327800430@sss.pgh.pa.us>
	<4F25A6DF.8080506@agliodbs.com>
	<CAEYLb_UHPgHN38cNjgYuQJnacspS7edAhOWcf4Nghu0Q-8S7pQ@mail.gmail.com>
	<4F25AE7C.6030907@agliodbs.com>
	<CAEYLb_WN+yAktLYSgvp3U8K4D2FYqNzEdpERUQJthkgX6hoAcw@mail.gmail.com>

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



view thread (12+ messages)  latest in thread

Message-ID: <11927.1327870332@sss.pgh.pa.us>
Permalink:  ../11927.1327870332@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11927.1327870332@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter@2ndquadrant.com, josh@agliodbs.com
  Subject: Re: wCTE cannot be used to update parent inheritance table
  In-Reply-To: <11927.1327870332@sss.pgh.pa.us>
  References: <4F2094A6.5090505@agliodbs.com> <10969.1327800430@sss.pgh.pa.us> <4F25A6DF.8080506@agliodbs.com> <CAEYLb_UHPgHN38cNjgYuQJnacspS7edAhOWcf4Nghu0Q-8S7pQ@mail.gmail.com> <4F25AE7C.6030907@agliodbs.com> <CAEYLb_WN+yAktLYSgvp3U8K4D2FYqNzEdpERUQJthkgX6hoAcw@mail.gmail.com> <11927.1327870332@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox