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_...@mail.gmail.com Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/45f608a1eb729e9c3a6b2b813f58df9537097f4a Modified Files -------------- src/include/utils/elog.h | 44 ++++++++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 18 deletions(-)
