Re: Connection lost

Поиск
Список
Период
Сортировка
От Hernan Danielan
Тема Re: Connection lost
Дата
Msg-id AANLkTiliEUEhYmRwQh8j8MNl5XF1xlFot2lnfo82DKhx@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Connection lost  (Joshua Tolley <eggyknap@gmail.com>)
Ответы Re: Connection lost  (Joshua Tolley <eggyknap@gmail.com>)
Список pgsql-general
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 person who had this problem and he fixed changing th cache size but I wasn't successful.

Any ideas?

On Tue, May 18, 2010 at 11:34 PM, Joshua Tolley <eggyknap@gmail.com> wrote:
On Tue, May 18, 2010 at 1:18 PM, Hernan Danielan
<hernandanielan@gmail.com> 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
> an exception of
>>>org.postgresql.util.PSQLException: An I/O error occured while sending to
>>> the backend.
>>>java.net.SocketException: Socket closed

Do the PostgreSQL logs include any useful information?

--
Joshua Tolley  /  eggyknap
End Point Corporation

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

Предыдущее
От: "Little, Douglas"
Дата:
Сообщение: object tracking
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: object tracking