Re: Representation of redirected line pointers in HOT

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Representation of redirected line pointers in HOT
Дата
Msg-id 877imvh602.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Representation of redirected line pointers in HOT  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Representation of redirected line pointers in HOT  (Bruce Momjian <bruce@momjian.us>)
Re: Representation of redirected line pointers in HOT  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.us> writes:

>     LP_UNUSED    0
>     LP_NORMAL    1
>     LP_REDIRECT    2
>     LP_DEAD        3

> This seems hardly any uglier than the way the code stands today, and
> certainly a lot less ugly than what the current HOT patch proposes.
>
> Comments?

If I understand correctly this still leaves open the possibility of
implementing in the future "quick pruning" as we've been speculating about. We
could represent that with a line pointer which is LP_DEAD but still has a
length and offset. I'm not sure we need to do it now but I'll be glad if we
aren't foreclosing the possibility.

These kinds of rethinks are typical of the tension between someone writing a
patch to submit for review, where they often want to keep the lines of code
changed to a minimum to avoid conflicts and to avoid giving reviewers extra
code to read which, and normal code maintenance. 


--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com


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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Preparation for PostgreSQL releases 8.2.5, 8.1.10, 8.0.14, 7.4.18, 7.3.20
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Representation of redirected line pointers in HOT