Re: hiding variable-length fields from Form_pg_* structs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: hiding variable-length fields from Form_pg_* structs
Дата
Msg-id 993.1326135899@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: hiding variable-length fields from Form_pg_* structs  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: hiding variable-length fields from Form_pg_* structs  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> So I think the relcache.c thing should be fixed and then this might be
> good to go.

Cosmetic gripes: I think we could get rid of the various comments that
say things like "variable length fields start here", since the #ifdef
CATALOG_VARLEN lines now represent that in a standardized fashion.
Possibly those lines should be

#ifdef CATALOG_VARLEN        /* variable-length fields start here */

to be even clearer.

What would be appropriate to add instead of those inconsistently-used
comments is explicit comments about the exception cases such as
proargtypes, to make it clear that the placement of the #ifdef
CATALOG_VARLEN is intentional and not a bug in those cases.
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: hiding variable-length fields from Form_pg_* structs
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Why is CF 2011-11 still listed as "In Progress"?