Hi,

On Wed, Oct 14, 2026 at 1:31 PM Masahiko Sawada <[email protected]> wrote:
>
> > I noticed that two of the parallel vacuum's shared memory pointers
> > (VacuumSharedCostBalance and VacuumActiveNWorkers) are not reset on
> > the error path, leaving them dangling, that is, pointing to a shared
> > memory segment that is already gone, until the next vacuum runs in the
> > backend or autovacuum worker....
>
> +1 to explicitly clear these variables.
>
> Given that it doesn't cause any problems today, I think we can apply
> it only to master.

Other than keeping the version diff small, I don't have a strong
opinion on back-patching it to PG19, as it doesn't fix a bug. So
applying it on HEAD looks fine to me.

-- 
Bharath Rupireddy
Amazon Web Services: https://aws.amazon.com


Reply via email to