Re: Writing oracle/postgress generic SQL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ben Edwards" <funkytwig(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Writing oracle/postgress generic SQL
Date: 2007-02-23 14:54:46
Message-ID: 17742.1172242486@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ben Edwards" <funkytwig(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Anton Melser 2007-02-23 14:56:07 Re: greedy or not? regexps...
Previous Message Tom Lane 2007-02-23 14:46:35 Re: greedy or not? regexps...