Re: Is upper_inc ever true for dateranges? - Mailing list pgsql-general

From David G. Johnston
Subject Re: Is upper_inc ever true for dateranges?
Date
Msg-id CAKFQuwai8tKghXz87ctxx9WFEwMqpbH4_j2vWnhXudmYx-y2hw@mail.gmail.com
Whole thread Raw
In response to Is upper_inc ever true for dateranges?  (Ken Tanzer <ken.tanzer@gmail.com>)
Responses Re: Is upper_inc ever true for dateranges?
List pgsql-general
On Tue, Jul 28, 2020 at 2:19 PM Ken Tanzer <ken.tanzer@gmail.com> wrote:
So here's my question.  Will the upper_inc function always return false for a non-null daterange?  And if so, what's the point of the function?  And/or is it different for other kinds of ranges?

Ranges over discrete types are always canonicalized while ranges over non-discrete types (i.e., float) cannot.

David J.


pgsql-general by date:

Previous
From: Ken Tanzer
Date:
Subject: Is upper_inc ever true for dateranges?
Next
From: Ken Tanzer
Date:
Subject: Re: Is upper_inc ever true for dateranges?