]> granicus.if.org Git - postgresql/commit
Avoid including tablespaces inside PGDATA twice in base backups
authorMagnus Hagander <magnus@hagander.net>
Tue, 7 Jan 2014 16:04:40 +0000 (17:04 +0100)
committerMagnus Hagander <magnus@hagander.net>
Tue, 7 Jan 2014 16:11:32 +0000 (17:11 +0100)
commitb168c5ef2730d0ecaa7462f0b90345b0a3798c16
tree952bfe30c11a4e31eac1118d1e43afa03ba1b33a
parentedc43458d797a5956f4bf39af18cf62abb0077db
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
src/backend/replication/basebackup.c