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.72...@wrigleys.postgresql.org

Simple non-invasive patch to allow later backpatch to 9.4 and 9.5

Branch
------
master

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

Modified Files
--------------
src/backend/postmaster/bgwriter.c |  5 ++++-
src/backend/storage/ipc/standby.c | 21 +++++++++++++++++++++
2 files changed, 25 insertions(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to