Re: PANIC: unexpected hash relation size

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Csaba Kalman <csaba818(at)freemail(dot)hu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PANIC: unexpected hash relation size
Date: 2007-03-30 16:02:25
Message-ID: 20045.1175270545@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Csaba Kalman <csaba818(at)freemail(dot)hu> writes:
> I frequently get this error message:
> PANIC: unexpected hash relation size: X, should be Y
> There is no specific point where I get this error, it can occur anytime
> after a SELECT/INSERT/UPDATE. I've never got it after DELETE so far.

AFAICS this should only happen in INSERT/UPDATE, since it must be coming
from an attempt to insert an entry in a hash index. What's the exact
schema of this table including indexes?

> Is it a bug, or I'm doing something wrong?

It's a bug, but you've not provided enough information to let anyone
reproduce or fix it.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Listmail 2007-03-30 18:10:58 Re: Tsearch2 crashes my backend, ouch !
Previous Message William Gray 2007-03-30 15:43:08 Re: Some encoding trouble via libpq