From: | araza(at)esri(dot)com |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "postgresql-general" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Insert fail: could not open relation with OID 3221204992 |
Date: | 2007-03-23 20:47:57 |
Message-ID: | 7CAD6D9B7D16BC4A88795771E4865082053ADD20@pianowire.esri.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tom,
The _Recv function is not receiving the data when client is sending
bytea of size 211k.
Here is the stack:
Breakpoint 3, #####_Recv (fcinfo=0xbfffa3a0) at binary.c:138
138 StringInfo src_buf = (StringInfo)
PG_DETOAST_DATUM(PG_GETARG_DATUM(0));
(gdb) p *src_buf
Cannot access memory at address 0x0
(gdb) n
0x0819c4f8 in PostgresMain ()
(gdb) bt
#0 0x0819c4f8 in PostgresMain ()
#1 0x0817a4d9 in BackendRun ()
#2 0x08179e03 in BackendStartup ()
#3 0x0817825f in ServerLoop ()
#4 0x0817785b in PostmasterMain ()
#5 0x0813fd1c in main ()
(gdb) c
Continuing.
Am I missing some parameters or it's a bug?
Thanks.
Ale.
-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Thursday, March 22, 2007 11:41 AM
To: Ale Raza
Cc: postgresql-general
Subject: Re: [GENERAL] Insert fail: could not open relation with OID
3221204992
"Ale Raza" <araza(at)esri(dot)com> writes:
> No problem without shape column. I can load all data.
What I thought :-(
> My concern is:
> - Why it's an issue on Linux not on windows? In both cases it's a
window
> client.
Platform-dependent bug in your code, likely. Without seeing the code
it's impossible to speculate much further, but I'd look first for places
that scribble on memory not allocated to you (perhaps due to a
miscalculation of the size needed for a dynamically-allocated object).
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Merlin Moncure | 2007-03-23 21:02:20 | Re: question: knopixx and postgresql on flash drive |
Previous Message | Milen A. Radev | 2007-03-23 19:43:05 | Re: What is the difference between rule and triggers |