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

From: Ilyasov Ian <ianilyasov(at)outlook(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Fix src/test/subscription/t/029_on_error.pl test when wal_debug is enabled
Date: 2024-05-14 10:22:29
Message-ID: GV1P251MB100415F17E6B2FDD7188777ECDE32@GV1P251MB1004.EURP251.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
0001-Test-subscription-029_on_error.pl-fix-when-wal_debug.patch text/x-patch 1.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2024-05-14 10:33:15 Re: explain format json, unit for serialize and memory are different.
Previous Message Daniel Gustafsson 2024-05-14 10:21:31 Re: Fix resource leak (src/backend/libpq/be-secure-common.c)