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 <[email protected]>
Reviewed-by: Andrew Dunstan <[email protected]>
Reviewed-by: Daniel Gustafsson <[email protected]>
Reviewed-by: Tom Lane <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 18

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/78aae2983091c30e4ddc801c507c17a77b6b1b58

Modified Files
--------------
src/interfaces/libpq-oauth/oauth-curl.c | 13 +++++++++----
src/tools/pgindent/pgindent             | 14 --------------
2 files changed, 9 insertions(+), 18 deletions(-)

Reply via email to