Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2e3fc7a

Browse files
committed
libpq: Message style improvements
1 parent ee252f0 commit 2e3fc7a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/interfaces/libpq/fe-auth.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,8 @@ PQencryptPasswordConn(PGconn *conn, const char *passwd, const char *user,
12181218
else
12191219
{
12201220
printfPQExpBuffer(&conn->errorMessage,
1221-
libpq_gettext("unknown password encryption algorithm\n"));
1221+
libpq_gettext("unrecognized password encryption algorithm \"%s\"\n"),
1222+
algorithm);
12221223
return NULL;
12231224
}
12241225

src/interfaces/libpq/fe-connect.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3099,7 +3099,7 @@ PQconnectPoll(PGconn *conn)
30993099
restoreErrorMessage(conn, &savedMessage);
31003100
appendPQExpBuffer(&conn->errorMessage,
31013101
libpq_gettext("test \"SHOW transaction_read_only\" failed "
3102-
" on \"%s:%s\"\n"),
3102+
"on server \"%s:%s\"\n"),
31033103
conn->connhost[conn->whichhost].host,
31043104
conn->connhost[conn->whichhost].port);
31053105
conn->status = CONNECTION_OK;

0 commit comments

Comments
 (0)