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

From heikki@postgresql.org (Heikki Linnakangas)
Subject pgsql: Don't warn about an in-progress online backup, when we're
Date
Msg-id 20100914080554.4A51E7541E2@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Don't warn about an in-progress online backup, when we're
Next
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Oops, the timeout argument to WaitLatchOrSocket is in