Re: savepoint improvements

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>
Cc: "Simon Riggs" <simon(at)2ndquadrant(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Jaime Casanova" <systemguards(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: savepoint improvements
Date: 2007-01-22 16:21:12
Message-ID: b42b73150701220821g7eedbf3doc723f70ea22eb256@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 1/22/07, Martijn van Oosterhout <kleptog(at)svana(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2007-01-22 16:22:37 Re: savepoint improvements
Previous Message Simon Riggs 2007-01-22 16:19:18 Re: pg_dump ANALYZE statements