Re: BETWEEN SYMMETRIC/ASYMMETRIC
От | Bruce Momjian |
---|---|
Тема | Re: BETWEEN SYMMETRIC/ASYMMETRIC |
Дата | |
Msg-id | 200204180309.g3I39UW28931@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: BETWEEN SYMMETRIC/ASYMMETRIC ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>) |
Ответы |
Re: BETWEEN SYMMETRIC/ASYMMETRIC
|
Список | pgsql-hackers |
TODO updated: > * Add BETWEEN ASYMMETRIC/SYMMETRIC (Christopher) > * Christopher is Christopher Kings-Lynne <chriskl@familyhealth.com.au> --------------------------------------------------------------------------- Christopher Kings-Lynne wrote: > > "Christopher Kings-Lynne" <chriskl@familyhealth.com.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@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 по дате отправления: