pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Change coding pattern for CURL_IGNORE_DEPRECATION() 2+ messages / 1 participants [nested] [flat]
* pgsql: Change coding pattern for CURL_IGNORE_DEPRECATION() @ 2025-11-12 11:36 Álvaro Herrera <alvherre@kurilemu.de> 0 siblings, 0 replies; 2+ messages in thread From: Álvaro Herrera @ 2025-11-12 11:36 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 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(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Change coding pattern for CURL_IGNORE_DEPRECATION() @ 2025-11-12 11:36 Álvaro Herrera <alvherre@kurilemu.de> 0 siblings, 0 replies; 2+ messages in thread From: Álvaro Herrera @ 2025-11-12 11:36 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 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(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2025-11-12 11:36 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-11-12 11:36 pgsql: Change coding pattern for CURL_IGNORE_DEPRECATION() Álvaro Herrera <alvherre@kurilemu.de> 2025-11-12 11:36 pgsql: Change coding pattern for CURL_IGNORE_DEPRECATION() Álvaro Herrera <alvherre@kurilemu.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox