Re: Statement-level rollback - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Statement-level rollback
Date
Msg-id 20181208201027.qhz5jvvhbdlwwehj@alvherre.pgsql
Whole thread Raw
In response to Re: Statement-level rollback  (Andres Freund <andres@anarazel.de>)
Responses Re: Statement-level rollback
List pgsql-hackers
On 2018-Dec-07, Andres Freund wrote:

> I think it could partially be addressed by not allowing to set it on the
> commandline, server config, etc. So the user would have to set it on a
> per-connection basis, potentially via the connection string.

This is what patch 0001 does -- it's only allowed in the connection
string, or on ALTER USER / ALTER DATABASE.  Setting it in
postgresql.conf is forbidden, as well as changing from transaction to
statement in SET (the opposite is allowed, though.)

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: proposal: new polymorphic types - commontype and commontypearray
Next
From: Andres Freund
Date:
Subject: Re: Statement-level rollback