Re: LOG: unexpected EOF within message length word - Mailing list pgsql-general

From Tom Lane
Subject Re: LOG: unexpected EOF within message length word
Date
Msg-id 14279.1125673195@sss.pgh.pa.us
Whole thread Raw
In response to LOG: unexpected EOF within message length word  ("Mavinakuli, Prasanna (STSD)" <prasanna.b-m@hp.com>)
List pgsql-general
"Mavinakuli, Prasanna (STSD)" <prasanna.b-m@hp.com> writes:
> When I try to insert the data of size 40764 bytes(data type bytea) the
> call PQexecparams won't return and when I kill that one it gives
> The log:"LOG:  unexpected EOF within message length word"
> Or "Log:Incomplete message transfer from client".

> If I try to insert data of size 40760 bytes (data type:bytea)
> Then it will insert the data succesfully.

I think the odds are about 100:1 that this is a bug in your own code.
However, if you want to send in a self-contained test case, we'll be
glad to take a look at it.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Question regarding FOUND
Next
From: Richard Huxton
Date:
Subject: Re: lock problem