From: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
---|---|
To: | Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | [subxacts] Savepoint syntax |
Date: | 2004-07-25 20:58:01 |
Message-ID: | 20040725205801.GA5730@dcc.uchile.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Hackers,
Attached is the savepoints syntax patch, hopefully last try.
Essentially the same as the last patch, with the following differences:
- ROLLBACK TO changes TBLOCK state of the to-be-affected subtransactions
instead of a static var.
- A new function RollbackAndReleaseSavepoint can be used to rollback to
a savepoint without creating it again. There's no way to trigger it
from the grammar though (mainly for use in functions handlers, I
think, though we can make it available directly to the user if there
is a need for it.)
- Tab completion patch from Gaetano is included.
Please review and apply if OK.
--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"The West won the world not by the superiority of its ideas or values
or religion but rather by its superiority in applying organized violence.
Westerners often forget this fact, non-Westerners never do."
(Samuel P. Huntington)
Attachment | Content-Type | Size |
---|---|---|
savepoints-7.patch | text/plain | 67.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2004-07-25 22:20:48 | Re: pgxs: build infrastructure for extensions v4 |
Previous Message | Andreas Pflug | 2004-07-25 20:23:36 | Re: [HACKERS] Function to kill backend |