Re: application compatibility with Oracle

From: Tino Wildenhain <tino(at)wildenhain(dot)de>
To: adivi <adivi(at)maximizelearning(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: application compatibility with Oracle
Date: 2003-07-10 05:26:49
Message-ID: 3F0CF919.7060604@wildenhain.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi adivi,

first of all, every technical mailinglist I know doesnt
like HTML mails. You got an interesting indentation style
anyway ;)

I'd recommend an abstraction layer for your Application
which resolves the database specific part.

Although you can stick to the subset of constructs which
will be supported by both databases, you cannot optimize
your queries for maximal performance during the different
implementations.

So most Applications which support more then one database
have different backend-handler with their special queries.

If you built and intelligent solution, you could write
most of the simpler statements in a way working well
on both systems and derive the layer and only replace
the complex queries with specialized ones for the given DB.

HTH
Tino Wildenhain

adivi wrote:
> hi,
>
> i am looking to write applications in .net
> ( using odbc or some faster but similar compatible tech.)
> that could run with
> PostGreSql OR Oracle
> with minimal changes.( any other database server compatibility would be
> a bonus !)
>
> for this i need to know
> what database constructs and
> programming techniques
> i can use so that the application would run with either
> PostGreSql or Oracle.
>
> any advice in this regards is greatly appreciated
>
> TIA
>
> regards
> -adivi

In response to

Browse pgsql-general by date

  From Date Subject
Next Message icaplovic 2003-07-10 06:06:41 PostgreSQL, Cygwin - setting locales
Previous Message Roderick A. Anderson 2003-07-09 23:38:32 psql only on client (RPM)