test_shm_mq

A test module providing a example for using dynamic shared memory and the shared memory message queue facilities to coordinate a user backend with background worker(s)

test_shm_mq is a test module providing a example for using dynamic shared memory and the shared memory message queue facilities to coordinate a user backend with background worker(s).

test_shm_mq was added in PostgreSQL 9.4 (commit 4db3744f) as a contrib module and converted to a test module in PostgreSQL 9.5 (commit 22dfd116).

Source

test_shm_mq source is located at src/test/modules/test_shm_mq/.

Categories

Background worker, Coding example, PostgreSQL internals, Testing

See also

background worker, worker_spi