From: Francisco Reyes <lists@natserv.com>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: Manuel Lemos <mlemos@acm.org>
Cc: PostgresSQL PHP list <pgsql-php@postgresql.org>
Subject: Re: "SQL" REPLACE SYNTAX
Date: Tue, 22 Jan 2002 22:52:48 -0500 (EST)
Message-ID: <20020122225144.S43699-100000@zoraida.natserv.net> (raw)
In-Reply-To: <GNELIHDDFBOCMGBFGEFOKECFCBAA.chriskl@familyhealth.com.au>
On Wed, 23 Jan 2002, Christopher Kings-Lynne wrote:
> Here's an idea: look at their code to see what kind of SQL jiggery pokery
> they needed to implement it and then implement it ourselves...
I wish PostgreSQL got this functionality.
>
> BTW, from my estimates you'd need at least 4 - 6 sql queries to simulate the
> REPLACE syntax for Postgres, so why on earth would you use it?
> Chris
Why so many? It is simple enough to attempt a delete and then do an
insert.
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: lists@natserv.com, chriskl@familyhealth.com.au, mlemos@acm.org
Subject: Re: "SQL" REPLACE SYNTAX
In-Reply-To: <20020122225144.S43699-100000@zoraida.natserv.net>
References: <GNELIHDDFBOCMGBFGEFOKECFCBAA.chriskl@familyhealth.com.au> <20020122225144.S43699-100000@zoraida.natserv.net>
* 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