pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Diehl, Jeffrey <jdiehl@sandia.gov>
Cc: pgsql-sql@postgresql.org
Subject: Re: Replace into...?
Date: Tue, 27 Mar 2001 15:04:11 -0500
Message-ID: <15036.985723451@sss.pgh.pa.us> (raw)
In-Reply-To: <B51F0C636E578A4E832D3958690CD73E0130BE88@es04snlnt>
References: <B51F0C636E578A4E832D3958690CD73E0130BE88@es04snlnt>

"Diehl, Jeffrey" <jdiehl@sandia.gov> writes:
> I'm in the process of migrating a database and application suite from mysql
> to postgresql.  The problem is that I've used
> mysql's "replace into..." quite frequently...

> Does anyone know of a "clean" way to implement this feature in postgresql?
> I really don't want my applications to have to know what indexes are in
> place for a given table.

I'm confused.  What does "replace into" have to do with having to know
what indexes are in place?

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <15036.985723451@sss.pgh.pa.us>
Permalink:  ../15036.985723451@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15036.985723451@sss.pgh.pa.us

 · 

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-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jdiehl@sandia.gov
  Subject: Re: Replace into...?
  In-Reply-To: <15036.985723451@sss.pgh.pa.us>
  References: <B51F0C636E578A4E832D3958690CD73E0130BE88@es04snlnt> <15036.985723451@sss.pgh.pa.us>

* 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