Re: [PATCHES] Select parser at runtime

From: Ian Lance Taylor <ian(at)airs(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] Select parser at runtime
Date: 2001-08-11 23:35:49
Message-ID: siheve2mqy.fsf@daffy.airs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:

> Ian Lance Taylor writes:
>
> > I've been experimenting with using a different parser (one which is
> > more Oracle compatible).
>
> Why aren't you trying to add the missing pieces to the existing parser?

Because my goal is a parser which can accept Oracle code directly, and
Oracle does not use the same SQL syntax as Postgres. They are, of
course, very similar, but it is not the case that all the differences
are items missing from the Postgres parser. Some of them are items
which Postgres does in a different, typically more standards-
conforming, way.

For example: the datatypes have different names; the set of reserved
words is different; Oracle uses a weird syntax for outer joins.

Ian

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-08-12 00:14:32 Re: Re: Re: WIN32 errno patch
Previous Message Steve Howe 2001-08-11 22:36:49 Re: Re: WIN32 errno patch

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2001-08-12 00:14:32 Re: Re: Re: WIN32 errno patch
Previous Message Steve Howe 2001-08-11 22:36:49 Re: Re: WIN32 errno patch