Re: BETWEEN SYMMETRIC/ASYMMETRIC - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: BETWEEN SYMMETRIC/ASYMMETRIC
Date
Msg-id 200204180324.g3I3OSE01121@candle.pha.pa.us
Whole thread Raw
In response to Re: BETWEEN SYMMETRIC/ASYMMETRIC  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
Christopher Kings-Lynne wrote:
> > > So should I go ahead and submit a patch for BETWEEN that adds SYMMETRY
> > > support in the old-style code, and then at a later stage submit
> > a patch that
> > > makes BETWEEN a proper node?
> >
> > Sure, I think that makes sense.  The larger BETWEEN node code will be
> > tricky.
> 
> Question: Why have you created a special case for NOT BETWEEN?  Wouldn't you
> just need a BETWEEN node and the NOT node will handle the NOTing?
> 
> Or is it because BETWEEN isn't a node at the moment?

Well, looking at the grammar, I don't know how I could have gotten NOT
into that construction.  There are two parameters separated by AND and I
didn't know how to do it.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: "Rod Taylor"
Date:
Subject: Re: [PATCHES] YADP - Yet another Dependency Patch
Next
From: Tom Lane
Date:
Subject: Re: BETWEEN SYMMETRIC/ASYMMETRIC