pgsql: test_shm_mq: Replace WAIT_EVENT_EXTENSION with custom wait event - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: test_shm_mq: Replace WAIT_EVENT_EXTENSION with custom wait event
Date
Msg-id E1qnwzk-007Qkg-KT@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
test_shm_mq: Replace WAIT_EVENT_EXTENSION with custom wait events

Two custom wait events are added here:
- "TestShmMqBgWorkerStartup", when setting up a set of bgworkers in
wait_for_workers_to_become_ready().
- "TestShmMqMessageQueue", when waiting for a queued message in
test_shm_mq_pipelined().

Author: Masahiro Ikeda
Discussion: https://postgr.es/m/197bce267fa691a0ac62c86c4ab904c4@oss.nttdata.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3338a9838298c4b42e2829373f70228c4fc50652

Modified Files
--------------
src/test/modules/test_shm_mq/setup.c | 9 ++++++++-
src/test/modules/test_shm_mq/test.c  | 9 ++++++++-
2 files changed, 16 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: worker_spi: Rename custom wait event to "WorkerSpiMain"
Next
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Clarify not-null constraints in information schema