Change coding pattern for CURL_IGNORE_DEPRECATION()

Álvaro Herrera <alvherre@kurilemu.de>

Commit: 3a438e44d96942036f98c28dcae173c63f00c2c1
Author: Álvaro Herrera <alvherre@kurilemu.de>
Date: 2025-11-12T11:35:14Z
Releases: 18.2
Change coding pattern for CURL_IGNORE_DEPRECATION()

Instead of having to write a semicolon inside the macro argument, we can
insert a semicolon with another macro layer.  This no longer gives
pg_bsd_indent indigestion, so we can remove the digestive aids that had
to be installed in the pgindent Perl script.

Author: Álvaro Herrera <alvherre@kurilemu.de>
Reviewed-by: Andrew Dunstan <andrew@dunslane.net>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/202511111134.njrwf5w5nbjm@alvherre.pgsql
Backpatch-through: 18

Files

PathChange+/−
src/interfaces/libpq-oauth/oauth-curl.c modified +9 −4
src/tools/pgindent/pgindent modified +0 −14

Discussion