Re: [GENERAL] 8.2.4 signal 11 with large transaction

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] 8.2.4 signal 11 with large transaction
Дата
Msg-id 29933.1185212643@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] 8.2.4 signal 11 with large transaction  ("Sibte Abbas" <sibtay@gmail.com>)
Ответы Re: [GENERAL] 8.2.4 signal 11 with large transaction  ("Sibte Abbas" <sibtay@gmail.com>)
Список pgsql-hackers
"Sibte Abbas" <sibtay@gmail.com> writes:
> I think printing the first 1K would make more sense.

> If I understand you correctly, the code path which you are referring
> to is the send_message_to_server_log() function in elog.c?

No, the place that has to change is where errstart() detects that we're
recursing.  We could possibly have it first try to make a shorter string
and only give up entirely if recursion happens again, but given that
this is such a corner case I don't think it's worth the complexity and
risk of further bugs.  I've made it just drop the statement at the same
time that it decides to give up on printing other context (which can
also be a source of out-of-memory problems btw).
http://archives.postgresql.org/pgsql-committers/2007-07/msg00215.php

            regards, tom lane

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

Предыдущее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: Full page images in WAL & Cache Invalidation
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: 8.2 is 30% better in pgbench than 8.3