dbTalk Databases Forums  

cache lookup failed for relation

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss cache lookup failed for relation in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Michael Guerin
 
Posts: n/a

Default cache lookup failed for relation - 09-27-2004 , 11:28 PM






Last night our server crashed and now we're getting these cache lookup
errors. I've rebuilt the indexes on pg_attribute and pg_class, plus all
the user tables. Vacuum comes back clean, is there someplace else that
I should look? I'm assuming a pg_dump/restore will resolve my issues,
but I'm trying to understand whats going on. (version 7.4.2)

Thanks
Micahel


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: cache lookup failed for relation - 09-27-2004 , 11:59 PM






Michael Guerin <guerin (AT) rentec (DOT) com> writes:
Quote:
Last night our server crashed and now we're getting these cache lookup
errors.
"These" being what exactly? Let's see verbose error output (psql
\set VERBOSITY verbose), or even better a stack traceback from
errfinish.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)



Reply With Quote
  #3  
Old   
Michael Guerin
 
Posts: n/a

Default Re: cache lookup failed for relation - 09-28-2004 , 07:38 AM



The error jdbc is catching is:

Caused by: org.postgresql.util.PSQLException: ERROR: cache lookup failed for relation 357272221

when executing:

select * into temp table t from fnGetCompositeIds2(4130059995);

The unfortunate thing is that its not reproducible in psql, and only
shows up when a number of clients are going against the database. I'll
dig further for more information.

thanks
michael


Tom Lane wrote:

Quote:
Michael Guerin <guerin (AT) rentec (DOT) com> writes:


Last night our server crashed and now we're getting these cache lookup
errors.



"These" being what exactly? Let's see verbose error output (psql
\set VERBOSITY verbose), or even better a stack traceback from
errfinish.

regards, tom lane



---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.