Re: Now PostgreSQL recovers from errors within trns - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Now PostgreSQL recovers from errors within trns
Date
Msg-id 9572.965056083@sss.pgh.pa.us
Whole thread Raw
In response to Now PostgreSQL recovers from errors within trns  (hstenger@adinet.com.uy)
List pgsql-hackers
hstenger@adinet.com.uy writes:
> My goal is to make the backend accept erroneous commands, not falling
> in *ABORT STATE*, but rolling back automatically, & continue accepting
> commands.

The way you're doing it, you might as well just not use transaction
blocks at all.  I don't think wiping out the effects of all preceding
commands within the transaction counts as "recovering from an error".
        regards, tom lane


pgsql-hackers by date:

Previous
From: Karel Zak
Date:
Subject: Re: quiet? Re: The query cache - first snapshot (long)
Next
From: hstenger@adinet.com.uy
Date:
Subject: Re: Now PostgreSQL recovers from errors within trns