From 23792d7381583d04c4bbd0a8507566401ec013d3 Mon Sep 17 00:00:00 2001 From: Alexander Korotkov Date: Sat, 15 Nov 2025 12:16:54 +0200 Subject: Fix incorrect function name in comments Update comments to reference WaitForLSN() instead of the outdated WaitForLSNReplay() function name. Discussion: https://postgr.es/m/CABPTF7UieOYbOgH3EnQCasaqcT1T4N6V2wammwrWCohQTnD_Lw%40mail.gmail.com Author: Xuneng Zhou Reviewed-by: Alexander Korotkov --- src/backend/commands/wait.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/backend') diff --git a/src/backend/commands/wait.c b/src/backend/commands/wait.c index 67068a92dbf..a37bddaefb2 100644 --- a/src/backend/commands/wait.c +++ b/src/backend/commands/wait.c @@ -143,8 +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 - * needed. + * Process the result of WaitForLSN(). Throw appropriate error if needed. */ switch (waitLSNResult) { -- cgit v1.2.3