Re: [GENERAL] Connection lost

2010-05-20 Thread dennis jenkins
On Thu, May 20, 2010 at 7:49 AM, Hernan Danielan wrote: > The server and the client are running in the same machine.That is why a > network connection problem is almost imposible. I do not know if i am doing > something wrong, my code is in my fist message. It is a extrange thing > because with fi

Re: [GENERAL] Connection lost

2010-05-20 Thread Tom Lane
Joshua Tolley writes: > On Wed, May 19, 2010 at 1:46 PM, Hernan Danielan > wrote: >> Yes, the most interesting thing is that the log says >> unexpected EOF on client connection or  could not send data to client: >> Broken pipe > That log mostly just says something disconnected uncleanly, but > d

Re: [GENERAL] Connection lost

2010-05-20 Thread Hernan Danielan
The server and the client are running in the same machine.That is why a network connection problem is almost imposible. I do not know if i am doing something wrong, my code is in my fist message. It is a extrange thing because with files less than 500KB works great. However with a file of 1.4MB it

Re: [GENERAL] Connection lost

2010-05-19 Thread Scott Marlowe
On Wed, May 19, 2010 at 8:57 PM, Joshua Tolley wrote: > On Wed, May 19, 2010 at 1:46 PM, Hernan Danielan > wrote: >> Yes, the most interesting thing is that the log says >> unexpected EOF on client connection or  could not send data to client: >> Broken pipe > > That log mostly just says somethin

Re: [GENERAL] Connection lost

2010-05-19 Thread Joshua Tolley
On Wed, May 19, 2010 at 1:46 PM, Hernan Danielan wrote: > Yes, the most interesting thing is that the log says > unexpected EOF on client connection or  could not send data to client: > Broken pipe That log mostly just says something disconnected uncleanly, but doesn't say PostgreSQL closed the c

Re: [GENERAL] Connection lost

2010-05-19 Thread Hernan Danielan
Yes, the most interesting thing is that the log says unexpected EOF on client connection or could not send data to client: Broken pipe But this shouldn't be happening according to the code i sent because i do NOT close the socket. Moreover the transaction only takes up a few seconds. I read a p

Re: [GENERAL] Connection lost

2010-05-18 Thread Joshua Tolley
On Tue, May 18, 2010 at 1:18 PM, Hernan Danielan wrote: > Hello! I am using postgress 8.4. I am trying to save to my DB a Large Binary > Object, in localhost, let's say 1.4MB. I read that LargeObjectAPI should be > used. > I have a problem that sometimes i can store the file and some others i get

[GENERAL] Connection lost

2010-05-18 Thread Hernan Danielan
Hello! I am using postgress 8.4. I am trying to save to my DB a Large Binary Object, in localhost, let's say 1.4MB. I read that LargeObjectAPI should be used. I have a problem that sometimes i can store the file and some others i get an exception of >>org.postgresql.util.PSQLException: An I/O erro