pgsql: libpq: Some message style normalization

2024-06-12 Thread Peter Eisentraut
libpq: Some message style normalization Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/6ac5600a36c1950e1470ccb16038e6b8ca4e6eba Modified Files -- src/interfaces/libpq/fe-cancel.c | 6 +++--- src/interfaces/libpq/fe-connect.c | 4 ++-- src/interfaces/libp

pgsql: Harmonize pg_bsd_indent parameter names.

2024-06-12 Thread Peter Geoghegan
Harmonize pg_bsd_indent parameter names. Make sure that function declarations use names that exactly match the corresponding names from function definitions in pg_bsd_indent. This commit was written with help from clang-tidy, by mechanically applying the same rules as similar clean-up commits. D

pgsql: Harmonize function parameter names for Postgres 17.

2024-06-12 Thread Peter Geoghegan
Harmonize function parameter names for Postgres 17. Make sure that function declarations use names that exactly match the corresponding names from function definitions in a few places. These inconsistencies were all introduced during Postgres 17 development. pg_bsd_indent still has a couple of s

pgsql: libpq: Add missing gettext markers

2024-06-12 Thread Peter Eisentraut
libpq: Add missing gettext markers Follow-up to 87d2801d4b: That commit restored some lost error messages, but they ended up in a place where xgettext wouldn't find them. Rather than elevating ENCRYPTION_NEGOTIATION_FAILED() to a gettext trigger, it's easiest for now to put in some explicit libpq