Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit33bd469

Browse files
committed
Fix code comments still referring to pg_start/stop_backup()
pg_start_backup() and pg_stop_backup() have been respectively renamed topg_backup_start() and pg_backup_stop() as of 39969e2, but a few commentsdid not get the call.Reviewed-by: Kyotaro Horiguchi, David SteeleDiscussion:https://postgr.es/m/YrqGlj1+4DF3dbZ/@paquier.xyz
1 parent550bc0a commit33bd469

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
@@ -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

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"/* forpg_start/stop_backup */
19+
#include"access/xlog_internal.h"/* forpg_backup_start/stop */
2020
#include"common/compression.h"
2121
#include"common/file_perm.h"
2222
#include"commands/defrem.h"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp