Re: Tidy fill hstv array (src/backend/access/heap/pruneheap.c) - Mailing list pgsql-hackers

From John Naylor
Subject Re: Tidy fill hstv array (src/backend/access/heap/pruneheap.c)
Date
Msg-id CANWCAZZDYh8XrMncdArse=37CtHy0nLLZ5a=4aoARj7t9wwCxw@mail.gmail.com
Whole thread Raw
In response to Tidy fill hstv array (src/backend/access/heap/pruneheap.c)  (Ranier Vilela <ranier.vf@gmail.com>)
Responses Re: Tidy fill hstv array (src/backend/access/heap/pruneheap.c)
List pgsql-hackers
On Thu, Dec 28, 2023 at 7:58 PM Ranier Vilela <ranier.vf@gmail.com> wrote:
> I think it would be more productive to initialize the entire array with -1, and avoid flagging, one by one, the items
thatshould be -1. 

This just moves an operation from one place to the other, while
obliterating the explanatory comment, so I don't see an advantage.



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: speed up a logical replica setup
Next
From: vignesh C
Date:
Subject: Re: In-placre persistance change of a relation