Dean Rasheed <dean.a.rash...@gmail.com> writes: > On Fri, 27 Oct 2023 at 13:56, Ashutosh Bapat > <ashutosh.bapat....@gmail.com> wrote: >> Should we change this to call INTERVAL_NOBEGIN() to be added by >> infinite interval patches?
> Given that this is a bug that can lead to incorrect query results, I > plan to back-patch it, and INTERVAL_NOBEGIN() wouldn't make sense in > back-branches that don't have infinite intervals. Agreed. When/if the infinite interval patch lands, it could update this function to use the macro. regards, tom lane