[subxacts] Savepoint syntax - Mailing list pgsql-patches

From Alvaro Herrera
Subject [subxacts] Savepoint syntax
Date
Msg-id 20040725205801.GA5730@dcc.uchile.cl
Whole thread Raw
Responses Re: [subxacts] Savepoint syntax
Re: [subxacts] Savepoint syntax
List 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

pgsql-patches by date:

Previous
From: "a_ogawa00"
Date:
Subject: regexp_replace
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: [HACKERS] Function to kill backend