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-12 06:31:39
Message-ID: si1ymhyek4.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:

> I'm not sure whether I like the notion of having to maintain multiple
> parsers in the future. We have always been quite fair in accepting
> extensions and aliases for compatibility, so I don't see a problem there.
> Then again, we're implemented an SQL server, not an Oracle server. If you
> want to convert your application there's this ora2pg thing.

An approach such as ora2pg solves a specific problem. It doesn't
really solve the general problem of people familiar with Oracle who
want to use Postgres. It doesn't at all solve my problem, which is to
have an application which can easily speak to either Oracle or
Postgres.

> > For example: the datatypes have different names; the set of reserved
> > words is different;
>
> Unless you have implemented a different parsing algorithm or want to rip
> out features you're going to have a hard time changing the set of reserved
> words.

That's why I'm implementing a different parsing algorithm.

Ian

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Rene Pijlman 2001-08-12 08:49:36 Re: [JDBC] JDBC pg_description update needed for CVS tip
Previous Message Ian Lance Taylor 2001-08-12 06:27:28 Re: Re: [PATCHES] Select parser at runtime

Browse pgsql-patches by date

  From Date Subject
Next Message Rene Pijlman 2001-08-12 08:49:36 Re: [JDBC] JDBC pg_description update needed for CVS tip
Previous Message Ian Lance Taylor 2001-08-12 06:27:28 Re: Re: [PATCHES] Select parser at runtime