]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Change coding pattern for CURL_IGNORE_DEPRECATION()
authorÁlvaro Herrera <alvherre@kurilemu.de>
Wed, 12 Nov 2025 11:35:14 +0000 (12:35 +0100)
committerÁlvaro Herrera <alvherre@kurilemu.de>
Wed, 12 Nov 2025 11:35:14 +0000 (12:35 +0100)
commit78aae2983091c30e4ddc801c507c17a77b6b1b58
treebf9e55eb94b4f83144162c8a9cec5ca467e0f60a
parent040a39ed25bf8480bbd1947a2edeb0167f1e0789
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
src/interfaces/libpq-oauth/oauth-curl.c
src/tools/pgindent/pgindent