summaryrefslogtreecommitdiffstats
path: root/pg_top.c
diff options
context:
space:
mode:
authorMark Wong <mark@2ndQuadrant.com>2019-06-05 02:58:40 +0000
committerMark Wong <mark@2ndQuadrant.com>2019-06-26 12:39:53 -0700
commit3daa6e592e70c046eb7a85000b71ce5aab40b703 (patch)
tree49c3f2e634e3b4bec2987528793c702103b0525a /pg_top.c
parentf595ce3bb62130c5aa4f8465677ab028e0428edf (diff)
Remove table 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 d01f51d..386c7db 100644
--- a/pg_top.c
+++ b/pg_top.c
@@ -321,10 +321,6 @@ do_display(struct pg_top_context *pgtctx)
pg_display_index_stats(pgtctx->values, pgtctx->index_order_index,
max_topn);
break;
- case MODE_TABLE_STATS:
- pg_display_table_stats(pgtctx->values, pgtctx->table_order_index,
- max_topn);
- break;
#ifdef __linux__
case MODE_IO_STATS:
for (i = 0; i < active_procs; i++)
@@ -766,7 +762,6 @@ main(int argc, char *argv[])
pgtctx.ps.command = NULL;
pgtctx.show_tags = No;
pgtctx.statement_order_index = 0;
- pgtctx.table_order_index = 0;
pgtctx.topn = 0;
/* Show help or version number if necessary */