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 1x4ehO-007Il1-1D for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Sep 2026 13:20:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x4ehN-005uRK-1C for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Sep 2026 13:20:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x4ehN-005uRC-0A for pgsql-hackers@lists.postgresql.org; Thu, 10 Sep 2026 13:20:17 +0000 Received: from mail-wm2-x10.google.com ([2a00:1450:4864:31::10]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1x4ehL-00000004xhk-1MF0 for pgsql-hackers@lists.postgresql.org; Thu, 10 Sep 2026 13:20:16 +0000 Received: by mail-wm2-x10.google.com with SMTP id 5b1f17b1804b1-49cc9f581c4so12125885e9.0 for ; Thu, 10 Sep 2026 06:20:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1789046414; x=1789651214; darn=lists.postgresql.org; h=message-id:date:content-transfer-encoding:content-id:content-type :mime-version:comments:references:in-reply-to:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to:content-type; bh=icQfn4RXkX3puwVcGYsYLsVHbIOjiitxUzGwZM5RsGA=; b=BgLP2aMDGMy6IX0RH5QGQ9PpHg09jit8cBTuU79lJoRrmFPFP6S+hqVpqZjCw6FiSb Njeyi72H+OP0rqtGdVqPcauWz7FG0YUdbG5bKNsmHCyzXq9qkQ6OT77coObfmCDRZVE4 FcC10fmGy3Ms++9SGoO1luLhhwWw2c/5Jnmu1k0XgJiSKQ8PuGgvXBy1RpdzoeO098ON 7BbZfriTzQRSYGzPsKiEq93ZUW/datuszYPu7dak+uVv+o5d+wRbUlJyz2xAwxtqUA2g tsTniSlviU4pJ59o2uRySCLMeWEYzhEuRBK7q0IpY5svEwyZy2mq4JyRLaMA6Abg8J25 jW1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789046414; x=1789651214; h=message-id:date:content-transfer-encoding:content-id:content-type :mime-version:comments:references:in-reply-to:subject:cc:to:from :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=icQfn4RXkX3puwVcGYsYLsVHbIOjiitxUzGwZM5RsGA=; b=l6TUM+y2BCdr+3pGUpGzPIKlnctmViWylN9zQJySUwVsy40uO0zaNAu7iHC0HhMcif snmGtouEs4F6hb+/z8xfRNskWJU1weG9ZaQpsNtH89rgt05s7RRLWmdyIwT9lQPKdq3H +43QRBv0jSiX0qO98mMY5wjW/cSdC9slHzszm6q4b9IBrRH7WmtJeJ5r+T75DTDDJFHZ 5fyTneI3HtE4Gr6/IRqqIRRvSfeev74Z++Up9ivitYzU3foD4S/J3frdXr0EPczyrR23 e0iCdMP4aRDn9/h9MaN/xlx/aAfIlOquGbwIRmwhcaktu+yTiqjP7cUZtgjiaUIqWqVB K5xQ== X-Forwarded-Encrypted: i=1; AKwUvBx90u3A+qt+FhSvhekhOhmX9k+XR+rUV4GYJ27hOFHSJtMfD9i++Vl15oBy6Nuq3dwJkQ1nMz948xxoh1F4@lists.postgresql.org X-Gm-Message-State: AFuF++mipGhCdBiqYrISNM4LT9FpdcyUiRn+849csyY0wbvExaVMaGza m978vmeH4qnr/Md5QpnfmRdKoGxXkh+GOU7lEo/kwhzIX+rltnd6FG7BVwiOs3Kmj/I= X-Gm-Gg: AYBFou3nKvc9JkEvcdRi2hfe80w6P558ajMspVRHG9g1p6n5pfE42x/rSUaZ5w2HHDt 90FXMmL7taZ5HVZtXwXlN+uxJpT0lAnyqw1rCTRtiPXGmcrJBejyoz9K9Lgt5sOaEcJPmS9broJ INef0M/oyS2bVjBwToQkepS9RpcLrEjYFYAbdVwPnWpMhQK8EtvlrdxTATP9cl9tVzP2+Z8iNgY jxXjxTSVX2/T7wBn3l1ko0bCqV6nWKE+6Olu0VYp5FVl3I5a3naMvbtU5VHAsB6cFRPpB24+WtU drSVg0eLF5XaKCj8fuucdN2CxBSLsWo3wf51jSwhfOAXMJtzrp+fxL5jMNXpRwTb5I7cJYulw4W pWX0RixCHC4x86J3DmWU1fw9o5BE92usGItd4MYuibhHvCnjJ1Hh5BR/mk4qnEqXzlAl0M+P/BY F4h7ROU/Z11JeqK4swh1A5P3nbEVQAcnOW4YMKnvirE66ISSIJUXEKjcdDL2seOSAN0nKZzkhEm Xo0/wxuYvFAkQ== X-Received: by 2002:a05:600c:488a:b0:49c:f13e:e4d with SMTP id 5b1f17b1804b1-49d26db65aemr28041785e9.10.1789046413911; Thu, 10 Sep 2026 06:20:13 -0700 (PDT) Received: from localhost (109-81-170-190.rct.o2.cz. [109.81.170.190]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49d26be3e35sm72159095e9.2.2026.09.10.06.20.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2026 06:20:13 -0700 (PDT) From: Antonin Houska To: Kirill Reshke cc: Sami Imseih , Postgres hackers , Nathan Bossart , aleksander@timescale.com Subject: Re: Rename PqMsg_Progress to PqMsg_ParallelWorkerProgress In-reply-to: References: Comments: In-reply-to Kirill Reshke message dated "Thu, 10 Sep 2026 09:39:04 +0500." X-Mailer: MH-E 8.6+git; nmh 1.8; GNU Emacs 28.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <21119.1789046412.1@localhost> Content-Transfer-Encoding: quoted-printable Date: Thu, 10 Sep 2026 15:20:12 +0200 Message-ID: <21120.1789046412@localhost> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Kirill Reshke wrote: > On Thu, 10 Sept 2026 at 02:57, Sami Imseih wrot= e: > > > > While looking at this, I realized that "PqMsg_Progress" is the name of= the > > 'P' message that was added for parallel index progress reporting. > > > > I missed [1] at the time, but if there is still a chance to rename it = to > > "PqMsg_ParallelWorkerProgress", that seems better, > > "PqMsg_Progress" does not really describe what it is, whereas > > "PqMsg_ParallelWorkerProgress" makes it explicit that this is a > > parallel-worker-to-leader message. It also matches other places in the= code > > that deal with parallel workers, such as "IsParallelWorker", so it is = easier > > to find when looking through parallel-worker code. > > > > [1] https://www.postgresql.org/message-id/ZpboPlg1v38vJhsD%40nathan > > > > -- > > Sami Imseih > > Amazon Web Services (AWS) > > > = > Well, that's kind of bikeshedding for me to start with. But if we do, > maybe a better option will be to describe what this exactly does, not > who sends it. Like PgMsg_StatProgressReport or something. Does it > sound? My objection to PqMsg_ParallelWorkerProgress is that other kinds of worker= s might use it too, so PqMsg_WorkerProgress would make more sense. Anyway, y= our suggestion sounds good to me as well because the existing message types do= not (except for PqMsg_BackendKeyData) use the name to indicate the sender. -- = Antonin Houska Web: https://www.cybertec-postgresql.com