From: Bruce Momjian Date: Tue, 14 Apr 2009 17:30:16 +0000 (+0000) Subject: Add libpq error message text on how to handle missing root.crt file. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=7625a9808b4a2225ec5863996401330fd34e572f;p=users%2Fsimon%2Fpostgres.git Add libpq error message text on how to handle missing root.crt file. --- diff --git a/src/interfaces/libpq/fe-secure.c b/src/interfaces/libpq/fe-secure.c index 8383f2ad74..eb579cfaa7 100644 --- a/src/interfaces/libpq/fe-secure.c +++ b/src/interfaces/libpq/fe-secure.c @@ -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; } }