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_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(-)
