summaryrefslogtreecommitdiff
path: root/src/include/pgstat.h
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2007-03-16 17:57:36 +0000
committerMagnus Hagander <magnus@hagander.net>2007-03-16 17:57:36 +0000
commit51d7741db13332523708cd7ac75a8ca60c9d16a9 (patch)
tree2b7db7342157e6e7c33b3d3d9932bfdcc8bfa78b /src/include/pgstat.h
parentc4fdfb8de3ab534a8d988f27c5ab0d808e924e22 (diff)
Add new columns for tuple statistics on a database level to
pg_stat_database.
Diffstat (limited to 'src/include/pgstat.h')
-rw-r--r--src/include/pgstat.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/pgstat.h b/src/include/pgstat.h
index e4cc6e9aec7..ce0333a7871 100644
--- a/src/include/pgstat.h
+++ b/src/include/pgstat.h
@@ -5,7 +5,7 @@
*
* Copyright (c) 2001-2007, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/include/pgstat.h,v 1.54 2007/02/09 16:12:19 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/pgstat.h,v 1.55 2007/03/16 17:57:36 mha Exp $
* ----------
*/
#ifndef PGSTAT_H
@@ -251,6 +251,11 @@ typedef struct PgStat_StatDBEntry
PgStat_Counter n_xact_rollback;
PgStat_Counter n_blocks_fetched;
PgStat_Counter n_blocks_hit;
+ PgStat_Counter n_tuples_returned;
+ PgStat_Counter n_tuples_fetched;
+ PgStat_Counter n_tuples_inserted;
+ PgStat_Counter n_tuples_updated;
+ PgStat_Counter n_tuples_deleted;
TimestampTz last_autovac_time;
/*