Re: Making empty Bitmapsets always be NULL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Making empty Bitmapsets always be NULL
Дата
Msg-id 1785055.1677716790@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Making empty Bitmapsets always be NULL  (Nathan Bossart <nathandbossart@gmail.com>)
Список pgsql-hackers
Nathan Bossart <nathandbossart@gmail.com> writes:
> On Wed, Mar 01, 2023 at 05:59:45PM -0500, Tom Lane wrote:
>> +     /* attidx is zero-based, attrnum is the normal attribute number */
>> +     int         attrnum = attidx + FirstLowInvalidHeapAttributeNumber;

> nitpick: Shouldn't this be an AttrNumber?

I stuck with the existing type choices for those variables,
but I don't mind changing to AttrNumber here.

            regards, tom lane



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

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: Re: Making empty Bitmapsets always be NULL
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Memory leak from ExecutorState context?