Greg Stark <st...@mit.edu> writes:
> On Thu, 27 Oct 2022 at 07:10, Simon Riggs <simon.ri...@enterprisedb.com> 
> wrote:
>> * nested transactions = off (default) | all | on
>> Handle nested BEGIN/COMMIT, which can cause chaos on failure.

> I think we've been burned pretty badly by GUCs that control SQL
> semantics before.

Yeah, this idea is an absolute nonstarter.  rollback_on_commit seems
excessively dangerous as well compared to the value.

> I think there was discussion at the time nested
> transactions went in and there must have been a reason we did
> SAVEPOINT rather than make nested BEGINs do things like this.

I believe the reason was "because the SQL standard says so".

I'm not sure if any of these proposals are still live now that
Simon's retired.  Presumably somebody else would have to push
them forward for there to be a chance of anything happening.

                        regards, tom lane


Reply via email to