Re: Use T_IntList for uint32

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Use T_IntList for uint32
Дата
Msg-id 20200901055635.GI3511@paquier.xyz
обсуждение исходный текст
Ответ на Re: Use T_IntList for uint32  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, Sep 01, 2020 at 01:27:15AM -0400, Tom Lane wrote:
> I've occasionally wondered about having exactly two physical List
> implementations, one for 32-bit payloads and one for 64-bit payloads, and
> then putting a trivial macros-or-static-inlines layer in front of that
> that uses casts to supply variants for pointers, signed ints, unsigned
> ints, etc etc.  There hasn't yet been enough reason to pursue doing it
> though.

FWIW, moving pg_list.h & co to have just two list implementations, based
on say bits32 and a new bits64 is something I was thinking about while
reading this thread.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: 回复:how to create index concurrently on partitioned table
Следующее
От: Junfeng Yang
Дата:
Сообщение: Is it possible to set end-of-data marker for COPY statement.