"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