Fix src/test/subscription/t/029_on_error.pl test when wal_debug is enabled

Ilyasov Ian <ianilyasov@outlook.com>

From: Ilyasov Ian <ianilyasov@outlook.com>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2024-05-14T10:22:29Z
Lists: pgsql-hackers

Attachments

Hello, hackers!

Recently I've been building postgres with different cflags and cppflags.
And suddenly on REL_15_STABLE, REL_16_STABLE and master
I faced a failure of a src/test/subscription/t/029_on_error.pl test when
      CPPFLAGS="-DWAL_DEBUG"
and
      printf "wal_debug = on\n" >> "${TEMP_CONFIG}"
(or when both publisher and subscriber or only subscriber are run with wal_debug=on)

So I propose a little fix to the test.


Kind regards,
Ian Ilyasov.

Junior Software Developer at Postgres Professional

Commits

  1. Improve stability of subscription/029_on_error.pl