pgsql: Fix syslogger to not lose log coherency under high load.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix syslogger to not lose log coherency under high load.
Дата
Msg-id E1SFVXM-0001dH-9y@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix syslogger to not lose log coherency under high load.

The original coding of the syslogger had an arbitrary limit of 20 large
messages concurrently in progress, after which it would just punt and dump
message fragments to the output file separately.  Our ambitions are a bit
higher than that now, so allow the data structure to expand as necessary.

Reported and patched by Andrew Dunstan; some editing by Tom

Branch
------
REL8_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/e98fc8c426732aba266836ba4d6cdfdb0f0bdcc1

Modified Files
--------------
src/backend/postmaster/syslogger.c |  132 +++++++++++++++++++-----------------
1 files changed, 71 insertions(+), 61 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix a couple of contrib/dblink bugs.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix syslogger to not lose log coherency under high load.