Re: LOG: unexpected EOF within message length word

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mavinakuli, Prasanna (STSD)" <prasanna(dot)b-m(at)hp(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: LOG: unexpected EOF within message length word
Date: 2005-09-02 14:59:55
Message-ID: 14279.1125673195@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Mavinakuli, Prasanna (STSD)" <prasanna(dot)b-m(at)hp(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Terry Lee Tucker 2005-09-02 15:06:02 Re: Question regarding FOUND
Previous Message Alvaro Herrera 2005-09-02 14:54:45 Re: PL/pgSQL: EXCEPTION NOSAVEPOINT