| From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Support multiple concurrent pg_basebackup backups. |
| Date: | 2011-01-31 16:26:08 |
| Message-ID: | E1PjwZs-0006a4-1u@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Support multiple concurrent pg_basebackup backups.
With this patch, pg_basebackup doesn't write a backup_label file in the
data directory, so it doesn't interfere with a pg_start/stop_backup() based
backup anymore. backup_label is still included in the backup, but it is
injected directly into the tar stream.
Heikki Linnakangas, reviewed by Fujii Masao and Magnus Hagander.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=997b48ed96c476650f87ca75d65c9fc1f6273f5a
Modified Files
--------------
doc/src/sgml/backup.sgml | 7 +-
doc/src/sgml/ref/pg_basebackup.sgml | 7 +-
src/backend/access/transam/xlog.c | 296 +++++++++++++++++++++++-----------
src/backend/replication/basebackup.c | 87 +++++++++--
src/include/access/xlog.h | 11 +-
5 files changed, 295 insertions(+), 113 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2011-01-31 16:29:50 | pgsql: Fix typo |
| Previous Message | pgsql | 2011-01-31 02:28:03 | pgsql: Tag refs/tags/REL8_3_14 was created |