pgsql: Minor code cleanup for perform_base_backup().
pgsql: Minor code cleanup for perform_base_backup().
От:
Robert Haas <rhaas@postgresql.org>
Дата:
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+59SJ2zBbP891ngWPA9fymOqntqYcweSDYXS2a620A@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(-)