Re: report a typo in WaitReadBuffers

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Junwang Zhao <zhjwpku(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: report a typo in WaitReadBuffers
Date: 2024-10-20 07:06:42
Message-ID: ZxSsAhSyDRTnmoAS@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2024-10-20 07:07:16 Fix C23 compiler warning
Previous Message Joel Jacobson 2024-10-20 06:19:39 Add pg_ownerships and pg_privileges system views