Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 33bd469

Browse files
committed
Fix code comments still referring to pg_start/stop_backup()
pg_start_backup() and pg_stop_backup() have been respectively renamed to pg_backup_start() and pg_backup_stop() as of 39969e2, but a few comments did not get the call. Reviewed-by: Kyotaro Horiguchi, David Steele Discussion: https://postgr.es/m/YrqGlj1+4DF3dbZ/@paquier.xyz
1 parent 550bc0a commit 33bd469

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/access/transam/xlogrecovery.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ InitWalRecovery(ControlFileData *ControlFile, bool *wasShutdown_ptr,
716716
* know how far we need to replay the WAL before we reach consistency.
717717
* This can happen for example if a base backup is taken from a
718718
* running server using an atomic filesystem snapshot, without calling
719-
* pg_start/stop_backup. Or if you just kill a running primary server
719+
* pg_backup_start/stop. Or if you just kill a running primary server
720720
* and put it into archive recovery by creating a recovery signal
721721
* file.
722722
*

src/backend/replication/basebackup.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <unistd.h>
1717
#include <time.h>
1818

19-
#include "access/xlog_internal.h" /* for pg_start/stop_backup */
19+
#include "access/xlog_internal.h" /* for pg_backup_start/stop */
2020
#include "common/compression.h"
2121
#include "common/file_perm.h"
2222
#include "commands/defrem.h"

0 commit comments

Comments
 (0)