pgsql: Avoid including tablespaces inside PGDATA twice in base backups

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pgsql: Avoid including tablespaces inside PGDATA twice in base backups
Дата
Msg-id E1W0ZWR-0005Ib-23@gemulon.postgresql.org
обсуждение исходный текст
Список 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_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2edf3e82c5e23bf9095cab5c7c19578d46a13e48

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Add more use of psprintf()
Следующее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Avoid including tablespaces inside PGDATA twice in base backups