Re: savepoint improvements - Mailing list pgsql-hackers

From Tom Lane
Subject Re: savepoint improvements
Date
Msg-id 18323.1169480773@sss.pgh.pa.us
Whole thread Raw
In response to Re: savepoint improvements  ("Merlin Moncure" <mmoncure@gmail.com>)
Responses Re: savepoint improvements  ("Simon Riggs" <simon@2ndquadrant.com>)
Re: savepoint improvements  ("Merlin Moncure" <mmoncure@gmail.com>)
Re: savepoint improvements  ("Dawid Kuroczko" <qnex42@gmail.com>)
List pgsql-hackers
"Merlin Moncure" <mmoncure@gmail.com> writes:
> On 1/22/07, Simon Riggs <simon@2ndquadrant.com> wrote:
>> Could you post an example, just so we're all clear what the problems
>> are? I thought I understood what you are requesting; I may not.

> ok,

> The short version is I would like the ability to run some sql commands
> and recover the transaction if an error occurs.

I'm getting tired of repeating this, but: neither of you have said
anything that doesn't appear to me to be handled by ON_ERROR_ROLLBACK.
What exactly is lacking in that feature?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Simon Riggs"
Date:
Subject: pg_dump ANALYZE statements
Next
From: Martijn van Oosterhout
Date:
Subject: Re: savepoint improvements