postgresql/contrib/test_decoding
Michael Paquier f9c4cb6868 Add more $Test::Builder::Level in the TAP tests
Incrementing the level of the call stack reported is useful for
debugging purposes as it allows to control which part of the test is
exactly failing, especially if a test is structured with subroutines
that call routines from Test::More.

This adds more incrementations of $Test::Builder::Level where debugging
gets improved (for example it does not make sense for some paths like
pg_rewind where long subroutines are used).

A note is added to src/test/perl/README about that, based on a
suggestion from Andrew Dunstan and a wording coming from both of us.

Usage of Test::Builder::Level has spread in 12, so a backpatch down to
this version is done.

Reviewed-by: Andrew Dunstan, Peter Eisentraut, Daniel Gustafsson
Discussion: https://postgr.es/m/YV1CCFwgM1RV1LeS@paquier.xyz
Backpatch-through: 12
2021-10-12 11:15:44 +09:00
..
expected Fix toast rewrites in logical decoding. 2021-08-25 09:53:07 +05:30
specs Allow non-quoted identifiers as isolation test session/step names. 2021-06-23 18:41:39 -04:00
sql Fix toast rewrites in logical decoding. 2021-08-25 09:53:07 +05:30
t Add more $Test::Builder::Level in the TAP tests 2021-10-12 11:15:44 +09:00
.gitignore Improve isolation tests infrastructure. 2017-03-14 15:56:17 -07:00
Makefile Add information of total data processed to replication slot stats. 2021-04-16 07:34:43 +05:30
logical.conf Add logical_decoding_work_mem to limit ReorderBuffer memory usage. 2019-11-19 07:32:36 +05:30
test_decoding.c Add support for prepared transactions to built-in logical replication. 2021-07-14 07:33:50 +05:30