cache lookup for operator ... - Mailing list pgsql-admin

From Deron
Subject cache lookup for operator ...
Date
Msg-id AANLkTinI7mYaqvKVDwTNuHjhfH9UqvGxuGKSuynbpZRY@mail.gmail.com
Whole thread Raw
Responses Re: cache lookup for operator ...  (Kenneth Marshall <ktm@rice.edu>)
Re: cache lookup for operator ...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Hello,
 
I am trying to determine what might cause an issue like this.   This was a large (several hundred GB) data warehouse server with PG 8.2.4.   I can't really determine what caused this issue.  We ended up restoring the data from a backup.
 
Here are some of the errors in the log:

postmaster.1:Jul 11 14:13:36  postgres[18051]: [8-1] ERROR: cache lookup failed for operator 660

postmaster.1:Jul 11 15:27:00  postgres[26428]: [2-1] ERROR: cache lookup failed for operator 93

Attempting to list the tables using psql:

#\dt

ERROR:  operator does not exist: oid = oid

LINE 6:      JOIN pg_catalog.pg_roles r ON r.oid = c.relowner

                                                 ^

HINT:  No operator matches the given name and argument type(s). You may need to add explicit type casts.

Deron

pgsql-admin by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: upgrade postgres 8.1.21 to version 8.3.6
Next
From: Kenneth Marshall
Date:
Subject: Re: cache lookup for operator ...