worker_spi: Use term "dynamic" for bgworkers launched with worker_spi_launch()

Michael Paquier <michael@paquier.xyz>

Commit: d9eb92c7b122c4cf40e95ec45e88b27b318a2be9
Author: Michael Paquier <michael@paquier.xyz>
Date: 2023-07-26T03:43:26Z
Releases: 17.0
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

Files

PathChange+/−
src/test/modules/worker_spi/worker_spi.c modified +2 −2

Discussion