pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedcache lookup for operator ...
3+ messages / 3 participants
[nested] [flat]
* cache lookup for operator ...
@ 2010-07-13 17:29 Deron <fecastle@gmail.com>
2010-07-13 17:39 ` Re: cache lookup for operator ... Kenneth Marshall <ktm@rice.edu>
2010-07-13 18:22 ` Re: cache lookup for operator ... Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 2 replies; 3+ messages in thread
From: Deron @ 2010-07-13 17:29 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: cache lookup for operator ...
2010-07-13 17:29 cache lookup for operator ... Deron <fecastle@gmail.com>
@ 2010-07-13 17:39 ` Kenneth Marshall <ktm@rice.edu>
1 sibling, 0 replies; 3+ messages in thread
From: Kenneth Marshall @ 2010-07-13 17:39 UTC (permalink / raw)
To: Deron <fecastle@gmail.com>; +Cc: pgsql-admin
On Tue, Jul 13, 2010 at 10:29:42AM -0700, Deron wrote:
> 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
Could it be the result of running an over 3 year old version of
8.2? Try checking the release notes for the last 13 releases and
see if any of the fixes might apply to your situation. I would
certainly upgrade to prevent future problems and data loss. There
are good reasons for all of the point releases for the major
PostgreSQL releases. Maybe someone else can remember details of
a problem such as yours.
Good luck.
Ken
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: cache lookup for operator ...
2010-07-13 17:29 cache lookup for operator ... Deron <fecastle@gmail.com>
@ 2010-07-13 18:22 ` Tom Lane <tgl@sss.pgh.pa.us>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2010-07-13 18:22 UTC (permalink / raw)
To: Deron <fecastle@gmail.com>; +Cc: pgsql-admin
Deron <fecastle@gmail.com> writes:
> 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
Evidently you had corruption in the pg_operator catalog. If you were
lucky, a REINDEX of pg_operator might have fixed it, but unless you kept
a physical copy of the corrupted database there's no way to investigate
further now.
8.2.4 is extremely out of date btw, you should be using 8.2.17 or
something close to that.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2010-07-13 18:22 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-07-13 17:29 cache lookup for operator ... Deron <fecastle@gmail.com>
2010-07-13 17:39 ` Kenneth Marshall <ktm@rice.edu>
2010-07-13 18:22 ` Tom Lane <tgl@sss.pgh.pa.us>
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