Re: Writing oracle/postgress generic SQL - Mailing list pgsql-general

From Tom Lane
Subject Re: Writing oracle/postgress generic SQL
Date
Msg-id 17742.1172242486@sss.pgh.pa.us
Whole thread Raw
In response to Writing oracle/postgress generic SQL  ("Ben Edwards" <funkytwig@gmail.com>)
List pgsql-general
"Ben Edwards" <funkytwig@gmail.com> writes:
> Anyone know of any guidelines for writing SQL which works under Oracle
> witch will also work under postgress.

The only thing that means anything is testing on both :-(.  Yeah, there
is a SQL standard, but there is no DBMS anywhere in the world that
implements all and only what is in the spec.  Exhibit A in this regard
is that the standard refuses to specify any user-visible index
manipulation; so the moment you write anything like CREATE INDEX you
are on implementation-dependent ground.

            regards, tom lane

pgsql-general by date:

Previous
From: "Karl O. Pinc"
Date:
Subject: Re: Supported plpgsql BEFORE ... EACH ROW behavior
Next
From: "Anton Melser"
Date:
Subject: Re: greedy or not? regexps...