pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add optional parameter to PG_TRY() macros
Date: Tue, 10 Nov 2026 21:12:36 +0000
Message-ID: <E1xQt8u-00000000DmQ-10W5@gemulon.postgresql.org> (raw)

Add optional parameter to PG_TRY() macros

This commit back-patches v16-era commit 112f0225d into v15 and v14.
We need this now because the back-patches of daafcbd11 expect PG_TRY()
to take an optional parameter, and it doesn't.  We'd missed that
problem in testing because it only happens in the MINGW-64 code path.

With pgsql-release's concurrence, I'm putting this into v14 too.
We're not currently planning any more releases of v14, but fix it
there anyway to save trouble for anyone needing to build v14
in future.

Author: David Rowley
Discussion: https://postgr.es/m/CAApHDvqWGMdB_pATeUqE=JCtNqNxObPOJ00jFEa2_sZ20j_Wvg@mail.gmail.com

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/853b35f35b1c3e5b80d392568659662632e7eba8

Modified Files
--------------
src/include/utils/elog.h | 44 ++++++++++++++++++++++++++------------------
1 file changed, 26 insertions(+), 18 deletions(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1xQt8u-00000000DmQ-10W5@gemulon.postgresql.org>
Permalink:  ../E1xQt8u-00000000DmQ-10W5@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xQt8u-00000000DmQ-10W5@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Add optional parameter to PG_TRY() macros
  In-Reply-To: <E1xQt8u-00000000DmQ-10W5@gemulon.postgresql.org>
  References: <E1xQt8u-00000000DmQ-10W5@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox