diff options
author | Magnus Hagander <magnus@hagander.net> | 2019-04-12 14:04:50 +0200 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2019-04-12 14:04:50 +0200 |
commit | 77bd49adba4711b4497e7e39a5ec3a9812cbd52a (patch) | |
tree | d3c6d62589617760429da962e80f30efa9fc52d2 /src/backend/utils/init/postinit.c | |
parent | ef6f30fe77af69a8c775cca82bf993b10c9889ee (diff) | |
download | postgresql-77bd49adba4711b4497e7e39a5ec3a9812cbd52a.tar.gz postgresql-77bd49adba4711b4497e7e39a5ec3a9812cbd52a.zip |
Show shared object statistics in pg_stat_database
This adds a row to the pg_stat_database view with datoid 0 and datname
NULL for those objects that are not in a database. This was added
particularly for checksums, but we were already tracking more satistics
for these objects, just not returning it.
Also add a checksum_last_failure column that holds the timestamptz of
the last checksum failure that occurred in a database (or in a
non-dataabase file), if any.
Author: Julien Rouhaud <rjuju123@gmail.com>
Diffstat (limited to 'src/backend/utils/init/postinit.c')
0 files changed, 0 insertions, 0 deletions