Re: Explicit subtransactions for PL/Tcl

From: Victor Wagner <vitus(at)wagner(dot)pp(dot)ru>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Subject: Re: Explicit subtransactions for PL/Tcl
Date: 2017-03-10 19:31:51
Message-ID: 20170310223151.7593039b@wagner.wagner.home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Thu, 9 Mar 2017 12:04:31 +0100
Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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(at)wagner(dot)pp(dot)ru>

Attachment Content-Type Size
tcl_subtransaction_04.patch text/x-patch 12.8 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-03-10 19:40:21 Re: WIP: Faster Expression Processing v4
Previous Message Josh Berkus 2017-03-10 19:28:03 Re: SQL/JSON in PostgreSQL