Re: Error-safe user functions - Mailing list pgsql-hackers

From Amul Sul
Subject Re: Error-safe user functions
Date
Msg-id CAAJ_b94PvVeaFKYFsFr49_nt3eJpekz87HUif0ojBL9ASTzPiA@mail.gmail.com
Whole thread Raw
In response to Re: Error-safe user functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Error-safe user functions  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Tue, Dec 27, 2022 at 11:17 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Andrew Dunstan <andrew@dunslane.net> writes:
> > Here's a patch that covers the ltree and intarray contrib modules.
>
> I would probably have done this a little differently --- I think
> the added "res" parameters aren't really necessary for most of
> these.  But it's not worth arguing over.
>

Also, it would be good if we can pass "escontext" through the "state"
argument of makepool() like commit 78212f210114 done for makepol() of
tsquery.c. Attached patch is the updated version that does the same.

Regards,
Amul

Attachment

pgsql-hackers by date:

Previous
From: vignesh C
Date:
Subject: CFM for 2023-01
Next
From: Amit Langote
Date:
Subject: SQL/JSON revisited