pgsql: pg_stat_{ssl,gssapi}: Show only processes with connections - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: pg_stat_{ssl,gssapi}: Show only processes with connections
Date
Msg-id E1iUe2N-00060M-Oj@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5c46e7d82e88859395c2688c37bb643ae7dbbfa1

Modified Files
--------------
src/backend/catalog/system_views.sql | 6 ++++--
src/include/catalog/catversion.h     | 2 +-
src/test/regress/expected/rules.out  | 6 ++++--
3 files changed, 9 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: pgsql: Make _bt_keep_natts_fast() use datum_image_eq().
Next
From: Tom Lane
Date:
Subject: pgsql: Finish reverting commit 0a52d378b.