pgsql: Fix failure to rotate postmaster log file for size reasons on Wi

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix failure to rotate postmaster log file for size reasons on Wi
Дата
Msg-id E1TyDBU-0006My-58@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix failure to rotate postmaster log file for size reasons on Windows.

When we eliminated "unnecessary" wakeups of the syslogger process, we
broke size-based logfile rotation on Windows, because on that platform
data transfer is done in a separate thread.  While non-Windows platforms
would recheck the output file size after every log message, Windows only
did so when the control thread woke up for some other reason, which might
be quite infrequent.  Per bug #7814 from Tsunezumi.  Back-patch to 9.2
where the problem was introduced.

Jeff Janes

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8556869f2f31ce6f5fab68de08fb1556a2134080

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


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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: pgsql: Fix performance problems with autovacuum truncation in busy work
Следующее
От: Simon Riggs
Дата:
Сообщение: pgsql: Docs shouldn't say HOT Standby.