pgsql: worker_spi: Use term "dynamic" for bgworkers launched with worke

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: worker_spi: Use term "dynamic" for bgworkers launched with worke
Date: 2023-07-26 03:49:44
Message-ID: E1qOVWx-001NJP-Ru@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Masahiko Sawada 2023-07-26 05:43:50 pgsql: Fix crash with RemoveFromWaitQueue() when detecting a deadlock.
Previous Message Michael Paquier 2023-07-26 03:07:43 pgsql: Document more assumptions of LWLock variable changes with WAL in