Re: MERGE vs REPLACE

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: MERGE vs REPLACE
Дата
Msg-id 200511111355.49405.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: MERGE vs REPLACE  (Jaime Casanova <systemguards@gmail.com>)
Ответы Re: MERGE vs REPLACE  (Jaime Casanova <systemguards@gmail.com>)
Re: MERGE vs REPLACE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Guys,

> I understand you well... what i was trying to say is that i prefer
> MERGE (standard SQL command) to be done because the functionally it
> has (basically a merge of two tables) seems to me to be more usefull
> than REPLACE (MySql Command)...

But even REPLACE requires predicate locking.  There's no real way to get 
around it.

--Josh

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Multi-table-unique-constraint
Следующее
От: "John Hansen"
Дата:
Сообщение: Re: someone working to add merge?