]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix regression test failure when wal_level is set to minimal.
authorMasahiko Sawada <msawada@postgresql.org>
Wed, 24 Dec 2025 18:48:27 +0000 (10:48 -0800)
committerMasahiko Sawada <msawada@postgresql.org>
Wed, 24 Dec 2025 18:48:27 +0000 (10:48 -0800)
commit0de5f0d869d1e06f172f10adf441e504174cf2fe
treee5f7b31e04d8c69e71efe38bd2bcd4864637dd4d
parent008beba005c9990e2ba2a729c08585f051a24950
Fix regression test failure when wal_level is set to minimal.

Commit 67c209 removed the WARNING for insufficient wal_level from the
expected output, but the WARNING may still appear on buildfarm members
that run with wal_level=minimal.

To avoid unstable test output depending on wal_level, this commit the
test to use ALTER PUBLICATION for verifying the same behavior,
ensuring the output remains consistent regardless of the wal_level
setting.

Per buildfarm member thorntail.

Author: Zhijie Hou <houzj.fnst@fujitsu.com>
Discussion: https://postgr.es/m/TY4PR01MB16907680E27BAB146C8EB1A4294B2A@TY4PR01MB16907.jpnprd01.prod.outlook.com
src/test/regress/expected/publication.out
src/test/regress/sql/publication.sql