Re: Infinite Interval

Поиск
Список
Период
Сортировка
Искать
От
Ashutosh Bapat
Тема
Re: Infinite Interval
Дата
Msg-id
CAExHW5u2ccv+p4bahZ9qh8yF50W77wnsp_dsMMQeSfkqvL4MjQ@mail.gmail.com
Ответ на
Infinite Interval (Joseph Koshakow)
Список
Дерево обсуждения
Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval jian he <jian.universality@gmail.com>
Re: Infinite Interval Vik Fearing <vik@postgresfriends.org>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval jian he <jian.universality@gmail.com>
Re: Infinite Interval jian he <jian.universality@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval jian he <jian.universality@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval jian he <jian.universality@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval "Gregory Stark (as CFM)" <stark.cfm@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval jian he <jian.universality@gmail.com>
Re: Infinite Interval jian he <jian.universality@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval jian he <jian.universality@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval jian he <jian.universality@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval jian he <jian.universality@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval jian he <jian.universality@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval jian he <jian.universality@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Joseph Koshakow <koshy44@gmail.com>
Re: Infinite Interval Tom Lane <tgl@sss.pgh.pa.us>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Isaac Morland <isaac.morland@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Infinite Interval Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Hi Joseph,
I stumbled upon this requirement a few times. So I started working on
this support in my spare time as a hobby project to understand
horology code in PostgreSQL. This was sitting in my repositories for
more than an year. Now that I have someone else showing an interest,
it's time for it to face the world. Rebased it, fixed conflicts.

PFA patch implementing infinite interval. It's still WIP, there are
TODOs in the code and also the commit message lists things that are
known to be incomplete. You might want to assess expected output
carefully

On Sun, Dec 11, 2022 at 12:51 AM Joseph Koshakow  wrote:>
> The proposed design from the most recent thread was to reserve
> INT32_MAX months for infinity and INT32_MIN months for negative
> infinity. As pointed out in the thread, these are currently valid
> non-infinite intervals, but they are out of the documented range.

The patch uses both months and days together to avoid this problem.

Please feel free to complete the patch, work on review comments etc. I
will help as and when I find time.

-- 
Best Wishes,
Ashutosh Bapat
В списке pgsql-hackers по дате отправления
От: Pavel Stehule
Дата:
От: Ajin Cherian
Дата:
FAQ