pgsql: Add system view pg_stat_ssl

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add system view pg_stat_ssl
Date: 2015-04-12 17:12:55
Message-ID: E1YhLRH-0001Dm-Bw@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add system view pg_stat_ssl

This view shows information about all connections, such as if the
connection is using SSL, which cipher is used, and which client
certificate (if any) is used.

Reviews by Alex Shulgin, Heikki Linnakangas, Andres Freund & Michael Paquier

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9029f4b37406b21abb7516a2fd5643e0961810f8

Modified Files
--------------
doc/src/sgml/monitoring.sgml | 77 ++++++++++++++++++++++++
src/backend/catalog/system_views.sql | 11 ++++
src/backend/libpq/be-secure-openssl.c | 104 +++++++++++++++++++++++++++++++++
src/backend/postmaster/pgstat.c | 60 +++++++++++++++++++
src/backend/utils/adt/pgstatfuncs.c | 33 ++++++++++-
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 2 +-
src/include/libpq/libpq-be.h | 5 ++
src/include/pgstat.h | 21 +++++++
src/test/regress/expected/rules.out | 12 +++-
10 files changed, 320 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2015-04-12 19:47:49 pgsql: Free leaked result set in pg_rewind
Previous Message Michael Paquier 2015-04-12 08:46:23 Re: pgsql: Fix multiple bugs and infelicities in pg_rewind.