pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: FM <dist-list@LEXUM.UMontreal.CA>
To: Mailing List Postgres-Admin <pgsql-admin@postgresql.org>
Subject: corruption since 7.4.13 update ?
Date: Wed, 05 Jul 2006 16:18:54 -0400
Message-ID: <44AC1EAE.9030305@lexum.umontreal.ca> (raw)

Hello,
I'e got a very strange (scary) problem.
Look at that  :

itu_test-# \d
ERROR:  cache lookup failed for relation 1024
itu_test=# \q

[user@varese ~]$ psql -h pisa itu_test
itu_test=# \d
ERROR:  cache lookup failed for relation 1024

itu_test=# select * from zones;
 zone_id | code | region_id
---------+------+-----------
       1 | can  |         1
(1 row)

itu_test=# \d zones;
ERROR:  cache lookup failed for relation 1024

itu_test=# drop table zones cascade;
NOTICE:  drop cascades to constraint fk894f2383638e21c5 on table
zones_localized
NOTICE:  drop cascades to constraint fk2f1483ad638e21c5 on table
resources_zones
NOTICE:  drop cascades to constraint fk6ca02e89638e21c5 on table
regulator_zones
NOTICE:  drop cascades to constraint fkfe5f0292638e21c5 on table regulators
DROP TABLE

itu_test=# \d
ERROR:  cache lookup failed for relation 1024

itu_test=# VACUUM ANALYZE;
ERROR:  could not open segment 1 of relation "pg_class_oid_index"
(target block 1702494308): No such file or directory

itu_test=# REINDEX DATABASE itu_test;
NOTICE:  table "pg_class" was reindexed
(...)
NOTICE:  table "pg_language" was reindexed
ERROR:  could not read block 81235 of relation "pg_largeobject":
Input/output error

itu_test=# \d
ERROR:  cache lookup failed for relation 1024

itu_test=# reindex table pg_class;
REINDEX

itu_test=# VACUUM ANALYZE;
WARNING:  relation "pg_class" TID 12638/1: OID is invalid
(...)
WARNING:  relation "pg_class" TID 12638/24: OID is invalid
ERROR:  cannot compare arrays of different element types

itu_test=# \d
                      List of relations
 Schema |             Name             |   Type   |  Owner
--------+------------------------------+----------+----------
 public | categories                   | table    | soft_itu
(...)
public | zones_localized              | table    | soft_itu
(51 rows)




view thread (2+ messages)  latest in thread

Message-ID: <44AC1EAE.9030305@lexum.umontreal.ca>
Permalink:  ../44AC1EAE.9030305@lexum.umontreal.ca/
Also on:    postgresql.org/message-id/44AC1EAE.9030305@lexum.umontreal.ca

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: dist-list@LEXUM.UMontreal.CA
  Subject: Re: corruption since 7.4.13 update ?
  In-Reply-To: <44AC1EAE.9030305@lexum.umontreal.ca>
  References: <44AC1EAE.9030305@lexum.umontreal.ca>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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