On Tue, Jun 02, 2026 at 11:46:52PM +0500, Andrey Borodin wrote:
> For tests without PGPROC we can mmap() inj_state to a fixed file in
> PGDATA/injection_points.shm. TAP can poll name[] to detect that a wait
> point was reached and bump wait_counts[] to wake.
That's a direction. Only mmap() would not be sufficient, as WIN32 has
its own non-POSIX idea on the matter with CreateFileMapping() &
friends. I am wondering if we should think harder about an interface
that could make such things easier for extensions. Or we could have a
portable layer added to injection_points, as well..
--
Michael