From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: BETWEEN SYMMETRIC/ASYMMETRIC |
Date: | 2002-04-18 03:09:30 |
Message-ID: | 200204180309.g3I39UW28931@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
TODO updated:
> * Add BETWEEN ASYMMETRIC/SYMMETRIC (Christopher)
> * Christopher is Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
---------------------------------------------------------------------------
Christopher Kings-Lynne wrote:
> > "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> writes:
> > > Also, Tom (or anyone): in regards to your previous email,
> > should I just go
> > > back to using opt_symmetry to shorten the number of productions, since I
> > > have to make them reserved words anyway?
> >
> > Might as well. No point in writing more productions if it doesn't buy
> > anything.
>
> Since it's really just two ways of writing the same thing, wouldn't bison
> just produce the exact same C code? I'll rewrite it anyway for elegance,
> but just wondering...
>
> > BTW, I've forgotten whether your patch is purely syntactic or not,
> > but I'd really like to see someone fix things so that BETWEEN has its
> > own expression node tree type and is not expanded into some ugly
> > "A>=B and A<=C" equivalent. This would (a) allow it to be
> > reverse-listed reasonably, and (b) eliminate redundant evaluations of
> > the subexpressions.
>
> It is purely syntactic. Anyone want to give me a quick hint on how to make
> a new node tree type for BETWEEN? What does reverse-listing mean as well?
>
> Chris
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Larry Rosenman | 2002-04-18 03:14:20 | Re: [HACKERS] build of 7.2.1 on SCO Openserver and |
Previous Message | Bruce Momjian | 2002-04-18 03:06:45 | Re: Re : Solaris Performance - Profiling (Solved) |