]> 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:33 +0000 (11:21 +0200)
commita6b11ac4c42d83e0821d0b1863d4d1ebbbc1eabb
treed86e1a21f971438aa4cb584cbeeb90c2e541e740
parentbe233b301e60f5f305296d65cf7bcfd4821319ba
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