Re: Concurrent MERGE
От
Mark Kirkwood
Тема
Re: Concurrent MERGE
Дата
Msg-id
4C5B43E9.7090800@catalyst.net.nz
Ответ на
Re: Concurrent MERGE (Josh Berkus)
Список
Дерево обсуждения
Re: Concurrent MERGE Chris Browne <cbbrowne@acm.org>
Re: Concurrent MERGE "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Concurrent MERGE "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
On 06/08/10 10:49, Josh Berkus wrote: > >> Hm? Please explain what you're talking about. >> > Transaction A locks 1 and wants a lock on 2 > Transaction B locks 2 and wants a lock on 3 > Transaction C locks 3 and wants a lock on 1 > > I've never had the deadlock detector successfully deal with the above. > Let alone a 4-way. > > Hmm - seems to work ok for me (8.3.11 with pgbench schema updating branches table by bid): UPDATE branches SET filler='filled' WHERE bid=:x I get transaction A succeeds, B is rolled back by the deadlock detector, C left waiting for A to commit or rollback. What do you find? Cheers Mark
В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата: