aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-07-01 09:37:17 +0900
committerPeter Eisentraut <peter@eisentraut.org>2022-08-24 22:10:29 +0200
commit36a8881c4bfe578e94ba97a5140d7850ffa87bed (patch)
tree728be6f7c0bd0160c0f664020c7bf2a26e3b58a1 /src
parent72b6828da3f72bdcf87f680fe37a90ce964793cc (diff)
downloadpostgresql-36a8881c4bfe578e94ba97a5140d7850ffa87bed.tar.gz
postgresql-36a8881c4bfe578e94ba97a5140d7850ffa87bed.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/transam/xlogrecovery.c2
-rw-r--r--src/backend/backup/basebackup.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/xlogrecovery.c b/src/backend/access/transam/xlogrecovery.c
index 92c3e40e8f0..013239d64e8 100644
--- a/src/backend/access/transam/xlogrecovery.c
+++ b/src/backend/access/transam/xlogrecovery.c
@@ -717,7 +717,7 @@ InitWalRecovery(ControlFileData *ControlFile, bool *wasShutdown_ptr,
* know how far we need to replay the WAL before we reach consistency.
* This can happen for example if a base backup is taken from a
* running server using an atomic filesystem snapshot, without calling
- * pg_start/stop_backup. Or if you just kill a running primary server
+ * pg_backup_start/stop. Or if you just kill a running primary server
* and put it into archive recovery by creating a recovery signal
* file.
*
diff --git a/src/backend/backup/basebackup.c b/src/backend/backup/basebackup.c
index cc16c4b331f..477fba72f71 100644
--- a/src/backend/backup/basebackup.c
+++ b/src/backend/backup/basebackup.c
@@ -16,7 +16,7 @@
#include <unistd.h>
#include <time.h>
-#include "access/xlog_internal.h" /* for pg_start/stop_backup */
+#include "access/xlog_internal.h" /* for pg_backup_start/stop */
#include "backup/backup_manifest.h"
#include "backup/basebackup.h"
#include "backup/basebackup_sink.h"