Warning about using pg_stat_reset() and pg_stat_reset_shared() - Mailing list pgsql-hackers

From Bruce Momjian
Subject Warning about using pg_stat_reset() and pg_stat_reset_shared()
Date
Msg-id YzRr+ys98UzVQJvK@momjian.us
Whole thread Raw
Responses Re: Warning about using pg_stat_reset() and pg_stat_reset_shared()
Re: Warning about using pg_stat_reset() and pg_stat_reset_shared()
List pgsql-hackers
We have discussed the problems caused by the use of pg_stat_reset() and 
pg_stat_reset_shared(), specifically the removal of information needed
by autovacuum.  I don't see these risks documented anywhere.  Should we
do that?  Are there other risks?

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Indecision is a decision.  Inaction is an action.  Mark Batterson




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Enables to call Unregister*XactCallback() in Call*XactCallback()
Next
From: Robert Haas
Date:
Subject: Re: Warning about using pg_stat_reset() and pg_stat_reset_shared()