pgsql: Avoid archiving XLOG_RUNNING_XACTS on idle server - Mailing list pgsql-committers

From Simon Riggs
Subject pgsql: Avoid archiving XLOG_RUNNING_XACTS on idle server
Date
Msg-id E1amxqq-0001cw-2x@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Avoid archiving XLOG_RUNNING_XACTS on idle server
List pgsql-committers
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

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(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: Re: pgsql: Copyedit comments and documentation.
Next
From: Andres Freund
Date:
Subject: Re: pgsql: Avoid archiving XLOG_RUNNING_XACTS on idle server