Re: ERROR: invalid memory alloc request size 0

From: "John Hagstrand" <john(dot)hagstrand(at)interageresearch(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: ERROR: invalid memory alloc request size 0
Date: 2004-04-09 09:49:01
Message-ID: HAEMLKNMPOIEAJICMAFLGENADAAA.john.hagstrand@interageresearch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom,

There are two indexes on the table, defined like this.

CREATE INDEX idx_geo_property ON property USING gist (geom)

CREATE UNIQUE INDEX idx_property_acct_ln ON property USING btree (acct, ln)

John

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: Thursday, April 08, 2004 10:19 PM
> To: John Hagstrand
> Cc: pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] ERROR: invalid memory alloc request size 0
>
>
> "John Hagstrand" <john(dot)hagstrand(at)interageresearch(dot)com> writes:
> > (gdb) bt
> > #0 0x081e6056 in errfinish ()
> > #1 0x081e6e66 in elog_finish ()
> > #2 0x081f5112 in MemoryContextAlloc ()
> > #3 0x080758d0 in gistinsert ()
> > #4 0x08073bac in gistinsert ()
> > #5 0x0807396c in gistinsert ()
> > #6 0x0807396c in gistinsert ()
> > #7 0x08073865 in gistinsert ()
> > #8 0x08073732 in gistinsert ()
> > #9 0x081ead7b in OidFunctionCall6 ()
> > #10 0x080831c5 in index_insert ()
>
> Well, that makes it a GIST index bug ... since you hadn't mentioned the
> existence of any indexes on this table, I feel I've been shorted some
> critical info ;-). What exactly are you doing with GIST on this table?
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-04-09 12:11:51 Re: ERROR: invalid memory alloc request size 0
Previous Message Hitesh Bagadiya 2004-04-09 08:05:20 Sorting in Unicode not working