Re: Rename dead_tuples to dead_items in vacuumlazy.c - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Rename dead_tuples to dead_items in vacuumlazy.c
Date
Msg-id CAH2-WzmqEsU7z04ViQU+m0R+TC3nhALoy3JsVWjVQiSbccNeFg@mail.gmail.com
Whole thread Raw
In response to Re: Rename dead_tuples to dead_items in vacuumlazy.c  (Masahiko Sawada <sawada.mshk@gmail.com>)
Responses Re: Rename dead_tuples to dead_items in vacuumlazy.c
List pgsql-hackers
On Wed, Nov 24, 2021 at 4:48 AM Masahiko Sawada <sawada.mshk@gmail.com> wrote:
> The patch renames dead tuples to dead items at some places and  to
> dead TIDs at some places.

> I think it's more consistent if we change it to one side. I prefer "dead items".

I just pushed a version of the patch that still uses both terms when
talking about dead_items. But the final commit actually makes it clear
why, in comments above the LVDeadItems struct itself: LVDeadItems is
used by both index vacuuming and heap vacuuming.

Thanks
-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Rationalizing declarations of src/common/ variables
Next
From: "Bossart, Nathan"
Date:
Subject: Re: XMAX_LOCK_ONLY and XMAX_COMMITTED (fk/multixact code)