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

From Victor Wagner
Subject Re: [HACKERS] Explicit subtransactions for PL/Tcl
Date
Msg-id 20170310223151.7593039b@wagner.wagner.home
Whole thread Raw
In response to Re: [HACKERS] Explicit subtransactions for PL/Tcl  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: [HACKERS] Explicit subtransactions for PL/Tcl  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
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.


-- 
                                   Victor Wagner <vitus@wagner.pp.ru>

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: [HACKERS] SQL/JSON in PostgreSQL
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] WIP: Faster Expression Processing v4