Re: [HACKERS] Explicit subtransactions for PL/Tcl - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: [HACKERS] Explicit subtransactions for PL/Tcl
Date
Msg-id CAFj8pRDh2bX4nDb+xzfULwq0086vs=1U0LRjGMEsgNmqNANyzQ@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Explicit subtransactions for PL/Tcl  (Victor Wagner <vitus@wagner.pp.ru>)
Responses Re: [HACKERS] Explicit subtransactions for PL/Tcl  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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>

pgsql-hackers by date:

Previous
From: Nikhil Sontakke
Date:
Subject: Re: [HACKERS] Speedup twophase transactions
Next
From: Pavel Stehule
Date:
Subject: Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed