]> 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:18:02 +0000 (17:18 +0100)
commit773e4d5e4dc48dc2c14f31f5d71d9dbf491fd6f5
treeb858a0bbb65970cb16134c4ddf0ff387b76f4352
parent9484982740e880318aa18a953608c6242bb71341
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