Re: Range types - Mailing list pgsql-hackers

From Scott Bailey
Subject Re: Range types
Date
Msg-id 4B292D8F.5070800@comcast.net
Whole thread Raw
In response to Range types  (Scott Bailey <artacus@comcast.net>)
Responses Re: Range types
List pgsql-hackers
Ok, silly question here. But how do you determine the length of a 
continuous range? By definition length of [a, b) and (a, b] = b-a. But 
what about (a,b) and [a,b]? Are we saying that because they are 
continuous, the difference between values included in the range and 
those excluded are so infinitesimally small so as not to matter? Thus 
length (a,b) == length [a,b] == length [a,b)? And if that is the case, 
does the inclusiveness of the range really even matter?

And can anyone point me to a reference for working with continuous 
ranges? Google just insists that I spelled contiguous wrong.

Scott


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Update on true serializable techniques in MVCC
Next
From: Tom Lane
Date:
Subject: Re: Range types