Commit 284e12c3 authored by Tom Lane's avatar Tom Lane

Improve a couple of comments.

parent b3aac077
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * 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) ...@@ -2941,7 +2941,7 @@ ExecuteRecoveryEndCommand(void)
xlogRecoveryEndCmd))); xlogRecoveryEndCmd)));
/* /*
* Copy xlog from archival storage to XLOGDIR * execute the constructed command
*/ */
rc = system(xlogRecoveryEndCmd); rc = system(xlogRecoveryEndCmd);
if (rc != 0) if (rc != 0)
...@@ -5740,6 +5740,9 @@ StartupXLOG(void) ...@@ -5740,6 +5740,9 @@ StartupXLOG(void)
*/ */
CreateCheckPoint(CHECKPOINT_IS_SHUTDOWN | CHECKPOINT_IMMEDIATE); CreateCheckPoint(CHECKPOINT_IS_SHUTDOWN | CHECKPOINT_IMMEDIATE);
/*
* And finally, execute the recovery_end_command, if any.
*/
if (recoveryEndCommand) if (recoveryEndCommand)
ExecuteRecoveryEndCommand(); ExecuteRecoveryEndCommand();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment