Re: someone working to add merge?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jaime Casanova <systemguards(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, Josh Berkus <josh(at)agliodbs(dot)com>
Subject: Re: someone working to add merge?
Date: 2005-11-11 19:06:35
Message-ID: 200511112006.35895.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jaime Casanova wrote:
> REPLACE will delete old records to insert new ones; MERGE try to
> insert and if the record exists then can UPDATE just a few values,
> maybe incrementing them with a value (all the calculation are doing
> by the MERGE)

I'm not the expert on REPLACE, but it would seem that REPLACE is a
special case of MERGE.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message John Hansen 2005-11-11 19:07:00 Re: someone working to add merge?
Previous Message Peter Eisentraut 2005-11-11 19:04:35 Re: someone working to add merge?