| From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: pg_stat_{ssl,gssapi}: Show only processes with connections |
| Date: | 2019-11-12 21:49:23 |
| Message-ID: | E1iUe2N-00060M-Oj@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2019-11-12 21:58:22 | pgsql: Finish reverting commit 0a52d378b. |
| Previous Message | Peter Geoghegan | 2019-11-12 21:09:56 | pgsql: Make _bt_keep_natts_fast() use datum_image_eq(). |