A out of date comment of WaitForWALToBecomeAvailable - Mailing list pgsql-hackers

From Andy Fan
Subject A out of date comment of WaitForWALToBecomeAvailable
Date
Msg-id 1609c75b.2093.19c0cbc20b6.Coremail.zhihuifan1213@163.com
Whole thread Raw
Responses Re: A out of date comment of WaitForWALToBecomeAvailable
List pgsql-hackers
Hi, 

The following comment looks out of date now. should we fix it as following?

  *
- * If the record is not immediately available, the function returns false
+ * If the record is not immediately available, the function returns XLREAD_FAIL
  * if we're not in standby mode. In standby mode, waits for it to become
  * available.
  *
..
static XLogPageReadResult
WaitForWALToBecomeAvailable(XLogRecPtr RecPtr, bool randAccess, ..)

Thanks

pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Document NULL
Next
From: Fujii Masao
Date:
Subject: Re: BUG: Cascading standby fails to reconnect after falling back to archive recovery