Re: MERGE ... RETURNING - Mailing list pgsql-hackers

From Gurjeet Singh
Subject Re: MERGE ... RETURNING
Date
Msg-id CABwTF4XioqGAXf8DTDBqHj5Dv-oQoeS25gqnTo653c85xK-uSQ@mail.gmail.com
Whole thread Raw
In response to Re: MERGE ... RETURNING  (Gurjeet Singh <gurjeet@singh.im>)
List pgsql-hackers
On Tue, Jul 11, 2023 at 1:43 PM Gurjeet Singh <gurjeet@singh.im> wrote:
>
> In the above hunk, if there's an exception/ERROR, I believe we should
> PG_RE_THROW(). If there's a reason to continue, we should at least set
> rslot = NULL, otherwise we may be returning an uninitialized value to
> the caller.

Excuse the brain-fart on my part. There's not need to PG_RE_THROW(),
since there's no PG_CATCH(). Re-learning the code's infrastructure
slowly :-)

Best regards,
Gurjeet
http://Gurje.et



pgsql-hackers by date:

Previous
From: "Tristan Partin"
Date:
Subject: Re: Extensible storage manager API - SMGR hook Redux
Next
From: Thomas Munro
Date:
Subject: Re: Cleaning up threading code