From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pgstat: add tests for handling of restarts, including crashes.
Date: Thu, 07 Apr 2022 19:31:02 +0000
Message-ID: <E1ncXqP-000mNo-UO@gemulon.postgresql.org> (raw)
pgstat: add tests for handling of restarts, including crashes.
Test that stats are restored during normal restarts, discarded after a crash /
immediate restart, and that a corrupted stats file leads to stats being reset.
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/16acf7f1aaea6c5efc0fa49182c16cd6bfd9f3d3
Modified Files
--------------
src/test/recovery/t/029_stats_restart.pl | 307 +++++++++++++++++++++++++++++++
1 file changed, 307 insertions(+)
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: andres@anarazel.de
Subject: Re: pgsql: pgstat: add tests for handling of restarts, including crashes.
In-Reply-To: <E1ncXqP-000mNo-UO@gemulon.postgresql.org>
References: <E1ncXqP-000mNo-UO@gemulon.postgresql.org>
* 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