Re: report a typo in WaitReadBuffers

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Junwang Zhao <zhjwpku@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-10-20T07:06:42Z
Lists: pgsql-hackers
On Sun, Oct 20, 2024 at 11:20:34AM +0800, Junwang Zhao wrote:
> /*
> * How many neighboring-on-disk blocks can we can scatter-read into
> * other buffers at the same time? In this case we don't wait if we
> 
> Seems the second *can* is not necessary.

Yes, you are right.  This reads better without the second "can".
--
Michael

Commits

  1. Fix grammar of a comment in bufmgr.c