pgsql: worker_spi: Use term "dynamic" for bgworkers launched with worke - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: worker_spi: Use term "dynamic" for bgworkers launched with worke
Date
Msg-id E1qOVWx-001NJP-Ru@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
worker_spi: Use term "dynamic" for bgworkers launched with worker_spi_launch()

This gives a way to make a difference between workers registered when
the library is loaded with shared_preload_libraries and when these are
launched dynamically, in ps output or pg_stat_activity.

Extracted from a larger patch by the same author.

Author: Bharath Rupireddy
Reviewed-by: Masahiro Ikeda
Discussion: https://postgr.es/m/CALj2ACWR9ncAiDF73unqdJF1dmsA2R0efGXX2624X+YVxcAVWg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d9eb92c7b122c4cf40e95ec45e88b27b318a2be9

Modified Files
--------------
src/test/modules/worker_spi/worker_spi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Document more assumptions of LWLock variable changes with WAL in
Next
From: Masahiko Sawada
Date:
Subject: pgsql: Fix crash with RemoveFromWaitQueue() when detecting a deadlock.