select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

SYSTEM CATALOGS / STATISTICS VIEWS

The pg_stat_ssl view will contain one row per backend or WAL sender process, showing statistics about SSL usage on this connection.

Kind
Statistics views
Columns in this snapshot
8
Definition source
English manual

Columns 8

ColumnTypeDescription / reference
pidintegerProcess ID of a backend or WAL sender process
sslbooleanTrue if SSL is used on this connection
versiontextVersion of SSL in use, or NULL if SSL is not in use on this connection
ciphertextName of SSL cipher in use, or NULL if SSL is not in use on this connection
bitsintegerNumber of bits in the encryption algorithm used, or NULL if SSL is not used on this connection
client_dntextDistinguished Name (DN) field from the client certificate used, or NULL if no client certificate was supplied or if SSL is not in use on this connection. This field is truncated if the DN field is longer than NAMEDATALEN (64 characters in a standard build).
client_serialnumericSerial number of the client certificate, or NULL if no client certificate was supplied or if SSL is not in use on this connection. The combination of certificate serial number and certificate issuer uniquely identifies a certificate (unless the issuer erroneously reuses serial numbers).
issuer_dntextDN of the issuer of the client certificate, or NULL if no client certificate was supplied or if SSL is not in use on this connection. This field is truncated like client_dn.
Column history across versions
Version history 6
  1. PG 13 → 14changed
  2. PG 12 → 13changed
  3. PG 11 → 12changed
  4. PG 9.6 → 10changed
  5. PG 9.5 → 9.6changed
  6. PG 9.4 → 9.5added

Definition snapshot: english-manuals:91a128350a43e530826425530ce… · English manual source