1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-16 15:02:33 +03:00

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 <xunengzhou@gmail.com>
Reviewed-by: Alexander Korotkov <aekorotkov@gmail.com>
This commit is contained in:
Alexander Korotkov
2025-11-15 12:16:54 +02:00
parent ede6acef49
commit 23792d7381
2 changed files with 2 additions and 3 deletions

View File

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

View File

@@ -20,7 +20,7 @@
#include "tcop/dest.h"
/*
* Result statuses for WaitForLSNReplay().
* Result statuses for WaitForLSN().
*/
typedef enum
{