Re: Use streaming read I/O when enabling data checksums online

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: cca5507 <cca5507(at)qq(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Use streaming read I/O when enabling data checksums online
Date: 2026-06-03 13:25:08
Message-ID: 0CA37C20-1A2D-4897-9C5E-360E357414D6@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 3 Jun 2026, at 13:10, cca5507 <cca5507(at)qq(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2026-06-03 13:29:07 Re: Make memory checking / sanitizing infrastructure better
Previous Message Daniil Davydov 2026-06-03 13:23:20 BUG with accessing to temporary tables of other sessions still exists