postgresql/contrib/test_decoding
Andres Freund 0f96965c65 pgstat: add pg_stat_force_next_flush(), use it to simplify tests.
In the stats collector days it was hard to write tests for the stats system,
because fundamentally delivery of stats messages over UDP was not
synchronous (nor guaranteed). Now we easily can force pending stats updates to
be flushed synchronously.

This moves stats.sql into a parallel group, there isn't a reason for it to run
in isolation anymore. And it may shake out some bugs.

Bumps catversion.

Author: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20220303021600.hs34ghqcw6zcokdh@alap3.anarazel.de
2022-04-06 23:35:56 -07:00
..
expected pgstat: add pg_stat_force_next_flush(), use it to simplify tests. 2022-04-06 23:35:56 -07:00
specs Close race condition in slot_creation_error.spec. 2022-03-18 18:18:00 -07:00
sql pgstat: add pg_stat_force_next_flush(), use it to simplify tests. 2022-04-06 23:35:56 -07:00
t pgstat: stats collector references in comments. 2022-04-06 13:56:06 -07:00
.gitignore Improve isolation tests infrastructure. 2017-03-14 15:56:17 -07:00
Makefile Add isolation test for errors during logical slot creation. 2022-02-14 21:53:36 -08:00
logical.conf Add logical_decoding_work_mem to limit ReorderBuffer memory usage. 2019-11-19 07:32:36 +05:30
test_decoding.c test_decoding: Add comments about delaying BEGIN/PREPARE 2022-03-23 16:46:57 +01:00