Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vmxt5-000hjj-0S for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Feb 2026 17:38:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vmxt4-000gHK-0F for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Feb 2026 17:38:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vmxt3-000gHB-2M for pgsql-hackers@lists.postgresql.org; Mon, 02 Feb 2026 17:38:57 +0000 Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vmxt1-00000000hYP-1xUi for pgsql-hackers@lists.postgresql.org; Mon, 02 Feb 2026 17:38:57 +0000 Received: by mail-oi1-x22d.google.com with SMTP id 5614622812f47-45ca17ef16eso1797610b6e.0 for ; Mon, 02 Feb 2026 09:38:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770053933; x=1770658733; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ojeiqFWoFcf8pf0DyKbdiqvuQNX/YEwx5VoWFGxKvo4=; b=E0QfiuOLoXnPFpVb23eQzEduXS6RjpkHmZHypL7BKL6NgdPF1DaVlOPz9m3GPo816n v1KhnO9kveMMTJ8W3PfDxrP9MfkqNeDmRk245TwIC6ZaqVKvBXqmPhq3RH/DCizU4O3C HI2g9ScH4eVXnjx4Z9ni8R0GFU86J38di3t6ycdjjTU5QYIDsEt6z+iBIuIGFjCR3ALW JLRqpKBLo4c72kOsdnIH4zBqMdkFfx3poy4THVNK5eTb6Cy0eFf2Pu7RXKQSayo34gwA 1A17f62aMR1Uy/NHaYaxQdzGUqatz3Sp7oAbe0QtsobJLkHuvZeOgfYmE++LiPwok1ZH pGxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770053933; x=1770658733; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ojeiqFWoFcf8pf0DyKbdiqvuQNX/YEwx5VoWFGxKvo4=; b=p7QZ78JXBi3MEREuSxgz76SEmO1u2U6PdjW6gbZYlsSip9TQdWIjFvzRVnhox7QSS0 c06HMU6Oy1Ci/WLz13SKCkiTsaCmWDqhnyxdYCW9EzK4bpBv0ELu4NnLs12n0+YmuFRD GJswWP7quZUTzjCjYbYy6ozT5T0co9eEQ/w6c7aI7dndLyrpPOQrP69emX9gytB7bgoY JPWb3OCRujF+rENNr20klHSUl3Bja5kjD+YEu75kc6GmRtbWWqv7jlZZjsTFI81f8kBB qgjFekyownOe/j9QplZ9wuzl1FKWYXN6H9x7FDdNUjkzNqhaCt7zgbgzPNKy7pZtGm+Y i7Dg== X-Gm-Message-State: AOJu0Yx/vn44q1+UxQFLvW5nqk2HbrZY/4wpirR1Ix2MWNp/WsK3rWzy /Vt7wSY50Si86k9WU8uM8/q67OHJBVqSu5EpXDPxlkWppjDRCUx/Ur9h X-Gm-Gg: AZuq6aIIYByJWvil3US9KJK8t2ASXOmFRFDB/n5coeL5zMLH3ReqweQlEsbbsWoauWN 7hvfih4c9JhDHFQYbYZycuQ4/vJyxtCBxZg4ctNKEw8NGG/QYErQlAr0Kw4X1R6vr1FQKuNqNZd 7+Q9WRpNH/J632MbZ39vew/MhtOHIe+RRFm9R6tFz0PmgCCiUej5QgY8ylji2hRIbEg9vKn13k/ u/DQyxT3z21OD37d9fREy2SdCznMMdof+8Q1A6DKi4rVylXmT1yNRNBBApGyDd6yhy+4x1E9caP ew12N8ulz5KgKeqS9DKV60I/fEudJc6IMoSOfOTygANEAufJyiU92eC/rU1LBCb9OU6WCs/HWje vjzpf3R/ar7arIccfbDw/tSG4LQ/7ANDlVjjEvQ7yMN5Q7gQAcjEnU5zTGC7KuOVSRYGLTtL/Iy YGt+CbTy4u3W7LI/OoB+YeQkrM94MmY9zIqAyyBHpa3QzTp8EUgdck4eZULHo1mqE6Ta48c+8QR QTx X-Received: by 2002:a05:6808:130b:b0:45e:ee4b:481c with SMTP id 5614622812f47-45f34b50693mr5428234b6e.11.1770053933477; Mon, 02 Feb 2026 09:38:53 -0800 (PST) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 5614622812f47-45f08f769e8sm9469511b6e.19.2026.02.02.09.38.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Feb 2026 09:38:53 -0800 (PST) Date: Mon, 2 Feb 2026 11:38:51 -0600 From: Nathan Bossart To: Michael Banck Cc: pgsql-hackers Subject: Re: [patch] Add process title to test_shm_mq worker Message-ID: References: <6980df98.5d0a0220.25a748.a08cSMTPIN_ADDED_BROKEN@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6980df98.5d0a0220.25a748.a08cSMTPIN_ADDED_BROKEN@mx.google.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Feb 02, 2026 at 06:31:56PM +0100, Michael Banck wrote: > albeit just a test module, the test_shm_mq test can run a few seconds, > and during that, it looks like this: > > mbanck 2701 - Rsfo 0:00.51 postgres: > > With the attached patch, it looks like this: > > mbanck 2780 - Rsfo 0:01.63 postgres: test_shm_mq worker > > I think the process title got lost in 5373bc2a where bgw_name was > replaced with bgw_type. Maybe that was intentional, but the > corresponding change to src/test/modules/worker_spi was made so that > bgw_name was preserved/changed. Seems reasonable to me. While it's only a test module, folks might use it as a starting point for their own module, so IMHO it's worth setting a good example. I'll wait for a couple, but otherwise I'll go commit this soon. -- nathan