Re: problem with custom Gist for custom type

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Grzegorz Jaskiewicz <gj(at)pointblue(dot)com(dot)pl>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: problem with custom Gist for custom type
Date: 2005-10-26 15:48:19
Message-ID: 6742.1130341699@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Grzegorz Jaskiewicz <gj(at)pointblue(dot)com(dot)pl> writes:
> I created custom type, and attempt to create gist indexing for it, to
> make search wind quick.
> on select from * where something << 'something'; I get:

> WARNING: problem in alloc set GiST temporary context: detected write
> past chunk end in block 0x843e6e0, chunk 0x843e994

> Can someone tell me please, what might be the cause?

Looks like you're scribbling on memory that doesn't belong to you.
Check for miscomputed palloc request sizes, etc.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-10-26 15:57:23 Re: add_missing_from breaks existing views
Previous Message Tom Lane 2005-10-26 15:41:56 Re: add_missing_from breaks existing views