mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
libpq: Error message improvement
This commit is contained in:
@@ -909,7 +909,7 @@ check_expected_areq(AuthRequest areq, PGconn *conn)
|
||||
if (!reason)
|
||||
reason = auth_method_description(areq);
|
||||
|
||||
libpq_append_conn_error(conn, "auth method \"%s\" requirement failed: %s",
|
||||
libpq_append_conn_error(conn, "authentication method requirement \"%s\" failed: %s",
|
||||
conn->require_auth, reason);
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user