From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix failure to rotate postmaster log file for size reasons on Wi |
Date: | 2013-01-24 03:09:00 |
Message-ID: | E1TyDBU-0006N0-66@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
------
REL9_2_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/14ba9b11eab37f7cf44d41030eb2c0208795783d
Modified Files
--------------
src/backend/postmaster/syslogger.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2013-01-24 08:04:52 | pgsql: Docs shouldn't say HOT Standby. |
Previous Message | Tom Lane | 2013-01-23 23:14:39 | Re: [COMMITTERS] pgsql: Improve concurrency of foreign key locking |