v1-0001-Fix-incorrect-function-name-in-comments.patch
application/octet-stream
Filename: v1-0001-Fix-incorrect-function-name-in-comments.patch
Type: application/octet-stream
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: format-patch
Series: patch v1-0001
Subject: Fix incorrect function name in comments
| File | + | − |
|---|---|---|
| src/backend/commands/wait.c | 1 | 1 |
| src/include/access/xlogwait.h | 1 | 1 |
From ce6227035eab97b6a67d97fd58e88dc1392a47c7 Mon Sep 17 00:00:00 2001
From: alterego655 <824662526@qq.com>
Date: Fri, 14 Nov 2025 09:39:31 +0800
Subject: [PATCH v1] Fix incorrect function name in comments
Update comments to reference WaitForLSN() instead of the outdated
WaitForLSNReplay() function name.
---
src/backend/commands/wait.c | 2 +-
src/include/access/xlogwait.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backend/commands/wait.c b/src/backend/commands/wait.c
index 67068a92dbf..9c4764cf896 100644
--- a/src/backend/commands/wait.c
+++ b/src/backend/commands/wait.c
@@ -143,7 +143,7 @@ ExecWaitStmt(ParseState *pstate, WaitStmt *stmt, DestReceiver *dest)
waitLSNResult = WaitForLSN(WAIT_LSN_TYPE_REPLAY, lsn, timeout);
/*
- * Process the result of WaitForLSNReplay(). Throw appropriate error if
+ * Process the result of WaitForLSN(). Throw appropriate error if
* needed.
*/
switch (waitLSNResult)
diff --git a/src/include/access/xlogwait.h b/src/include/access/xlogwait.h
index 4dc328b1b07..f43e481c3b9 100644
--- a/src/include/access/xlogwait.h
+++ b/src/include/access/xlogwait.h
@@ -20,7 +20,7 @@
#include "tcop/dest.h"
/*
- * Result statuses for WaitForLSNReplay().
+ * Result statuses for WaitForLSN().
*/
typedef enum
{
--
2.51.0