Re: pg_lsn cast to/from int8
От | Craig Ringer |
---|---|
Тема | Re: pg_lsn cast to/from int8 |
Дата | |
Msg-id | CAMsr+YGGh+FMY1jUcMHWmsvLTB9rjTRUJ6eaRE1A++h-Gd81wQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: pg_lsn cast to/from int8 (Magnus Hagander <magnus@hagander.net>) |
Ответы |
Re: pg_lsn cast to/from int8
|
Список | pgsql-hackers |
On 26 January 2016 at 22:07, Magnus Hagander <magnus@hagander.net> wrote:
In this case, mostly legacy compatibility. Making an app that works with versions that don't have pg_lsn have a nice path forward to the modern world. Being able to cast from pg_lsn to int8 can also make it easier to work with the values in the client application, though I don't need that for this particular one.
Wouldn't we need a uint8 type for that?
I guess we could just show people negative LSNs if the high bit is set (that being rather unlikely) but still...
В списке pgsql-hackers по дате отправления: