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-11T10:59:00Z
Lists: pgsql-hackers
2017-03-10 20:31 GMT+01:00 Victor Wagner <vitus@wagner.pp.ru>: > On Thu, 9 Mar 2017 12:04:31 +0100 > Pavel Stehule <pavel.stehule@gmail.com> wrote: > > > > > Now test demonstrate how errors uncaught on the Tcl level interact > > > with postgresql error system. > > > > > > > you can catch the exception outside and write own message > > OK, here is patch with tests which don't depend on function OIDs > > They ignore stack trace ($::errorinfo global variable) completely, > and analyze just error message. > > all tests passed I have not any other objections I'll mark this patch as ready for commiter Regards Pavel > > -- > Victor Wagner <vitus@wagner.pp.ru> >
Commits
-
Add a "subtransaction" command to PL/Tcl.
- b58fd4a9cab2 10.0 landed