|
7 | 7 | * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group |
8 | 8 | * Portions Copyright (c) 1994, Regents of the University of California |
9 | 9 | * |
10 | | - * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.338 2009/05/1420:31:09 heikki Exp $ |
| 10 | + * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.339 2009/05/1421:28:35 tgl Exp $ |
11 | 11 | * |
12 | 12 | *------------------------------------------------------------------------- |
13 | 13 | */ |
@@ -2941,7 +2941,7 @@ ExecuteRecoveryEndCommand(void) |
2941 | 2941 | xlogRecoveryEndCmd))); |
2942 | 2942 |
|
2943 | 2943 | /* |
2944 | | - *Copy xlog from archival storage to XLOGDIR |
| 2944 | + *execute the constructed command |
2945 | 2945 | */ |
2946 | 2946 | rc=system(xlogRecoveryEndCmd); |
2947 | 2947 | if (rc!=0) |
@@ -5740,6 +5740,9 @@ StartupXLOG(void) |
5740 | 5740 | */ |
5741 | 5741 | CreateCheckPoint(CHECKPOINT_IS_SHUTDOWN |CHECKPOINT_IMMEDIATE); |
5742 | 5742 |
|
| 5743 | +/* |
| 5744 | + * And finally, execute the recovery_end_command, if any. |
| 5745 | + */ |
5743 | 5746 | if (recoveryEndCommand) |
5744 | 5747 | ExecuteRecoveryEndCommand(); |
5745 | 5748 | } |
|