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]>
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)
{
#include "tcop/dest.h"
/*
- * Result statuses for WaitForLSNReplay().
+ * Result statuses for WaitForLSN().
*/
typedef enum
{