[PATCH v1] Fix typo in InitWalRecovery() comment

From: Ken Hibino <ken(dot)hibino7(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: Ken Hibino <ken(dot)hibino7(at)gmail(dot)com>
Subject: [PATCH v1] Fix typo in InitWalRecovery() comment
Date: 2026-06-14 14:48:27
Message-ID: 20260614144827.938301-1-ken.hibino7@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-06-14 15:02:28 Re: doc: Remove stale entry for removed aclitem[] ~ aclitem operator
Previous Message ZizhuanLiu X-MAN 2026-06-14 14:37:58 Re: Return value of XLogInsertRecord() for XLOG_SWITCH record