Use correct path for tablspaces while creating a basebackup
authorPavan Deolasee <pavan.deolasee@gmail.com>
Fri, 3 Aug 2018 08:39:12 +0000 (14:09 +0530)
committerPavan Deolasee <pavan.deolasee@gmail.com>
Fri, 10 Aug 2018 05:38:13 +0000 (11:08 +0530)
commiteb9f8dd9093ef4b2940cfd2769bcf6277155eafa
treeb83a944e09b83688081c6fc6614b21c39af086ef
parentdc09be89d1a86af60b929a08cfee52c633ee99a9
Use correct path for tablspaces while creating a basebackup

In XL, we embed the nodename in the tablespace subdir name to ensure that
non-conflicting paths are created when multiple coordinators/datanodes are
running on the same server. The code to handle tablespace mapping in basebackup
was missing this support.

Per report and patch by Wanglin.
src/backend/replication/basebackup.c