]> granicus.if.org Git - postgresql/commit
Make XLogFileCopy() look the same as in 9.4.
authorFujii Masao <fujii@postgresql.org>
Wed, 1 Jul 2015 01:54:47 +0000 (10:54 +0900)
committerFujii Masao <fujii@postgresql.org>
Wed, 1 Jul 2015 01:55:49 +0000 (10:55 +0900)
commit6cfb6d987419ce1e7bec0cf3ad22830ed3c2dc08
tree3acff8ef368089851e9e341df64ccf24f5a80c16
parent31380b900ee427e86ffff2d873c3fe0f4417f8c9
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
src/backend/access/transam/xlog.c