pgsql: Improve sequence and sense of messages from pg_stop_backup(). - Mailing list pgsql-committers

From sriggs@postgresql.org (Simon Riggs)
Subject pgsql: Improve sequence and sense of messages from pg_stop_backup().
Date
Msg-id 20100418184453.46C207541D0@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Improve sequence and sense of messages from pg_stop_backup().
Now doesn't report it is waiting until it actually is waiting,
plus message doesn't appear until at least 5 seconds wait, so
we avoid reporting the wait before we've given the archiver
a reasonable time to wake up and archive the file we just
created earlier in the function.
Also add new unconditional message to confirm safe completion.
Now a normal, healthy execution does not report waiting at
all, just safe completion.

Modified Files:
--------------
    pgsql/src/backend/access/transam:
        xlog.c (r1.399 -> r1.400)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.399&r2=1.400)

pgsql-committers by date:

Previous
From: sriggs@postgresql.org (Simon Riggs)
Date:
Subject: pgsql: Remove some additional changes in previous commit that belong
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix bogus order of cleanup steps in plperl_inline_handler.