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 <[email protected]> Author: Andres Freund <[email protected]> Discussion: https://postgr.es/m/[email protected] 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(+)
