Re: pg_lsn cast to/from int8

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pg_lsn cast to/from int8
Дата
Msg-id 20160126140043.u7dsfocz7zkbuolt@alap3.anarazel.de
обсуждение исходный текст
Ответ на pg_lsn cast to/from int8  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: pg_lsn cast to/from int8  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On 2016-01-26 14:56:21 +0100, Magnus Hagander wrote:
> Is there a reason we don't have casts between int8 and pg_lsn? AFAICT it
> works fine if I create the cast manually... Is it because of
> signed/unsigned if people have really really many transactions?

What for do you want that cast? Yes, the internally mostly share the
representation, but other than that, I don't really see why it's
interesting?



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

Предыдущее
От: Rushabh Lathia
Дата:
Сообщение: Re: Optimization for updating foreign tables in Postgres FDW
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: pg_lsn cast to/from int8