pg_stat_{ssl,gssapi}: Show only processes with connections

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 5c46e7d82e88859395c2688c37bb643ae7dbbfa1
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2019-11-12T21:48:41Z
Releases: 13.0
pg_stat_{ssl,gssapi}: Show only processes with connections

It is pointless to show in those views auxiliary processes that don't
open network connections.

A small incompatibility is that anybody joining pg_stat_activity and
pg_stat_ssl/pg_stat_gssapi will have to use a left join if they want to
see such auxiliary processes.

Author: Euler Taveira
Discussion: https://postgr.es/m/20190904151535.GA29108@alvherre.pgsql

Files

Discussion