]> 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:17 +0000 (11:21 +0200)
commit65f5c451a3e1e95e457d62fc015af11b85704203
treeaf8e6bd6920313121122d64795f7f2efeb994994
parenta7499ff5eb589c9aa530656fc074706e564ac819
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