]> granicus.if.org Git - postgresql/commit
Avoid archiving XLOG_RUNNING_XACTS on idle server
authorSimon Riggs <simon@2ndQuadrant.com>
Mon, 4 Apr 2016 06:18:05 +0000 (07:18 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Mon, 4 Apr 2016 06:18:05 +0000 (07:18 +0100)
commitbf08f2292ffca14fd133aa0901d1563b6ecd6894
tree9e46fa1107681915c8a764f3e7f68e0aaf177871
parenta75a418d07bf852dc9fdb85ccfb39c763aa057a9
Avoid archiving XLOG_RUNNING_XACTS on idle server

If archive_timeout > 0 we should avoid logging XLOG_RUNNING_XACTS if idle.

Bug 13685 reported by Laurence Rowe, investigated in detail by Michael Paquier,
though this is not his proposed fix.
20151016203031.3019.72930@wrigleys.postgresql.org

Simple non-invasive patch to allow later backpatch to 9.4 and 9.5
src/backend/postmaster/bgwriter.c
src/backend/storage/ipc/standby.c