Re: Insert fail: could not open relation with OID 3221204992 - Mailing list pgsql-general

From Tom Lane
Subject Re: Insert fail: could not open relation with OID 3221204992
Date
Msg-id 26220.1174691263@sss.pgh.pa.us
Whole thread Raw
In response to Re: Insert fail: could not open relation with OID 3221204992  (araza@esri.com)
Responses Re: Insert fail: could not open relation with OID 3221204992  (araza@esri.com)
List pgsql-general
"Ale Raza" <araza@esri.com> writes:
> Breakpoint 1, ST_Geometry_Recv (fcinfo=0xbfffcb90) at binary.c:138
> 138             StringInfo src_buf = (StringInfo) PG_DETOAST_DATUM(PG_GETARG_DATUM(0));
> (gdb) p *src_buf
> $4 = {data = 0xff0c8d8b <Address 0xff0c8d8b out of bounds>, len = -1031143425, maxlen = -13595335, cursor =
158662655}
> (gdb) n
> 0x0819c4f8 in PostgresMain ()
> (gdb) p *src_buf
> No symbol "src_buf" in current context.

Try recompiling with a lower optimization level (maybe even -O0) so you
can debug.  gdb sometimes gets confused by optimized code...

            regards, tom lane

pgsql-general by date:

Previous
From: araza@esri.com
Date:
Subject: Re: Insert fail: could not open relation with OID 3221204992
Next
From: Ottavio Campana
Date:
Subject: Re: concurrency in stored procedures