From: Nathan Bossart Date: Mon, 2 Feb 2026 21:43:01 +0000 (-0600) Subject: test_shm_mq: Set background worker names. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12451d9d1f5991739540aefdec77694d59567b34;p=thirdparty%2Fpostgresql.git test_shm_mq: Set background worker names. Oversight in commit 5373bc2a08. Author: Michael Banck Discussion: https://postgr.es/m/20260202173156.GB17962%40p46.dedyn.io%3Blightning.p46.dedyn.io --- diff --git a/src/test/modules/test_shm_mq/setup.c b/src/test/modules/test_shm_mq/setup.c index ba2fd746d73..579e5933d28 100644 --- a/src/test/modules/test_shm_mq/setup.c +++ b/src/test/modules/test_shm_mq/setup.c @@ -228,6 +228,7 @@ setup_background_workers(int nworkers, dsm_segment *seg) /* Register the workers. */ for (i = 0; i < nworkers; ++i) { + snprintf(worker.bgw_name, BGW_MAXLEN, "test_shm_mq worker %d", i + 1); if (!RegisterDynamicBackgroundWorker(&worker, &wstate->handle[i])) ereport(ERROR, (errcode(ERRCODE_INSUFFICIENT_RESOURCES),