hstenger(at)adinet(dot)com(dot)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