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

Commit418fd59

Browse files
committed
Add libpq error message text on how to handle missing root.crt file.
1 parentbda9dc7 commit418fd59

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.122 2009/03/31 01:41:27 tgl Exp $
14+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.123 2009/04/14 17:30:16 momjian Exp $
1515
*
1616
* NOTES
1717
*
@@ -1067,7 +1067,8 @@ initialize_SSL(PGconn *conn)
10671067
if (strcmp(conn->sslverify,"none")!=0)
10681068
{
10691069
printfPQExpBuffer(&conn->errorMessage,
1070-
libpq_gettext("root certificate file \"%s\" does not exist"),fnbuf);
1070+
libpq_gettext("root certificate file \"%s\" does not exist\n"
1071+
"Either supply the file or set sslverify to \"none\" to disable server certificate verification.\n"),fnbuf);
10711072
return-1;
10721073
}
10731074
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp