projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c44b59f
)
libpq: Error message improvement
author
Alvaro Herrera
<
[email protected]
>
Tue, 16 May 2023 09:50:08 +0000
(11:50 +0200)
committer
Alvaro Herrera
<
[email protected]
>
Tue, 16 May 2023 09:50:08 +0000
(11:50 +0200)
Move a variable name out of the translatable message, to make it
identical to others.
src/interfaces/libpq/fe-connect.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq/fe-connect.c
b/src/interfaces/libpq/fe-connect.c
index c713d11d30297f4cbf37c286ec5be9a97c164b76..c4720927d82fcc49c4191b1a20664b323b5780ae 100644
(file)
--- 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