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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy