pgsql: Avoid including tablespaces inside PGDATA twice in base backups - Mailing list pgsql-committers

From Magnus Hagander
Subject pgsql: Avoid including tablespaces inside PGDATA twice in base backups
Date
Msg-id E1W0ZWR-0005IZ-0H@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Avoid including tablespaces inside PGDATA twice in base backups

If a tablespace was crated inside PGDATA it was backed up both as part
of the PGDATA backup and as the backup of the tablespace. Avoid this
by skipping any directory inside PGDATA that contains one of the active
tablespaces.

Dimitri Fontaine and Magnus Hagander

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0463b9419b4887ddbd2aaaac0c55ee636b4eadd4

Modified Files
--------------
src/backend/replication/basebackup.c |   59 ++++++++++++++++++++++++++++++----
1 file changed, 52 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: pgsql: Avoid including tablespaces inside PGDATA twice in base backups
Next
From: Magnus Hagander
Date:
Subject: pgsql: Avoid including tablespaces inside PGDATA twice in base backups