mirror of
https://github.com/postgres/postgres.git
synced 2026-06-09 08:42:38 -04:00
libpq: Fix grease error message style
Double-quote the protocol extension name, and move it out of line with a
%s specifier, to help with translation. Fixes up 4966bd3ed.
Reported-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Suggested-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/20260528.121622.1662808269492494574.horikyota.ntt%40gmail.com
This commit is contained in:
parent
b1901e2895
commit
5ca41e4125
1 changed files with 2 additions and 1 deletions
|
|
@ -1560,7 +1560,8 @@ pqGetNegotiateProtocolVersion3(PGconn *conn)
|
|||
*/
|
||||
if (expect_test_protocol_negotiation && !found_test_protocol_negotiation)
|
||||
{
|
||||
libpq_append_conn_error(conn, "server did not report the unsupported `_pq_.test_protocol_negotiation` parameter in its protocol negotiation message");
|
||||
libpq_append_conn_error(conn, "server did not report the unsupported \"%s\" parameter in its protocol negotiation message",
|
||||
"_pq_.test_protocol_negotiation");
|
||||
goto failure;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue