Re: [HACKERS] I propose killing PL/Tcl's "modules" infrastructure - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [HACKERS] I propose killing PL/Tcl's "modules" infrastructure
Date
Msg-id CA+TgmoYw2evqCR3BaxKGYeFcjWz7sa0rn8JtBw9fCN1EZ2GWSg@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] I propose killing PL/Tcl's "modules" infrastructure  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, Mar 2, 2017 at 11:29 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> After thinking about that for awhile, it seemed like the most useful thing
> to do is to set up an errcontext callback that will be active throughout
> execution of the start_proc.  That will cover both setup failures like
> the above, and errors occurring within the start_proc, which could be
> equally confusing if you think they apply to the function you initially
> tried to call.  v2 patch attached that does it like that.

+1 for that approach.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Cost model for parallel CREATE INDEX
Next
From: Peter Geoghegan
Date:
Subject: Re: [HACKERS] Cost model for parallel CREATE INDEX