Minor code cleanup for perform_base_backup(). Merge two calls to sendDir() that are exactly the same except for the fifth argument. Adjust comments to match.
Also, don't bother checking whether tblspc_map_file is NULL. We initialize it in all cases, so it can't be. Patch by me, reviewed by Amit Kapila and Kyotaro Horiguchi. Discussion: http://postgr.es/m/ca+tgmoyq+59sj2zbbp891ngwpa9fymoqntqycwesdyxs2a6...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/453e0e3f0ef3202386b553719f628cef93ff95a7 Modified Files -------------- src/backend/replication/basebackup.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-)
