pgsql: Fix elog.c to avoid infinite recursion (leading to backend crash)

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix elog.c to avoid infinite recursion (leading to backend crash)
Дата
Msg-id 20070721221217.ADFB79FB249@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix elog.c to avoid infinite recursion (leading to backend crash) when
log_min_error_statement is active and there is some problem in logging the
current query string; for example, that it's too long to include in the log
message without running out of memory.  This problem has existed since the
log_min_error_statement feature was introduced.  No doubt the reason it
wasn't detected long ago is that 8.2 is the first release that defaults
log_min_error_statement to less than PANIC level.
Per report from Bill Moran.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/error:
        elog.c (r1.167.2.4 -> r1.167.2.5)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/error/elog.c.diff?r1=1.167.2.4&r2=1.167.2.5)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix elog.c to avoid infinite recursion (leading to backend crash)
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix elog.c to avoid infinite recursion (leading to backend crash)