Re: Cache lookup failed for relation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Péter Kovács <peter(dot)dunay(dot)kovacs(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, David Clymer <david(dot)clymer(at)vistashare(dot)com>
Subject: Re: Cache lookup failed for relation
Date: 2013-02-11 17:54:56
Message-ID: 23904.1360605296@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?UTF-8?B?UMOpdGVyIEtvdsOhY3M=?= <peter(dot)dunay(dot)kovacs(at)gmail(dot)com> writes:
> I'm confused by the error message. Is a cache miss an error condition?

Well, this isn't a "cache miss", it's more of a "there's no such OID in
the pg_class catalog" condition. Normally you see something more
user-friendly; but in the case of going to remove a cross-table linkage,
the code isn't expecting the other table to not be there, so you get a
pretty low-level error.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Wolfgang Keller 2013-02-11 18:02:35 Re: Visual query builder for PosgreSQL?
Previous Message Péter Kovács 2013-02-11 17:47:08 Re: Cache lookup failed for relation