From 8366c7803ec3d0591cf2d1226fea1fee947d56c3 Mon Sep 17 00:00:00 2001 From: Simon Riggs Date: Wed, 25 Jan 2012 18:02:04 +0000 Subject: Allow pg_basebackup from standby node with safety checking. Base backup follows recommended procedure, plus goes to great lengths to ensure that partial page writes are avoided. Jun Ishizuka and Fujii Masao, with minor modifications --- src/backend/postmaster/postmaster.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/postmaster/postmaster.c') diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index ad0c17ac7a..9d242cbfcb 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -3067,8 +3067,8 @@ PostmasterStateMachine(void) else { /* - * Terminate backup mode to avoid recovery after a clean fast - * shutdown. Since a backup can only be taken during normal + * Terminate exclusive backup mode to avoid recovery after a clean fast + * shutdown. Since an exclusive backup can only be taken during normal * running (and not, for example, while running under Hot Standby) * it only makes sense to do this if we reached normal running. If * we're still in recovery, the backup file is one we're -- cgit v1.2.1