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

From Andrey Borodin
Subject Re: Using read_stream in index vacuum
Date
Msg-id 65F792CD-1B54-4260-AE49-121EFB717363@yandex-team.ru
Whole thread Raw
In response to Re: Using read_stream in index vacuum  (Melanie Plageman <melanieplageman@gmail.com>)
Responses Re: Using read_stream in index vacuum
List pgsql-hackers

> On 18 Mar 2025, at 23:21, Melanie Plageman <melanieplageman@gmail.com> wrote:
>
> I actually think you could do the test with one injection point and
> just wait on it twice

I was not sure we can safely wake up on injection point and stop and the same point on next iteration.
But, apparently, it is safe, due to wait_counts in InjectionPointSharedState.

So, yes, your change to the test seems correct to me. We can do the test with just one injection point.


Best regards, Andrey Borodin.


pgsql-hackers by date:

Previous
From: Ilia Evdokimov
Date:
Subject: Re: Add missing tab completion for VACUUM and ANALYZE with ONLY option
Next
From: vignesh C
Date:
Subject: Re: Adding a '--clean-publisher-objects' option to 'pg_createsubscriber' utility.