Re: Rename dead_tuples to dead_items in vacuumlazy.c
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Masahiko Sawada <sawada.mshk@gmail.com>, Peter Geoghegan <pg@bowt.ie>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-11-24T15:50:13Z
Lists: pgsql-hackers
On Wed, Nov 24, 2021 at 9:51 AM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote: > On 2021-Nov-24, Robert Haas wrote: > > Hmm. I think in my model an item and an item pointer and a line > > pointer are all the same thing, but a TID is different. When I talk > > about a TID, I mean the location of an item pointer, not its contents. > > So a TID is what tells me that I want block 5 and the 4th slot in the > > item pointer array. The item pointer tells me that the associate tuple > > is at a certain position in the page and has a certain length. > > OK, but you can have item pointers that don't have any item. > LP_REDIRECT, LP_DEAD, LP_UNUSED item pointers don't have items. I guess so. I said before that I thought an item and an item pointer were the same, but on reflection, that doesn't entirely make sense. But I don't know that I like making item and tuple synonymous either. I think perhaps the term "item" by itself is not very clear. -- Robert Haas EDB: http://www.enterprisedb.com
Commits
-
vacuumlazy.c: fix remaining "dead tuple" references.
- 4bdfe6855901 15.0 landed
-
vacuumlazy.c: Rename dead_tuples to dead_items.
- 4f8d9d121795 15.0 landed
-
Remove tupgone special case from vacuumlazy.c.
- 8523492d4e34 14.0 cited
-
Standardize ItemIdData terminology.
- ae7291acbc5a 12.0 cited