pgsql: Make XLogFileCopy() look the same as in 9.4.

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make XLogFileCopy() look the same as in 9.4.
Date: 2015-07-01 01:56:02
Message-ID: E1ZA7Fq-0004JX-Dr@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)7090703(at)iki(dot)fi

Michael Paquier

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6cfb6d987419ce1e7bec0cf3ad22830ed3c2dc08

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-07-01 22:08:05 pgsql: Make sampler_random_fract() actually obey its API contract.
Previous Message Tom Lane 2015-06-30 22:48:26 pgsql: Fix broken link in documentation.