| From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Change coding pattern for CURL_IGNORE_DEPRECATION() |
| Date: | 2025-11-12 11:36:01 |
| Message-ID: | E1vJ98r-006EFg-26@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)kurilemu(dot)de>
Reviewed-by: Andrew Dunstan <andrew(at)dunslane(dot)net>
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)se>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/202511111134.njrwf5w5nbjm@alvherre.pgsql
Backpatch-through: 18
Branch
------
REL_18_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/3a438e44d96942036f98c28dcae173c63f00c2c1
Modified Files
--------------
src/interfaces/libpq-oauth/oauth-curl.c | 13 +++++++++----
src/tools/pgindent/pgindent | 14 --------------
2 files changed, 9 insertions(+), 18 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Daniel Gustafsson | 2025-11-12 11:39:43 | pgsql: libpq: threadsafety for SSL certificate callback |
| Previous Message | Michael Paquier | 2025-11-12 11:25:32 | pgsql: Fix comments of output routines for pg_ndistinct and pg_dependen |