Re: "SQL" REPLACE SYNTAX

From: Francisco Reyes <lists(at)natserv(dot)com>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Manuel Lemos <mlemos(at)acm(dot)org>, PostgresSQL PHP list <pgsql-php(at)postgresql(dot)org>
Subject: Re: "SQL" REPLACE SYNTAX
Date: 2002-01-23 03:52:48
Message-ID: 20020122225144.S43699-100000@zoraida.natserv.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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.

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Francisco Reyes 2002-01-23 03:54:12 Re: Long running queries and timeouts
Previous Message Christopher Kings-Lynne 2002-01-23 01:44:12 "SQL" REPLACE SYNTAX