]> granicus.if.org Git - postgresql/commit
Improve sequence and sense of messages from pg_stop_backup().
authorSimon Riggs <simon@2ndQuadrant.com>
Sun, 18 Apr 2010 18:44:53 +0000 (18:44 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Sun, 18 Apr 2010 18:44:53 +0000 (18:44 +0000)
commitd38603bd974f2befd1f0599a2392849916b2102c
tree3953316ae4433181bbe6013e9ee2cf5885932598
parent2847de9df2c8f10b0f44170c373559164d5cef6f
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.
src/backend/access/transam/xlog.c