summaryrefslogtreecommitdiff
path: root/src/backend/access/index/genam.c
diff options
context:
space:
mode:
authorJan Wieck <JanWieck@Yahoo.com>2001-06-22 19:16:24 +0000
committerJan Wieck <JanWieck@Yahoo.com>2001-06-22 19:16:24 +0000
commit8d80b0d980c327edf162e20fdc829559e8aff224 (patch)
treecdd7d11b95a539d7dd771c80e5e1535c75af8b6c /src/backend/access/index/genam.c
parent7d6e28149ea699b28773eefa48acc449b67d6ff4 (diff)
Statistical system views (yet without the config stuff, but
it's hard to keep such massive changes in sync with the tree so I need to get it in and work from there now). Jan
Diffstat (limited to 'src/backend/access/index/genam.c')
-rw-r--r--src/backend/access/index/genam.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/access/index/genam.c b/src/backend/access/index/genam.c
index ee9cea6646c..1115fb828b2 100644
--- a/src/backend/access/index/genam.c
+++ b/src/backend/access/index/genam.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/index/genam.c,v 1.27 2001/06/09 18:16:56 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/index/genam.c,v 1.28 2001/06/22 19:16:21 wieck Exp $
*
* NOTES
* many of the old access method routines have been turned into
@@ -48,6 +48,7 @@
#include "postgres.h"
#include "access/genam.h"
+#include "pgstat.h"
/* ----------------------------------------------------------------
* general access method routines
@@ -110,6 +111,8 @@ RelationGetIndexScan(Relation relation,
ItemPointerSetInvalid(&scan->currentItemData);
ItemPointerSetInvalid(&scan->currentMarkData);
+ pgstat_initstats(&scan->xs_pgstat_info, relation);
+
/*
* mark cached function lookup data invalid; it will be set on first
* use