Re: "unexpected EOF" messages

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: "unexpected EOF" messages
Дата
Msg-id CABUevEwm27GDBBk=py-ojvCSLFYmj1AGLuDnFyNydR+ND-t-3w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: "unexpected EOF" messages  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: "unexpected EOF" messages  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Mon, May 7, 2012 at 5:15 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> Any further suggestoins for which codes to use? If not, I think I'm
>> going to commit the patch as I had it, because it's not any worse than
>> what we had before (but fixes the annoying messages), and we can
>> always revisit the actual errorcodes later.
>
> I'm still a bit uncomfortable about using the 08 codes on the backend
> side; but on reflection it's hard to see how it could cause any real
> confusion, so maybe we should just go with that.
>
> Another point is that the patch would be shorter and more reliable
> if you just forced whereToSendOutput = DestNone, without trying to save
> and restore it.  Once the connection is known busted, there is no point
> in sending any future I/O towards the client, either.

Makes sense, will change and commit.


--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: smart shutdown at end of transaction (was: Default mode for shutdown)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Latch for the WAL writer - further reducing idle wake-ups.