Re: Use T_IntList for uint32

Поиск
Список
Период
Сортировка
От Ashutosh Bapat
Тема Re: Use T_IntList for uint32
Дата
Msg-id CAExHW5tZBAPs8XHtMUF8QVayLGqUBw=hxB5KTEyr0v9_SQvvdQ@mail.gmail.com
обсуждение исходный текст
Ответ на Use T_IntList for uint32  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: Use T_IntList for uint32  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
On Mon, Aug 31, 2020 at 4:59 PM Amit Kapila <amit.kapila16@gmail.com> wrote:

> Now, as far as I can see there is no problem in using T_IntList in
> such usage because we are not going to fetch stored unsigned value as
> a signed value, so the comparison in get_schema_sent_in_streamed_txn
> should work well. However, still, I thought it would be better if
> there is a built-in T_UIntList.
>
> Thoughts?

May be we should have separate list APIs for XID like OID, in case we
change underlying datatype of XID in future (unlikely but we have had
discussion about 64bit XIDs in the past). Apart from that it helps us
track code which deals with XID lists.


-- 
Best Wishes,
Ashutosh Bapat



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

Предыдущее
От: Pavel Borisov
Дата:
Сообщение: Re: Yet another fast GiST build (typo)
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: Ideas about a better API for postgres_fdw remote estimates