Re: Explicit subtransactions for PL/Tcl

Pavel Stehule <pavel.stehule@gmail.com>

From: Pavel Stehule <pavel.stehule@gmail.com>
To: Victor Wagner <vitus@wagner.pp.ru>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2017-03-09T10:12:09Z
Lists: pgsql-hackers
Hi

2017-03-09 10:25 GMT+01:00 Victor Wagner <vitus@wagner.pp.ru>:

> On Thu, 9 Mar 2017 09:25:14 +0100
> Pavel Stehule <pavel.stehule@gmail.com> wrote:
>
>
> > >
> > is this patch complete? I don't see new regress tests
>
> Oh, really! I've forgot that git diff doesn't include files which are
> not added into git.
>
> So, no old regress tests as well.
>
> Sorry for posting incomplete patch.
>
> Attached fixed version of patch with regress tests and couple more
> whitespace issues fixed.
>

the regress tests is unstable

the proc name has mutable pid

!     (procedure "__PLTcl_proc_16503" line 3)
      invoked from within
! "__PLTcl_proc_16503 SPI"

Regards

Pavel


>                  With best regards, Victor
>
> --
>                 Victor Wagner <vitus@wagner.pp.ru>
>
>
>

Commits

  1. Add a "subtransaction" command to PL/Tcl.