Thread: pgsql: In base backup, only include our own tablespace version director

pgsql: In base backup, only include our own tablespace version director

From
Heikki Linnakangas
Date:
In base backup, only include our own tablespace version directory.

If you have clusters of different versions pointing to the same tablespace
location, we would incorrectly include all the data belonging to the other
versions, too.

Fixes bug #7986, reported by Sergey Burladyan.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/13f9634ceefb9aae4567ef6b982254df2082aa08

Modified Files
--------------
src/backend/replication/basebackup.c |   68 +++++++++++++++++++++++++++------
1 files changed, 55 insertions(+), 13 deletions(-)