pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: worker_spi: Use term "dynamic" for bgworkers launched with worke
Date: Wed, 26 Jul 2023 03:49:44 +0000
Message-ID: <E1qOVWx-001NJP-Ru@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1qOVWx-001NJP-Ru@gemulon.postgresql.org>
Permalink:  ../E1qOVWx-001NJP-Ru@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qOVWx-001NJP-Ru@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: worker_spi: Use term "dynamic" for bgworkers launched with worke
  In-Reply-To: <E1qOVWx-001NJP-Ru@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox