index 09b507500f576db6b1bc33674ab17eaaed90321a..134405942a170a5b25fb68c20133d8c548c20adb 100644 (file)
* 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 $
*
*-------------------------------------------------------------------------
*/
xlogRecoveryEndCmd)));
/*
- * Copy xlog from archival storage to XLOGDIR
+ * execute the constructed command
*/
rc = system(xlogRecoveryEndCmd);
if (rc != 0)
*/
CreateCheckPoint(CHECKPOINT_IS_SHUTDOWN | CHECKPOINT_IMMEDIATE);
+ /*
+ * And finally, execute the recovery_end_command, if any.
+ */
if (recoveryEndCommand)
ExecuteRecoveryEndCommand();
}