Skip prepared_xacts test if max_prepared_transactions < 2
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/prepared_xacts_1.out | modified | +3 −266 |
| src/test/regress/expected/prepared_xacts.out | modified | +5 −2 |
| src/test/regress/sql/prepared_xacts.sql | modified | +6 −1 |
Discussion
- Fix bug in multixact Oldest*MXactId initialization and access 31 messages · 2026-02-24 → 2026-03-04