Simplify some code in pg_rewind when syncing target directory

Michael Paquier <michael@paquier.xyz>

Commit: 6e52209eb1f830552a5ec220c2bfc3b517535837
Author: Michael Paquier <michael@paquier.xyz>
Date: 2019-02-26T07:08:24Z
Releases: 12.0
Simplify some code in pg_rewind when syncing target directory

9a4059d simplified the flush of target data folder when finishing
processing, and could have done a bit more.

Discussion: https://postgr.es/m/20190131064759.GA13429@paquier.xyz

Files

PathChange+/−
src/bin/pg_rewind/pg_rewind.c modified +3 −3

Discussion