Re: Range Types - symmetric - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Range Types - symmetric
Date
Msg-id 1316975454.7281.234.camel@jdavis
Whole thread Raw
In response to Re: Range Types - symmetric  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Range Types - symmetric
List pgsql-hackers
On Sat, 2011-09-24 at 10:49 -0400, Bruce Momjian wrote:
> > I'll add that it would also cause a little confusion with inclusivity.
> > What if you do: '[5,2)'::int4range? Is that really '[2,5)' or '(2,5]'?
> 
> Reminder:  BETWEEEN supports the SYMMETRIC keyword, so there is
> a precedent for this.

And I don't see it as valuable enough to justify changing the grammar.

Also, that still leaves confusion about inclusivity when applied to
range types. 

Regards,Jeff Davis



pgsql-hackers by date:

Previous
From: Marti Raudsepp
Date:
Subject: Re: index-only scans
Next
From: Joshua Berkus
Date:
Subject: Re: Range Types - symmetric