Re: Code checks for App Devs, using new options for transaction behavior

From: Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com>
To: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
Cc: Erik Rijkers <er(at)xs4all(dot)nl>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Code checks for App Devs, using new options for transaction behavior
Date: 2022-11-22 16:02:40
Message-ID: CANbhV-HprVyHjmCFDBHg0C3BTRW0YP8te7dZpT0z3B05vBzwHw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 7 Nov 2022 at 14:25, Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com> wrote:
>
> On Wed, 2 Nov 2022 at 07:40, Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com> wrote:
>
> > > What will be the behavior if someone declares a savepoint with this
> > > name ("_internal_nested_xact"). Will this interfere with this new
> > > functionality?
> >
> > Clearly! I guess you are saying we should disallow them.
> >
> > > Have we tested scenarios like that?
> >
> > No, but that can be done.
>
> More tests as requested, plus minor code rework, plus comment updates.

New versions

--
Simon Riggs http://www.EnterpriseDB.com/

Attachment Content-Type Size
001_psql_parse_only.v1.patch application/octet-stream 2.1 KB
002_nested_xacts.v11.patch application/octet-stream 28.7 KB
003_rollback_on_commit.v2.patch application/octet-stream 5.3 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message walther 2022-11-22 16:04:58 Re: fixing CREATEROLE
Previous Message Andrew Dunstan 2022-11-22 15:57:41 Re: ssl tests aren't concurrency safe due to get_free_port()