Re: Tidy fill hstv array (src/backend/access/heap/pruneheap.c)

From: John Naylor <johncnaylorls(at)gmail(dot)com>
To: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Tidy fill hstv array (src/backend/access/heap/pruneheap.c)
Date: 2024-01-09 09:31:20
Message-ID: CANWCAZZDYh8XrMncdArse=37CtHy0nLLZ5a=4aoARj7t9wwCxw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Dec 28, 2023 at 7:58 PM Ranier Vilela <ranier(dot)vf(at)gmail(dot)com> wrote:
> I think it would be more productive to initialize the entire array with -1, and avoid flagging, one by one, the items that should 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2024-01-09 09:37:20 Re: In-placre persistance change of a relation
Previous Message Amit Kapila 2024-01-09 09:25:37 Re: speed up a logical replica setup