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

From Alvaro Herrera
Subject Re: Modifying SQL parser with extensions?
Date
Msg-id 20061029162506.GB2388@alvh.no-ip.org
Whole thread Raw
In response to Modifying SQL parser with extensions?  (Matthias Lüdtke <matthias-luedtke@gmx.de>)
Responses Re: Modifying SQL parser with extensions?  (Richard Troy <rtroy@ScienceTools.com>)
Re: Modifying SQL parser with extensions?  (Matthias Lüdtke <matthias-luedtke@gmx.de>)
List pgsql-general
Matthias Lüdtke wrote:
> Hi everyone,
>
> I am searching for the easiest way to let PostgreSQL parse a special
> dialect of SQL. The dialect I want to parse augments common SQL in a way
> that enables expressions within a WHERE clause to be annotated and is
> thus not compatible with the standard SQL syntax anymore.

No, there's no mechanism for that.  You'd have to preprocess the query
before passing it to PostgreSQL.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Instead of Triggers
Next
From: Alvaro Herrera
Date:
Subject: Re: Instead of Triggers