From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Justin Clift <justin(at)postgresql(dot)org> |
Cc: | Ian Harding <ianh(at)tpchd(dot)org>, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>, pgsql-general(at)postgresql(dot)org, dean(at)tmdt(dot)com(dot)tw |
Subject: | Re: [HACKERS] [Fwd: MS SQL compatible functions] |
Date: | 2002-02-07 00:37:02 |
Message-ID: | 200202070037.g170b2w19171@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Justin Clift wrote:
> Hi Ian,
>
> A compatibility has already been considered for Oracle, you're
> mentioning one for MS SQL Server.
>
> Maybe it's time to think about how an abstraction layer could be added,
> and then appropriate Oracle/Sybase/Informix/MSSQL/etc
> modules/plug-ins/layers could be added to that?
>
> Wonder how much work it would take?
It's on the TODO list and I am willing to outline the options anytime.
One way is to have SQL functions that can be run on a desired database
to CREATE FUNCTION various compatibility functions. I think there are
some for ODBC and I can imagine others.
For syntax stuff, I think the cleanest way would be to have a parser run
_before_ the main parser, rewriting stuff into PostgreSQL syntax and
cleaning up issues.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Command Prompt, Inc. | 2002-02-07 00:38:10 | Re: PgManage (GUI Manager) Update |
Previous Message | Samik Raychaudhuri | 2002-02-07 00:06:50 | Install postmaster as service in win2K |
From | Date | Subject | |
---|---|---|---|
Next Message | Lamar Owen | 2002-02-07 00:48:13 | Re: [HACKERS] PostgreSQL v7.2 Final Release |
Previous Message | Laurette Cisneros | 2002-02-07 00:35:25 | text array |