Create waitfuncs.c for pg_isolation_test_session_is_blocked().
authorNoah Misch <noah@leadboat.com>
Fri, 28 Jun 2024 02:21:05 +0000 (19:21 -0700)
committerNoah Misch <noah@leadboat.com>
Fri, 28 Jun 2024 02:21:05 +0000 (19:21 -0700)
commitabfbd13af0e971e8789bc89e7c83ad53a85fa74b
tree908a22853140ad25cdc1cfb19f774a55a274cb00
parentbb93640a681c2cc709e9836e169c8f3eb556df57
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
src/backend/utils/adt/Makefile
src/backend/utils/adt/lockfuncs.c
src/backend/utils/adt/meson.build
src/backend/utils/adt/waitfuncs.c [new file with mode: 0644]