Re: Insert fail: could not open relation with OID 3221204992

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ale Raza" <araza(at)esri(dot)com>
Cc: "postgresql-general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Insert fail: could not open relation with OID 3221204992
Date: 2007-03-27 01:25:42
Message-ID: 9429.1174958742@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ale Raza" <araza(at)esri(dot)com> writes:
> Same results with -O0 option.

Hmmm ... I guess I should have stopped to read the code a little closer:

>> Breakpoint 1, ST_Geometry_Recv (fcinfo=0xbfffcb90) at binary.c:138
>> 138 StringInfo src_buf = (StringInfo)
> PG_DETOAST_DATUM(PG_GETARG_DATUM(0));

Where did you get that from? Receive functions are supposed to do this:

StringInfo buf = (StringInfo) PG_GETARG_POINTER(0);

StringInfos aren't a toastable datatype. The loss of control probably
represents the toast code throwing an error ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-03-27 01:33:03 Re: PG over NFS
Previous Message Erik Jones 2007-03-27 01:09:10 Re: Temporarily disable all table indices