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

Поиск
Список
Период
Сортировка
От araza@esri.com
Тема Re: Insert fail: could not open relation with OID 3221204992
Дата
Msg-id 7CAD6D9B7D16BC4A88795771E4865082053ADD20@pianowire.esri.com
обсуждение исходный текст
Ответ на Re: Insert fail: could not open relation with OID 3221204992  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Insert fail: could not open relation with OID 3221204992  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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@sss.pgh.pa.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@esri.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


В списке pgsql-general по дате отправления:

Предыдущее
От: "Milen A. Radev"
Дата:
Сообщение: Re: What is the difference between rule and triggers
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: question: knopixx and postgresql on flash drive