Re: Should we add xid_current() or a int8->xid cast?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Should we add xid_current() or a int8->xid cast?
Дата
Msg-id 20190725004014.sexudijxr27shqfj@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Should we add xid_current() or a int8->xid cast?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Should we add xid_current() or a int8->xid cast?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

On 2019-07-24 20:34:39 -0400, Tom Lane wrote:
> Yeah, I would absolutely NOT recommend that you open that can of worms
> right now.  We have looked at adding unsigned integer types in the past
> and it looked like a mess.

I assume Thomas was thinking more of another bespoke type like xid, just
wider.  There's some notational advantage in not being able to
immediately do math etc on xids.

- Andres



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Should we add xid_current() or a int8->xid cast?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Should we add xid_current() or a int8->xid cast?