SYSTEM CATALOGS / STATISTICS VIEWS
pg_stat_ssl
Read PG 18 manual ↗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
| Column | Type | Description / reference |
|---|---|---|
pid | integer | Process ID of a backend or WAL sender process |
ssl | boolean | True if SSL is used on this connection |
version | text | Version of SSL in use, or NULL if SSL is not in use on this connection |
cipher | text | Name of SSL cipher in use, or NULL if SSL is not in use on this connection |
bits | integer | Number of bits in the encryption algorithm used, or NULL if SSL is not used on this connection |
client_dn | text | Distinguished 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_serial | numeric | Serial 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_dn | text | DN 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
| Column | 9.0 | 9.1 | 9.2 | 9.3 | 9.4 | 9.5 | 9.6 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
pid | · | · | · | · | · | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● |
ssl | · | · | · | · | · | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● |
version | · | · | · | · | · | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● |
cipher | · | · | · | · | · | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● |
bits | · | · | · | · | · | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● |
compression | · | · | · | · | · | ● | ● | ● | ● | ● | ● | · | · | · | · | · | · | · |
clientdn | · | · | · | · | · | ● | ● | ● | ● | · | · | · | · | · | · | · | · | · |
client_dn | · | · | · | · | · | · | · | · | · | ● | ● | ● | ● | ● | ● | ● | ● | ● |
client_serial | · | · | · | · | · | · | · | · | · | ● | ● | ● | ● | ● | ● | ● | ● | ● |
issuer_dn | · | · | · | · | · | · | · | · | · | ● | ● | ● | ● | ● | ● | ● | ● | ● |
Version history 6
- PG 13 → 14changed
- PG 12 → 13changed
- PG 11 → 12changed
- PG 9.6 → 10changed
- PG 9.5 → 9.6changed
- PG 9.4 → 9.5added
Definition snapshot: english-manuals:91a128350a43e530826425530ce… · English manual source