Create waitfuncs.c for pg_isolation_test_session_is_blocked().
Noah Misch <noah@leadboat.com>
Create waitfuncs.c for pg_isolation_test_session_is_blocked(). The next commit makes the function inspect an additional non-lock contention source, so it no longer fits in lockfuncs.c. Reviewed by Robert Haas. Discussion: https://postgr.es/m/20240512232923.aa.nmisch@google.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/lockfuncs.c | modified | +0 −79 |
| src/backend/utils/adt/Makefile | modified | +1 −0 |
| src/backend/utils/adt/meson.build | modified | +1 −0 |
| src/backend/utils/adt/waitfuncs.c | added | +96 −0 |
Discussion
- race condition in pg_class 86 messages · 2023-10-25 → 2026-02-16