| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add optional parameter to PG_TRY() macros |
| Date: | 2026-11-10 21:12:36 |
| Message-ID: | E1xQt8u-00000000DmQ-10W5@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2026-11-10 21:27:57 | pgsql: Centralize resetting SIGCHLD handler |
| Previous Message | noreply | 2026-11-10 21:03:57 | pgsql: Tag refs/tags/REL_16_16 was created |