From: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
---|---|
To: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, elein <elein(at)varlena(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Adding MERGE to the TODO list (resend with subject) |
Date: | 2004-05-09 05:18:25 |
Message-ID: | 20040509051825.GB917@dcc.uchile.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-sql |
On Sun, May 09, 2004 at 12:13:31PM +0800, Christopher Kings-Lynne wrote:
> >I intend to release locks on subtransaction abort, so if the update
> >fails there's room for another transaction to insert the key (which I
> >understand should fail?). I guess there's a different locking mechanism
> >needed; I believe nested transactions will not be enough.
>
> Except you can keep trying and trying without the outermost transaction
> failing.
But that won't provide the necessary next key locking you mentioned in
your first email, will it?
--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"No necesitamos banderas
No reconocemos fronteras" (Jorge González)
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2004-05-09 05:32:58 | Re: Adding MERGE to the TODO list (resend with subject) |
Previous Message | Christopher Kings-Lynne | 2004-05-09 04:13:31 | Re: Adding MERGE to the TODO list (resend with subject) |
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2004-05-09 05:32:58 | Re: Adding MERGE to the TODO list (resend with subject) |
Previous Message | Marc Slemko | 2004-05-09 05:17:25 | Re: Relocatable installs |
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2004-05-09 05:32:58 | Re: Adding MERGE to the TODO list (resend with subject) |
Previous Message | Christopher Kings-Lynne | 2004-05-09 04:13:31 | Re: Adding MERGE to the TODO list (resend with subject) |