pgsql: When two base backups are started at the same time with pg_baseb

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: When two base backups are started at the same time with pg_baseb
Date: 2011-03-21 09:28:29
Message-ID: E1Q1bPZ-00012P-8j@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

When two base backups are started at the same time with pg_basebackup,
ensure that they use different checkpoints as the starting point. We use
the checkpoint redo location as a unique identifier for the base backup in
the end-of-backup record, and in the backup history file name.

Bug spotted by Fujii Masao.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6d8096e2f3f2c1296fa880f44f3fa5701b2f40c4

Modified Files
--------------
src/backend/access/transam/xlog.c | 95 +++++++++++++++++++++++-------------
1 files changed, 61 insertions(+), 34 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message User Hlinnaka 2011-03-21 12:48:56 orafce - orafce: Fix pointer arithmetic in ora_sinit().
Previous Message Bruce Momjian 2011-03-21 03:17:43 pgsql: Markup and wording improvements for 9.1 release notes.