Re: +(pg_lsn, int8) and -(pg_lsn, int8) operators
Вложения
В списке pgsql-hackers по дате отправления:
| От | Fujii Masao |
|---|---|
| Тема | Re: +(pg_lsn, int8) and -(pg_lsn, int8) operators |
| Дата | |
| Msg-id | c849ce81-e7bf-1d62-9b0f-959d2a1b467d@oss.nttdata.com обсуждение исходный текст |
| Ответ на | Re: +(pg_lsn, int8) and -(pg_lsn, int8) operators (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: +(pg_lsn, int8) and -(pg_lsn, int8) operators
Re: +(pg_lsn, int8) and -(pg_lsn, int8) operators |
| Список | pgsql-hackers |
On 2020/04/28 1:24, Robert Haas wrote: > On Sun, Apr 26, 2020 at 9:41 PM Kyotaro Horiguchi > <horikyota.ntt@gmail.com> wrote: >> +1. I actually sometimes need it. >> >> y the way, -(pg_lsn, pg_lsn) yields a numeric. > > It might be a good idea to use numeric here, too. Because int8 is > signed, it's not big enough to cover the whole range of LSNs. Yes. Attached is the updated version of the patch, which introduces +(pg_lsn, numeric) and -(pg_lsn, numeric) operators. To implement them, I added also numeric_pg_lsn() function that converts numeric to pg_lsn. Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера