Re: SQL function parse error ? - Mailing list pgsql-sql

From Achilleus Mantzios
Subject Re: SQL function parse error ?
Date
Msg-id Pine.LNX.4.44.0301091723290.22067-100000@matrix.gatewaynet.com
Whole thread Raw
In response to Re: SQL function parse error ?  ("Radu-Adrian Popescu" <radu.popescu@aldratech.com>)
Responses Re: SQL function parse error ?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
On Thu, 9 Jan 2003, Radu-Adrian Popescu wrote:

>
>
> Why is that ? Because the >$ does not exist, not in the default operator
> list (also there is no operator defined
> using $ anywhere within). And because whitespacing the code solves the
> problem, which is rather thin, i must say.
>

Radu-Adrian,
i think the parser is built with yacc, (not "from scratch code") so
maybe finding if ">$" is in the specific DB's operators
would require code that whould slower the whole parsing
process (imagine what it means for performance).


==================================================================
Achilleus Mantzios
S/W Engineer
IT dept
Dynacom Tankers Mngmt
Nikis 4, Glyfada
Athens 16610
Greece
tel:    +30-10-8981112
fax:    +30-10-8981877
email:  achill@matrix.gatewaynet.com       mantzios@softlab.ece.ntua.gr



pgsql-sql by date:

Previous
From: "Radu-Adrian Popescu"
Date:
Subject: Re: SQL function parse error ?
Next
From: "Radu-Adrian Popescu"
Date:
Subject: Re: SQL function parse error ?