Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbcaa1fa

Browse files
committed
Rewrite error message related to sslmode in libpq
The same error message will be used for a different option, to beintroduced in a separate patch. Reshaping the error message as donehere saves in translation.Extracted from a larger patch by the same author.Author: Jacob ChampionDiscussion:https://postgr.es/m/9e5a8ccddb8355ea9fa4b75a1e3a9edc88a70cd3.camel@vmware.com
1 parent8089517 commitbcaa1fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/interfaces/libpq/fe-connect.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,8 +1457,8 @@ connectOptions2(PGconn *conn)
14571457
case'r':/* "require" */
14581458
case'v':/* "verify-ca" or "verify-full" */
14591459
conn->status=CONNECTION_BAD;
1460-
libpq_append_conn_error(conn,"sslmode value \"%s\" invalid when SSL support is not compiled in",
1461-
conn->sslmode);
1460+
libpq_append_conn_error(conn,"%s value \"%s\" invalid when SSL support is not compiled in",
1461+
"sslmode",conn->sslmode);
14621462
return false;
14631463
}
14641464
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp