Re: Modifying SQL parser with extensions? - Mailing list pgsql-general

From Tom Lane
Subject Re: Modifying SQL parser with extensions?
Date
Msg-id 2911.1162170622@sss.pgh.pa.us
Whole thread Raw
In response to Re: Modifying SQL parser with extensions?  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-general
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Matthias Luedtke wrote:
>> Basically, conditional statements are annotated with integers that
>> represent weights, like
>>
>> (...)WHERE (foo = 'a')[42] OR (bar = 'b')[20]

> (That particular notation has the drawback that the [n]
> would be interpreted as an array index though.)

Indeed --- unless you are prepared to rip out array support, you had
better choose some other notation.

            regards, tom lane

pgsql-general by date:

Previous
From: Ashley Moran
Date:
Subject: Re: Wordpress & PostgreSQL ...
Next
From: Ganbold
Date:
Subject: postgresql books and convertion utilities