summaryrefslogtreecommitdiffstats
path: root/pg_top.c
diff options
context:
space:
mode:
authorMark Wong <mark@2ndQuadrant.com>2019-06-05 03:11:41 +0000
committerMark Wong <mark@2ndQuadrant.com>2019-06-26 12:40:12 -0700
commita2873be743e69c8a18d9a91da631807e45e297de (patch)
treea89813b1f0a67f5783380d7b7fd24590fabb8b13 /pg_top.c
parent3daa6e592e70c046eb7a85000b71ce5aab40b703 (diff)
Remove index stats view
Simplify the pg_top code by moving this functionality to pgstat.
Diffstat (limited to 'pg_top.c')
-rw-r--r--pg_top.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/pg_top.c b/pg_top.c
index 386c7db..1b34873 100644
--- a/pg_top.c
+++ b/pg_top.c
@@ -317,10 +317,6 @@ do_display(struct pg_top_context *pgtctx)
new_message(MT_standout | MT_delayed,
" Extension pg_stat_statments not found");
break;
- case MODE_INDEX_STATS:
- pg_display_index_stats(pgtctx->values, pgtctx->index_order_index,
- max_topn);
- break;
#ifdef __linux__
case MODE_IO_STATS:
for (i = 0; i < active_procs; i++)
@@ -750,7 +746,6 @@ main(int argc, char *argv[])
pgtctx.dostates = No;
pgtctx.do_unames = Yes;
pgtctx.get_userid = username;
- pgtctx.index_order_index = 0;
pgtctx.interactive = Maybe;
pgtctx.io_order_index = 0;
pgtctx.mode = MODE_PROCESSES;