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

From Josh Berkus
Subject Re: someone working to add merge?
Date
Msg-id 200511110909.45366.josh@agliodbs.com
Whole thread Raw
In response to someone working to add merge?  (Jaime Casanova <systemguards@gmail.com>)
Responses Re: someone working to add merge?
Re: someone working to add merge?
Re: someone working to add merge?
List pgsql-hackers
Jaime,

> so i suppose we can reuse many of the code breaking the merge in 3
> pieces... for now they are just thougths, i will think more in this
> and try to implement it...
>
> comments? ideas? suggestions?

Funny, we were just discussing this at OpenDBCon.   Seems that you can't do a 
full implementation of MERGE without Predicate Locking (the ability to say 
"lock this table against inserts or updates of any row with key=5").  
However, Peter suggested that we could do a proof-of-concept implementation, 
working out syntax and trigger issues, based on a full table lock and do the 
hard work once it was proved to be feasable.

Peter?

-- 
Josh Berkus
Aglio Database Solutions
San Francisco


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: 8.1 substring bug?
Next
From: Jaime Casanova
Date:
Subject: Re: someone working to add merge?