worker_spi: Use term "dynamic" for bgworkers launched with worker_spi_launch()
authorMichael Paquier <michael@paquier.xyz>
Wed, 26 Jul 2023 03:43:26 +0000 (12:43 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 26 Jul 2023 03:43:26 +0000 (12:43 +0900)
commitd9eb92c7b122c4cf40e95ec45e88b27b318a2be9
tree44366e406fdaa14ef0b83f3d7272136478904e03
parent66d86d4201b3a4b05c6d7d1bf827d4b17aa44a06
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
src/test/modules/worker_spi/worker_spi.c