mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
libpq: Message style improvements
This commit is contained in:
@ -1218,7 +1218,8 @@ PQencryptPasswordConn(PGconn *conn, const char *passwd, const char *user,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
printfPQExpBuffer(&conn->errorMessage,
|
printfPQExpBuffer(&conn->errorMessage,
|
||||||
libpq_gettext("unknown password encryption algorithm\n"));
|
libpq_gettext("unrecognized password encryption algorithm \"%s\"\n"),
|
||||||
|
algorithm);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3099,7 +3099,7 @@ keep_going: /* We will come back to here until there is
|
|||||||
restoreErrorMessage(conn, &savedMessage);
|
restoreErrorMessage(conn, &savedMessage);
|
||||||
appendPQExpBuffer(&conn->errorMessage,
|
appendPQExpBuffer(&conn->errorMessage,
|
||||||
libpq_gettext("test \"SHOW transaction_read_only\" failed "
|
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].host,
|
||||||
conn->connhost[conn->whichhost].port);
|
conn->connhost[conn->whichhost].port);
|
||||||
conn->status = CONNECTION_OK;
|
conn->status = CONNECTION_OK;
|
||||||
|
Reference in New Issue
Block a user