Re: [GENERAL] Auto-Rollback option - Mailing list pgsql-general

From Achilleas Mantzios
Subject Re: [GENERAL] Auto-Rollback option
Date
Msg-id 58A1C834.7020305@matrix.gatewaynet.com
Whole thread Raw
In response to [GENERAL] Auto-Rollback option  (Małgorzata Hubert <gosiahubert@gmail.com>)
List pgsql-general
Take a look at ON_ERROR_STOP variable.

\set ON_ERROR_STOP 1

On 13/02/2017 15:55, Małgorzata Hubert wrote:
Hi,
is there any way to set Auto-Rollback : ON, automaticly during instalation process or using query (maybe something like set autocommit = 'on')?
We need it to automaticly close the transaction if an error occures during implementing patches.

Thanks in advanced for the answear.
Best regards,
Malgorzata Pomykacz


-- 
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: [GENERAL] Auto-Rollback option
Next
From: mpomykacz
Date:
Subject: Re: [GENERAL] Auto-Rollback option