From: Alvaro Herrera Date: Tue, 16 May 2023 09:50:08 +0000 (+0200) Subject: libpq: Error message improvement X-Git-Tag: REL_16_BETA1~67 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=27debd05dcbdfe3db487ba82568f7f9ae25ddde2;p=thirdparty%2Fpostgresql.git libpq: Error message improvement Move a variable name out of the translatable message, to make it identical to others. --- diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index c713d11d302..c4720927d82 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -1481,8 +1481,8 @@ connectOptions2(PGconn *conn) && strcmp(conn->sslrootcert, "system") == 0) { conn->status = CONNECTION_BAD; - libpq_append_conn_error(conn, "sslrootcert value \"%s\" invalid when SSL support is not compiled in", - conn->sslrootcert); + libpq_append_conn_error(conn, "%s value \"%s\" invalid when SSL support is not compiled in", + "sslrootcert", conn->sslrootcert); return false; } #endif