Skip to content

Commit 36a8881

Browse files
michaelpqpetere
authored andcommitted
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 72b6828 commit 36a8881

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/access/transam/xlogrecovery.c

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

src/backend/backup/basebackup.c

Lines changed: 1 addition & 1 deletion
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 "backup/backup_manifest.h"
2121
#include "backup/basebackup.h"
2222
#include "backup/basebackup_sink.h"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy