]> 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:22:36 +0000 (17:22 +0100)
commit2edf3e82c5e23bf9095cab5c7c19578d46a13e48
treeeccc53e442209c2c2b3e499d936b7cebb868045a
parentfa28f9cba889335ea68f9326010ae008f1d97b74
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