On 1/22/07, Martijn van Oosterhout <kleptog@svana.org> wrote:
> we're talking about psql, maybe all we need to do is create the
> commands in psql:
>
> \begin_nest
> \commit_nest
> \rollback_nest
That would work if we could rollback conditionally on failure (like
on_error_rollback but with definable beginning and ending points). I
still think we are hacking around limitations of savepoints but it
would solve the scripting problem at least. A general implementation
on the server would benefit everybody.
merlin