pgsql: pgstat: test stats interactions with physical replication. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: pgstat: test stats interactions with physical replication.
Date
Msg-id E1nca5h-000nMz-5b@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
pgstat: test stats interactions with physical replication.

Tests that standbys:
- drop stats for objects when the those records are replayed
- persist stats across graceful restarts
- discard stats after immediate / crash restarts

Author: Melanie Plageman <melanieplageman@gmail.com>
Author: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20220303021600.hs34ghqcw6zcokdh@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/53b9cd20d4144f5d65c107babe23916aad6c2ef8

Modified Files
--------------
src/test/recovery/t/030_stats_cleanup_replica.pl | 206 +++++++++++++++++++++++
1 file changed, 206 insertions(+)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Revert "Rewrite some RI code to avoid using SPI"
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Rewrite some RI code to avoid using SPI