Re: What is an item pointer, anyway?

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: What is an item pointer, anyway?
Дата
Msg-id CAH2-Wz=-VKe_ZXc78VC9K7f8xOGuUc6PafL+Vx2qwKH5dYEGtA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: What is an item pointer, anyway?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: What is an item pointer, anyway?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Apr 26, 2019 at 4:57 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> ItemId[Data] is somewhat less widely referenced, but I'm still not
> much in favor of renaming that type.  I think fixing comments to
> uniformly call it an item ID would be more reasonable.  (We should
> leave the "line pointer" terminology in place, too; if memory serves,
> an awful lot of variables of the type are named "lp" or variants.
> Renaming all of those is to nobody's benefit.)

I was proposing that we not rename any struct at all, and continue to
call ItemId[Data]s "line pointers" only.  This would involve removing
the comment in itemid.h that confusingly refers to line pointers as
"item pointers" (plus any other comments that fail to make a clear
distinction).

I think that the total number of comments that would be affected by
this approach is quite low.

-- 
Peter Geoghegan



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: What is an item pointer, anyway?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: What is an item pointer, anyway?