Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9A0F6B5DBBD for ; Thu, 29 Sep 2011 20:21:13 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 68090-04 for ; Thu, 29 Sep 2011 23:21:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 06B59B5D801 for ; Thu, 29 Sep 2011 20:21:06 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p8TNL4os023438; Thu, 29 Sep 2011 19:21:04 -0400 (EDT) To: Peter Geoghegan cc: pgsql-bugs@postgresql.org Subject: Re: "no relation entry for relid 1" In-reply-to: References: <22184.1317334550@sss.pgh.pa.us> Comments: In-reply-to Peter Geoghegan message dated "Thu, 29 Sep 2011 23:50:13 +0100" Date: Thu, 29 Sep 2011 19:21:04 -0400 Message-ID: <23437.1317338464@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/242 X-Sequence-Number: 31259 Peter Geoghegan writes: > On 29 September 2011 23:15, Tom Lane wrote: >> Looks like I broke it here: >> http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=1cb108efb0e60d87e4adec38e7636b6e8efbeb57 > 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