pgsql: Make XLogFileCopy() look the same as in 9.4. - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: Make XLogFileCopy() look the same as in 9.4.
Date
Msg-id E1ZA7Fq-0004JW-Dk@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make XLogFileCopy() look the same as in 9.4.

XLogFileCopy() was changed heavily in commit de76884. However it was
partially reverted in commit 7abc685 and most of those changes to
XLogFileCopy() were no longer needed. Then commit 7cbee7c removed
those unnecessary code, but XLogFileCopy() looked different in master
and 9.4 though the contents are almost the same.

This patch makes XLogFileCopy() look the same in master and back-branches,
which makes back-patching easier, per discussion on pgsql-hackers.
Back-patch to 9.5.

Discussion: 55760844.7090703@iki.fi

Michael Paquier

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8217370864c950ea28c7f940442fe48c701461c2

Modified Files
--------------
src/backend/access/transam/xlog.c |   60 ++++++++++++++++++++-----------------
1 file changed, 32 insertions(+), 28 deletions(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: Make XLogFileCopy() look the same as in 9.4.
Next
From: Tom Lane
Date:
Subject: pgsql: Make sampler_random_fract() actually obey its API contract.