summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-auth.c
diff options
context:
space:
mode:
authorPeter Eisentraut2017-06-13 15:53:26 +0000
committerPeter Eisentraut2017-06-13 15:53:50 +0000
commit2e3fc7a7d322289c70f89199be0a5e899ec7d9b9 (patch)
tree063c42c8bd41c451e477661fa1b55e4b9ea51d45 /src/interfaces/libpq/fe-auth.c
parentee252f074b88e34ff7ac2b45a73d3cee12b1c671 (diff)
libpq: Message style improvements
Diffstat (limited to 'src/interfaces/libpq/fe-auth.c')
-rw-r--r--src/interfaces/libpq/fe-auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c
index ad9b0315e13..d906abf9c8f 100644
--- a/src/interfaces/libpq/fe-auth.c
+++ b/src/interfaces/libpq/fe-auth.c
@@ -1218,7 +1218,8 @@ PQencryptPasswordConn(PGconn *conn, const char *passwd, const char *user,
else
{
printfPQExpBuffer(&conn->errorMessage,
- libpq_gettext("unknown password encryption algorithm\n"));
+ libpq_gettext("unrecognized password encryption algorithm \"%s\"\n"),
+ algorithm);
return NULL;
}