diff options
| author | Alexander Korotkov | 2025-11-15 10:16:54 +0000 |
|---|---|---|
| committer | Alexander Korotkov | 2025-11-15 10:27:42 +0000 |
| commit | 23792d7381583d04c4bbd0a8507566401ec013d3 (patch) | |
| tree | a832ac9fb3710a2caf2678422d93f5ebef81f36e | |
| parent | ede6acef49673df0a880edae405ca69393bb48d0 (diff) | |
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 <[email protected]>
Reviewed-by: Alexander Korotkov <[email protected]>
| -rw-r--r-- | src/backend/commands/wait.c | 3 | ||||
| -rw-r--r-- | src/include/access/xlogwait.h | 2 |
2 files changed, 2 insertions, 3 deletions
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) { 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 { |
