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: pgsql-bugs@postgresql.org
Subject: Re: "no relation entry for relid 1"
Date: Thu, 29 Sep 2011 19:21:04 -0400
Message-ID: <23437.1317338464@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEYLb_XpfhdaaEhJ4OmgbRZc-JGVt_OiDa7P3m55QBJbfKvxog@mail.gmail.com>
References: <CAEYLb_Wn2_6g7hJU=PHmo10qqFbrh5xyks2UmuhESeC143-+Xg@mail.gmail.com>
	<22184.1317334550@sss.pgh.pa.us>
	<CAEYLb_XpfhdaaEhJ4OmgbRZc-JGVt_OiDa7P3m55QBJbfKvxog@mail.gmail.com>

Peter Geoghegan <peter@2ndquadrant.com> writes:
> On 29 September 2011 23:15, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Looks like I broke it here:
>> http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=1cb108efb0e60d87e4adec38e7636b6e8e...

> Hmm. Although it was obvious to me that this was an internal error, I
> have to wonder what a novice would have made of it. Specifically, I
> wonder if there should be an INTERNAL_ERROR severity level, to
> explicitly advertise that you're not supposed to see this, and to help
> log analysis tools (including grep) bring these sorts of things to the
> DBA's attention, as they are surely much more severe than most errors
> seen in practice.

Well, the SQLSTATE for this sort of thing is already
ERRCODE_INTERNAL_ERROR.  As to whether it's more severe than other
errors, I'm not convinced.  It didn't crash, nor corrupt your data.

			regards, tom lane



view thread (8+ messages)

Message-ID: <23437.1317338464@sss.pgh.pa.us>
Permalink:  ../23437.1317338464@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23437.1317338464@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
  Subject: Re: "no relation entry for relid 1"
  In-Reply-To: <23437.1317338464@sss.pgh.pa.us>
  References: <CAEYLb_Wn2_6g7hJU=PHmo10qqFbrh5xyks2UmuhESeC143-+Xg@mail.gmail.com> <22184.1317334550@sss.pgh.pa.us> <CAEYLb_XpfhdaaEhJ4OmgbRZc-JGVt_OiDa7P3m55QBJbfKvxog@mail.gmail.com> <23437.1317338464@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