Re: Use streaming read I/O when enabling data checksums online - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Use streaming read I/O when enabling data checksums online
Date
Msg-id 0CA37C20-1A2D-4897-9C5E-360E357414D6@yesql.se
Whole thread
In response to Use streaming read I/O when enabling data checksums online  ("cca5507" <cca5507@qq.com>)
List pgsql-hackers
> On 3 Jun 2026, at 13:10, cca5507 <cca5507@qq.com> wrote:

> Attach a simple patch for $subject. I think we prefer streaming IO instead of
> ReadBufferExtended(). Do I miss something?

Thanks!  This code was written well before read streams existed, and recent
work was focused on correctness of operation, that's the main reason it's using
ReadBufferExtended still.  We probably want do something like this once the
tree opens up after the v19 feature freeze.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Daniil Davydov
Date:
Subject: BUG with accessing to temporary tables of other sessions still exists
Next
From: Peter Eisentraut
Date:
Subject: Re: Make memory checking / sanitizing infrastructure better