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@xxxxxxxxxxxxx] 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@xxxxxxxx> 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