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:48
Message-ID: E1UKCHE-0000pl-TD@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_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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-03-25 18:37:49 pgsql: In base backup, only include our own tablespace version director
Previous Message Heikki Linnakangas 2013-03-25 15:06:25 Re: pgsql: Add PF_PRINTF_ATTRIBUTE to on_exit_msg_fmt.