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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In base backup, only include our own tablespace version director
Date: 2013-03-25 18:37:49
Message-ID: E1UKCHE-0000pq-W5@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2e4acef357c6eec6b6ae8a7a3b464c96e3f343c7

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-03-26 00:02:11 Re: [COMMITTERS] pgsql: Add PF_PRINTF_ATTRIBUTE to on_exit_msg_fmt.
Previous Message Heikki Linnakangas 2013-03-25 18:37:48 pgsql: In base backup, only include our own tablespace version director