]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Skip prepared_xacts test if max_prepared_transactions < 2
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 4 Mar 2026 09:06:43 +0000 (11:06 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 4 Mar 2026 09:21:48 +0000 (11:21 +0200)
commitffe53037dff757a9e866966ab2741ec762df51c4
treeda41ad30617dc881684b7818e80b6aceecc8c18f
parentbce98e49e8ace62c1018dc24dec443a50b347cb3
Skip prepared_xacts test if max_prepared_transactions < 2

This reduces maintenance overhead, as we no longer need to update the
dummy expected output file every time the .sql file changes.

Discussion: https://www.postgresql.org/message-id/1009073.1772551323@sss.pgh.pa.us
Backpatch-through: 14
src/test/regress/expected/prepared_xacts.out
src/test/regress/expected/prepared_xacts_1.out
src/test/regress/sql/prepared_xacts.sql