From: Michael Paquier <michael@paquier.xyz>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: pgstat: add pgstat_copy_relation_stats().
Date: Thu, 7 Apr 2022 08:58:08 +0900
Message-ID: <Yk4pEKutdCO7RVLY@paquier.xyz> (raw)
In-Reply-To: <E1ncDJ6-000dTv-Sr@gemulon.postgresql.org>
References: <E1ncDJ6-000dTv-Sr@gemulon.postgresql.org>
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
Attachments:
signature.asc (application/pgp-signature, 832B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz, andres@anarazel.de
Subject: Re: pgsql: pgstat: add pgstat_copy_relation_stats().
In-Reply-To: <Yk4pEKutdCO7RVLY@paquier.xyz>
References: <E1ncDJ6-000dTv-Sr@gemulon.postgresql.org> <Yk4pEKutdCO7RVLY@paquier.xyz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox