Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group