A minor correction in comment in heaptuple.c

Поиск
Список
Период
Сортировка
От Amit Langote
Тема A minor correction in comment in heaptuple.c
Дата
Msg-id CA+HiwqFVGLvvyiEJzNjy+KeG+aU8PV3J4gK94bN4FXJesj7ikA@mail.gmail.com
обсуждение исходный текст
Ответы Re: A minor correction in comment in heaptuple.c  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Hi,

Should it be: "return true if attnum is out of range according to the
tupdesc" instead of "return NULL if attnum is out of range according
to the tupdesc" at src/backend/access/common/heaptuple.c: 1345

/*
 * return true if attnum is out of range according to the tupdesc
*/
if (attnum > tupleDesc->natts)
return true;

Attached patch fixes this.

--
Amit Langote

Вложения

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Spin Lock sleep resolution
Следующее
От: Andres Freund
Дата:
Сообщение: Re: extensible external toast tuple support