[PATCH v1] Fix typo in InitWalRecovery() comment
Started by Ken Hibino9 days ago2 messageshackers
While reading through xlogrecovery.c I noticed a stray word in the
header comment of InitWalRecovery().
Comment-only change; no functional impact.
---
Hi -- this is my first patch to PostgreSQL. I spotted this while
reading xlogrecovery.c. Apologies in advance if I've gotten any of the
submission mechanics wrong; feedback welcome.
src/backend/access/transam/xlogrecovery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/access/transam/xlogrecovery.c b/src/backend/access/transam/xlogrecovery.c
index 73b78a83fa7..dee9ea1b5d7 100644
--- a/src/backend/access/transam/xlogrecovery.c
+++ b/src/backend/access/transam/xlogrecovery.c
@@ -447,7 +447,7 @@ EnableStandbyMode(void)
* the checkpoint record. On entry, the caller has already read the control
* file into memory, and passes it as argument. This function updates it to
* reflect the recovery state, and the caller is expected to write it back to
- * disk does after initializing other subsystems, but before calling
+ * disk after initializing other subsystems, but before calling
* PerformWalRecovery().
*
* This initializes some global variables like ArchiveRecoveryRequested, and
--
2.34.1
Re: [PATCH v1] Fix typo in InitWalRecovery() comment
On Sun, Jun 14, 2026 at 07:48:27AM -0700, Ken Hibino wrote:
While reading through xlogrecovery.c I noticed a stray word in the
header comment of InitWalRecovery().Comment-only change; no functional impact.
Confirmed. Thanks for the report.
--
Michael