mirror of
https://github.com/postgres/postgres.git
synced 2025-05-30 00:02:11 -04:00
libpq: Message style improvements
This commit is contained in:
parent
ee252f074b
commit
2e3fc7a7d3
@ -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;
|
||||
}
|
||||
|
||||
|
@ -3099,7 +3099,7 @@ keep_going: /* We will come back to here until there is
|
||||
restoreErrorMessage(conn, &savedMessage);
|
||||
appendPQExpBuffer(&conn->errorMessage,
|
||||
libpq_gettext("test \"SHOW transaction_read_only\" failed "
|
||||
" on \"%s:%s\"\n"),
|
||||
"on server \"%s:%s\"\n"),
|
||||
conn->connhost[conn->whichhost].host,
|
||||
conn->connhost[conn->whichhost].port);
|
||||
conn->status = CONNECTION_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user