From: Kevin Seghetti <kts@tenetti.org>
To: pgsql-admin@postgresql.org
Subject: Need help with corrupt pg_statistic
Date: Thu, 29 Sep 2005 17:42:16 -0700
Message-ID: <1128040936.31315.378.camel@talia.localdomain> (raw)
I am using postgres 7.4.5, and have a corrupt pg_statistic.
Many commands cause the following error:
ERROR: invalid page header in block 10 of relation "pg_statistic"
I want to preserve my data if at all possible, I figured I would just
dump the database and reload it. I tried
pg_dump, but it gives me:
pg_dump: query to obtain list of data types failed: ERROR: invalid page header in block 11 of relation "pg_statistic"
even if I just try to dump a single table.
I tried postgres in single-user mode:
delete from pg_statistic
gives me the same error
drop table pg_statistic
gives me
ERROR: permission denied: "pg_statistic" is a system catalog
Is there any way to nuke pg_statistic (since its contents can be
recalculated anyway?)
Thanks,
--
Kevin Seghetti: E-Mail: kts@tenetti.org, HTTP: www.tenetti.org
GPG public key: http://tenetti.org/cgi-bin/twiki/view.cgi/KevinSeghetti/GPGKey
Check out www.worldfoundry.org for my GPL'ed 3D video game engine
Copyright is a temporary loan from the public domain, not property
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: kts@tenetti.org
Subject: Re: Need help with corrupt pg_statistic
In-Reply-To: <1128040936.31315.378.camel@talia.localdomain>
References: <1128040936.31315.378.camel@talia.localdomain>
* 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