Re: pgsql: pgstat: add pgstat_copy_relation_stats().

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pgsql: pgstat: add pgstat_copy_relation_stats().
Дата
Msg-id Yk4pEKutdCO7RVLY@paquier.xyz
обсуждение исходный текст
Ответ на pgsql: pgstat: add pgstat_copy_relation_stats().  (Andres Freund <andres@anarazel.de>)
Список pgsql-committers
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

Вложения

В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Add option --config-file to pg_rewind
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: pgstat: prepare APIs used by pgstatfuncs for shared memory stats