Improve test coverage for changes to inplace-updated catalogs.
Noah Misch <noah@leadboat.com>
Improve test coverage for changes to inplace-updated catalogs. This covers both regular and inplace changes, since bugs arise at their intersection. Where marked, these witness extant bugs. Back-patch to v12 (all supported versions). Reviewed (in an earlier version) by Robert Haas. Discussion: https://postgr.es/m/20240512232923.aa.nmisch@google.com
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pgbench/t/001_pgbench_with_server.pl | modified | +28 −0 |
| src/test/isolation/expected/eval-plan-qual.out | modified | +26 −0 |
| src/test/isolation/expected/inplace-inval.out | added | +32 −0 |
| src/test/isolation/expected/intra-grant-inplace-db.out | added | +28 −0 |
| src/test/isolation/expected/intra-grant-inplace.out | added | +225 −0 |
| src/test/isolation/isolation_schedule | modified | +3 −0 |
| src/test/isolation/specs/eval-plan-qual.spec | modified | +21 −0 |
| src/test/isolation/specs/inplace-inval.spec | added | +38 −0 |
| src/test/isolation/specs/intra-grant-inplace-db.spec | added | +46 −0 |
| src/test/isolation/specs/intra-grant-inplace.spec | added | +153 −0 |
| src/test/recovery/t/027_stream_regress.pl | modified | +34 −0 |
| src/test/regress/expected/database.out | added | +15 −0 |
| src/test/regress/expected/merge.out | modified | +11 −0 |
| src/test/regress/parallel_schedule | modified | +1 −1 |
| src/test/regress/sql/database.sql | added | +17 −0 |
| src/test/regress/sql/merge.sql | modified | +14 −0 |
Discussion
- race condition in pg_class 86 messages · 2023-10-25 → 2026-02-16