pgsql: libpq error message refactoring, part 2

2022-11-15 Thread Peter Eisentraut
libpq error message refactoring, part 2 This applies the new APIs to the code. Reviewed-by: Alvaro Herrera Discussion: https://www.postgresql.org/message-id/flat/[email protected] Branch -- master Details --- https://git.postgresql.org/pg/commitdiff

pgsql: libpq error message refactoring

2022-11-15 Thread Peter Eisentraut
libpq error message refactoring libpq now contains a mix of error message strings that end with newlines and don't end with newlines, due to some newer code paths with new ways of passing errors around. This leads to confusion and mistakes both during development and translation. This adds new f