PQdb
PQuser
PQpass
PQhost
PQport
PQtty
PQoptions
PQstatus
PQtransactionStatus
PQparameterStatus
PQprotocolVersion
PQserverVersion
PQerrorMessage
PQsocket
PQbackendPID
NOTIFY
messages (which include the PID of the notifying backend process). Note that the PID belongs to a process executing on the database server host, not the local host!PQconnectionNeedsPassword
PQconnectionUsedPassword
PQsslInUse
PQsslAttribute
library
"OpenSSL"
is implemented)protocol
"TLSv1"
, "TLSv1.1"
and "TLSv1.2"
, but an implementation may return other strings if some other protocol is used.key_bits
cipher
"DHE-RSA-DES-CBC3-SHA"
. The names are specific to each SSL implementation.compression
PQsslAttributeNames
PQsslStruct
SSL
struct. To use this function, code along the following lines could be used:PQgetssl
PQsslStruct(conn, "OpenSSL")
. It should not be used in new applications, because the returned struct is specific to OpenSSL and will not be available if another SSL implementation is used. To check if a connection uses SSL, call PQsslInUse
instead, and for more details about the connection, use PQsslAttribute
.