pgsql: Add views and functions to monitor hot standby query conflicts

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add views and functions to monitor hot standby query conflicts
Date: 2011-01-03 11:47:11
Message-ID: E1PZisZ-0005SW-Gw@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add views and functions to monitor hot standby query conflicts

Add the view pg_stat_database_conflicts and a column to pg_stat_database,
and the underlying functions to provide the information.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=40d9e94bd7537144d3d379c1fd1264dff5cf4bb2

Modified Files
--------------
doc/src/sgml/high-availability.sgml | 7 ++
doc/src/sgml/monitoring.sgml | 54 ++++++++++++++++++-
src/backend/catalog/system_views.sql | 14 ++++-
src/backend/postmaster/pgstat.c | 69 +++++++++++++++++++++++
src/backend/tcop/postgres.c | 7 ++
src/backend/utils/adt/pgstatfuncs.c | 101 ++++++++++++++++++++++++++++++++++
src/include/catalog/pg_proc.h | 12 ++++
src/include/pgstat.h | 23 +++++++-
src/test/regress/expected/rules.out | 5 +-
9 files changed, 287 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2011-01-03 11:50:49 pgsql: Bump catversion, forgot in previous commit.
Previous Message Magnus Hagander 2011-01-03 11:00:29 pgsql: Add missing part of replication role docs