summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2023-05-16 11:50:08 +0200
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2023-05-16 11:50:08 +0200
commit27debd05dcbdfe3db487ba82568f7f9ae25ddde2 (patch)
treed22ca3ccd7780eb6d3f9b897363b874cd6395ee8
parentc44b59fad453fd4be9656d58dd5f51a11149c961 (diff)
downloadpostgresql-27debd05dcbdfe3db487ba82568f7f9ae25ddde2.tar.gz
libpq: Error message improvement
Move a variable name out of the translatable message, to make it identical to others.
-rw-r--r--src/interfaces/libpq/fe-connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c
index c713d11d30..c4720927d8 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