pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Manuel Lemos <mlemos@acm.org>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: Francisco Reyes <lists@natserv.com>
Cc: PostgresSQL PHP list <pgsql-php@postgresql.org>
Subject: Re: PHP Abstraction layers
Date: Tue, 22 Jan 2002 03:01:31 -0200
Message-ID: <3C4CF22B.DDEB93AE@acm.org> (raw)
References: <GNELIHDDFBOCMGBFGEFOGECDCBAA.chriskl@familyhealth.com.au>

Hello,

Christopher Kings-Lynne wrote:
> 
> > A new release of Metabase was made just yesterday. It provides some
> > features that users were requesting like the ability to customize error
> > handling. It also provides yet another innovating features, which is the
> > SQL REPLACE implementation. This is a statement like SQL INSERT except
> > that if the values of the primary keys match the ones of an existing
> > row, it will update that row instead of inserting a new one. AFAIK, only
> > MySQL provides SQL REPLACE command, but Metabase provides a suitable
> > emulation that works the same way using transactions so it works also
> > with PostgreSQL, Oracle, MS-SQL server, Informix, Interbase, etc..
> 
> *cough* Callling it 'SQL REPLACE' is a bit of a misnomer.  It is not
> specified anywhere in the SQL standard. (Like lots of MySQL stuff)

Still it is a good thing (tm). SQL standard is also a bit misnomer
because every database vendor ships its own extensions and its own
non-standard compliant quirks. My favourite is that Oracle stores empty
strings in VARCHAR fields as NULLs. :-)

Regards,
Manuel Lemos



view thread (12+ messages)  latest in thread

Message-ID: <3C4CF22B.DDEB93AE@acm.org>
Permalink:  ../3C4CF22B.DDEB93AE@acm.org/
Also on:    postgresql.org/message-id/3C4CF22B.DDEB93AE@acm.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: mlemos@acm.org, chriskl@familyhealth.com.au, lists@natserv.com
  Subject: Re: PHP Abstraction layers
  In-Reply-To: <3C4CF22B.DDEB93AE@acm.org>
  References: <GNELIHDDFBOCMGBFGEFOGECDCBAA.chriskl@familyhealth.com.au> <3C4CF22B.DDEB93AE@acm.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox