pgsql: Don't warn about an in-progress online backup, when we're

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't warn about an in-progress online backup, when we're
Date: 2010-09-14 08:05:54
Message-ID: 20100914080554.4A51E7541E2@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Don't warn about an in-progress online backup, when we're recovering from
an online backup instead of performing one. pg_ctl can detect that by
checking if recovery.conf exists.

Backup label file is renamed away early in recovery, so the window where
backup label exists during recovery is normally very small, but you can run
into it e.g if restore_command is set incorrectly and the startup process
never finds even the first WAL segment containing the checkpoint record to
start recovery from.

Fujii Masao with comments by me.

Tags:
----
REL9_0_STABLE

Modified Files:
--------------
pgsql/src/bin/pg_ctl:
pg_ctl.c (r1.122 -> r1.122.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_ctl/pg_ctl.c?r1=1.122&r2=1.122.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2010-09-14 13:35:14 pgsql: Oops, the timeout argument to WaitLatchOrSocket is in
Previous Message Heikki Linnakangas 2010-09-14 08:05:33 pgsql: Don't warn about an in-progress online backup, when we're