pgsql: Fix an issue in recent walwriter hibernation patch.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix an issue in recent walwriter hibernation patch.
Дата
Msg-id E1SRxEq-0004Eh-5i@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix an issue in recent walwriter hibernation patch.

Users of asynchronous-commit mode expect there to be a guaranteed maximum
delay before an async commit's WAL records get flushed to disk.  The
original version of the walwriter hibernation patch broke that.  Add an
extra shared-memory flag to allow async commits to kick the walwriter out
of hibernation mode, without adding any noticeable overhead in cases where
no action is needed.

Branch
------
master

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

Modified Files
--------------
src/backend/access/transam/xlog.c  |   48 ++++++++++++++++++++++++++++++-----
src/backend/postmaster/walwriter.c |   18 +++++++++++++
src/include/access/xlog.h          |    1 +
3 files changed, 60 insertions(+), 7 deletions(-)


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Document how to find non-ASCII characters in the release notes.
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Add another URL for HTML entity codes.