Re: someone working to add merge? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: someone working to add merge?
Date
Msg-id 200511112006.35895.peter_e@gmx.net
Whole thread Raw
In response to Re: someone working to add merge?  (Jaime Casanova <systemguards@gmail.com>)
List 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/


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: someone working to add merge?
Next
From: "John Hansen"
Date:
Subject: Re: someone working to add merge?