Re: BETWEEN patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Swan <tswan(at)ics(dot)olemiss(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: BETWEEN patch
Date: 2001-01-26 04:15:09
Message-ID: 28546.980482509@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thomas Swan <tswan(at)ics(dot)olemiss(dot)edu> writes:
> select * from foo where fo_num between 1 and 5
> yields the same result as
> select * from foo where fo_num between 5 and 1
>>
>> This is NOT correct under either SQL92 or SQL99. Read the spec again.

> After sending it... I realized that it was not correct either. So, I'm
> back to figuring how to do it... so, um, ignore the previous patch...

Someone (Easter, IIRC) already submitted a patch to support the SQL99
SYMMETRIC BETWEEN option. I think we're sitting on it till 7.2, on the
grounds of "no new features in beta". Check the list archives for the
last few weeks if you need it now.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 2001-01-26 04:18:15 Re: Open 7.1 items
Previous Message Hiroshi Inoue 2001-01-26 04:09:11 Re: Open 7.1 items