On Wed, Apr 06, 2022 at 09:35:17PM +0000, Andres Freund wrote:
> pgstat: add pgstat_copy_relation_stats().
> 
> Until now index_concurrently_swap() directly modified pgstat internal
> datastructures. That will break with the introduction of shared memory
> statistics and seems off architecturally.
> 
> This is done separately from the - quite large - shared memory statistics
> patch to make review easier.

Thanks for this one.  This new routine makes sense.
--
Michael

Attachment: signature.asc
Description: PGP signature

Reply via email to