Re: remove ATTRIBUTE_FIXED_PART_SIZE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: remove ATTRIBUTE_FIXED_PART_SIZE
Дата
Msg-id 27705.1534617420@sss.pgh.pa.us
обсуждение исходный текст
Ответ на remove ATTRIBUTE_FIXED_PART_SIZE  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: remove ATTRIBUTE_FIXED_PART_SIZE
Список pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> Since the introduction of the CATALOG_VARLEN stuff, the fixed size of
> pg_attribute is exactly sizeof(FormData_pg_attribute), so the ancient
> mechanism to track the fixed size manually using
> ATTRIBUTE_FIXED_PART_SIZE can be removed.

Meh, I'm not sure about this.  What about the possibility of trailing
padding after the last fixed column, as the comment you propose to
remove is talking about?  Sure, we don't have that today, but we
might again the next time somebody adds a column to pg_attribute.

            regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: remove ATTRIBUTE_FIXED_PART_SIZE
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Fix hints on CREATE PROCEDURE errors