]> 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:54:47 +0000 (10:54 +0900)
commit8217370864c950ea28c7f940442fe48c701461c2
treedae6a8c1f89e783ac29f5133bed2ceb5373f1f9f
parent7f32dbcd73b9a75d09db386fa81c31f42e6f0d3a
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