Re: Modifying SQL parser with extensions?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Matthias Luedtke <email(at)matthias-luedtke(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Modifying SQL parser with extensions?
Date: 2006-10-29 16:25:06
Message-ID: 20061029162506.GB2388@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2006-10-29 16:27:12 Re: Instead of Triggers
Previous Message Michael Fuhr 2006-10-29 16:24:02 Re: Instead of Triggers