Re: Using read_stream in index vacuum - Mailing list pgsql-hackers

From Junwang Zhao
Subject Re: Using read_stream in index vacuum
Date
Msg-id CAEG8a3KCgh72iW5aMLEKGhrKzN9dQCHCJgL8KDz0ja4nvS5Xgg@mail.gmail.com
Whole thread Raw
In response to Re: Using read_stream in index vacuum  (Junwang Zhao <zhjwpku@gmail.com>)
List pgsql-hackers
On Wed, Oct 23, 2024 at 9:32 PM Andrey M. Borodin <x4mmm@yandex-team.ru> wrote:
>
>
>
> > On 22 Oct 2024, at 16:42, Melanie Plageman <melanieplageman@gmail.com> wrote:
> >
> > Ah, right, the callback might return InvalidBlockNumber far before
> > we've actually read (and vacuumed) the blocks it is specifying.
>
> I've discussed the issue with Thomas on PGConf.eu and he proposed to use stream reset.
> PFA v3.

Yeah, read_stream_reset fits better.

The patch LGTM, thanks.

>
>
> Best regards, Andrey Borodin.



--
Regards
Junwang Zhao



pgsql-hackers by date:

Previous
From: Alastair Turner
Date:
Subject: Re: Proposal for Integrating Data Masking and anonymization into PostgreSQL
Next
From: Nathan Bossart
Date:
Subject: Re: use a non-locking initial test in TAS_SPIN on AArch64