Client failure allows backed to continue

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Client failure allows backed to continue
Дата
Msg-id 200301272301.h0RN1S219465@candle.pha.pa.us
обсуждение исходный текст
Ответы Re: Client failure allows backed to continue  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
As part of the training class I did, some people tested what happens
when the client allocates tons of memory to store a result and aborts.

What we found was that though elog was properly called:
elog(COMMERROR, "pq_recvbuf: recv() failed: %m");

(I think that was the message.)  the backend did not exit and kept
eating CPU. I think the problem is that the elog code only exits on
ERROR, not COMMERROR.  Is there some way to fix this?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Curt Sampson
Дата:
Сообщение: Re: Call for objections: put back OIDs in CREATE TABLE
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Release Scheduales: 7.2.4 & 7.3.2