We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent1b5a2db commitee71929Copy full SHA for ee71929
contrib/pg_autovacuum/pg_autovacuum.c
@@ -108,7 +108,8 @@ init_table_info(PGresult *res, int row, db_info * dbi)
108
109
new_tbl->CountAtLastAnalyze=
110
(atol(PQgetvalue(res,row,PQfnumber(res,"n_tup_ins")))+
111
-atol(PQgetvalue(res,row,PQfnumber(res,"n_tup_upd"))));
+atol(PQgetvalue(res,row,PQfnumber(res,"n_tup_upd")))+
112
+atol(PQgetvalue(res,row,PQfnumber(res,"n_tup_del"))));
113
new_tbl->curr_analyze_count=new_tbl->CountAtLastAnalyze;
114
115
new_tbl->CountAtLastVacuum=
@@ -120,7 +121,6 @@ init_table_info(PGresult *res, int row, db_info * dbi)
120
121
new_tbl->reltuples=atoi(PQgetvalue(res,row,PQfnumber(res,"reltuples")));
122
new_tbl->relpages=atoi(PQgetvalue(res,row,PQfnumber(res,"relpages")));
123
-log_entry(PQgetvalue(res,row,PQfnumber(res,"relisshared")));
124
if (strcmp("t",PQgetvalue(res,row,PQfnumber(res,"relisshared"))))
125
new_tbl->relisshared=0;
126
else