git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bda9dc7)
Add libpq error message text on how to handle missing root.crt file.
2009年4月14日 17:30:16 +0000 (17:30 +0000)
2009年4月14日 17:30:16 +0000 (17:30 +0000)

diff --git a/src/interfaces/libpq/fe-secure.c b/src/interfaces/libpq/fe-secure.c
index a876793baf436a98bdae6d77559a915f4a6bb37f..05d9fdb229889c76652ebc1487cc8397846beecd 100644 (file)
--- a/src/interfaces/libpq/fe-secure.c
+++ b/src/interfaces/libpq/fe-secure.c
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.122 2009年03月31日 01:41:27 tgl Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.123 2009年04月14日 17:30:16 momjian Exp $
*
* NOTES
*
@@ -1067,7 +1067,8 @@ initialize_SSL(PGconn *conn)
if (strcmp(conn->sslverify, "none") != 0)
{
printfPQExpBuffer(&conn->errorMessage,
- libpq_gettext("root certificate file \"%s\" does not exist"), fnbuf);
+ libpq_gettext("root certificate file \"%s\" does not exist\n"
+ "Either supply the file or set sslverify to \"none\" to disable server certificate verification.\n"), fnbuf);
return -1;
}
}
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /