Re: [GENERAL] Modifying SQL parser with extensions?

2006-10-29 Thread Matthias Luedtke
Tom, Tom Lane wrote: In fact, parsing this SQL dialect would just be the first step, as the annotations within the query induce an ordering of the result set. So I need this extra information in the query to accomplish the subsequent task of sorting the result set in a certain way before the r

Re: [GENERAL] Modifying SQL parser with extensions?

2006-10-29 Thread Matthias Luedtke
Alvaro Herrera wrote: In fact, parsing this SQL dialect would just be the first step, as the annotations within the query induce an ordering of the result set. Huh, what is this supposed to be able to do that you can't do with the already existing ORDER BY clause? Basically, conditional stat