aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-05-14 21:28:35 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-05-14 21:28:35 +0000
commit284e12c398bdc23c57898781fe9d94ae11cb0cbc (patch)
treed7d40471d9065a8e71c28e294b4f11ecc550851a /src
parentb3aac077c33e420db0d642f575cf10ba400745ed (diff)
downloadpostgresql-284e12c398bdc23c57898781fe9d94ae11cb0cbc.tar.gz
postgresql-284e12c398bdc23c57898781fe9d94ae11cb0cbc.zip
Improve a couple of comments.
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/transam/xlog.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 09b507500f5..134405942a1 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.338 2009/05/14 20:31:09 heikki Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.339 2009/05/14 21:28:35 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -2941,7 +2941,7 @@ ExecuteRecoveryEndCommand(void)
xlogRecoveryEndCmd)));
/*
- * Copy xlog from archival storage to XLOGDIR
+ * execute the constructed command
*/
rc = system(xlogRecoveryEndCmd);
if (rc != 0)
@@ -5740,6 +5740,9 @@ StartupXLOG(void)
*/
CreateCheckPoint(CHECKPOINT_IS_SHUTDOWN | CHECKPOINT_IMMEDIATE);
+ /*
+ * And finally, execute the recovery_end_command, if any.
+ */
if (recoveryEndCommand)
ExecuteRecoveryEndCommand();
}