Skip site navigation (1) Skip section navigation (2)

Re: Modifying SQL parser with extensions?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Matthias Luedtke <matthias-luedtke(at)gmx(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: Modifying SQL parser with extensions?
Date: 2006-10-30 01:10:22
Message-ID: 2911.1162170622@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
Alvaro Herrera <alvherre(at)commandprompt(dot)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

In response to

pgsql-general by date

Next:From: GanboldDate: 2006-10-30 02:30:19
Subject: postgresql books and convertion utilities
Previous:From: Peter WilsonDate: 2006-10-29 23:11:06
Subject: Re: Wordpress & PostgreSQL ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group