This partially reverts commit
4dc6355210.
The information returned by the function can be obtained by calling
PQconninfo(), so the function is redundant.
-
-
PQsslpasswordPQsslpassword
-
-
- Returns the password for the SSL client key.
-
-char *PQsslpassword(const PGconn *conn);
-
-
-
- will return the SSL password specified
- in the connection parameters.
-
-
-
-
PQhostaddr 174
PQgssEncInUse 175
PQgetgssctx 176
-PQsslpassword 177
-PQsetSSLKeyPassHook 178
-PQgetSSLKeyPassHook 179
-PQdefaultSSLKeyPassHook 180
+PQsetSSLKeyPassHook 177
+PQgetSSLKeyPassHook 178
+PQdefaultSSLKeyPassHook 179
return "";
}
-char *
-PQsslpassword(const PGconn *conn)
-{
- if (!conn)
- return NULL;
- return conn->sslpassword;
-}
-
char *
PQtty(const PGconn *conn)
{
extern char *PQhost(const PGconn *conn);
extern char *PQhostaddr(const PGconn *conn);
extern char *PQport(const PGconn *conn);
-extern char *PQsslpassword(const PGconn *conn);
extern char *PQtty(const PGconn *conn);
extern char *PQoptions(const PGconn *conn);
extern ConnStatusType PQstatus(const PGconn *conn);