Re: ERROR: unexpected hash relation size: - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: ERROR: unexpected hash relation size:
Date
Msg-id 20070702144751.GD12254@svana.org
Whole thread Raw
In response to ERROR: unexpected hash relation size:  (Gerhard Hintermayer <g.hintermayer@inode.at>)
Responses Re: ERROR: unexpected hash relation size:
List pgsql-general
On Mon, Jul 02, 2007 at 11:46:54AM +0200, Gerhard Hintermayer wrote:
> ... x should be y
>
> I do get these messages one 2 of my servers running mostly on identical
> data. The servers are unix-based and are running 8.1.8 under linux (Gentoo).
> On one server the message appears only after vacuum-ing, on the other I
> had some errors after inserting into the table too (about 12 inserts, no
> more messages except while vacuuming since then)

Has the server crashed recently? Hash indexes are known not to be crash
safe. Using REINDEX on the index should fix it.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-general by date:

Previous
From: Rajarshi Guha
Date:
Subject: tables are not listable by \dt
Next
From: Michael Fuhr
Date:
Subject: Re: tables are not listable by \dt