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 1x4Qtj-0079Ir-2L for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Sep 2026 22:36:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x4Qti-000oQc-0I for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Sep 2026 22:36:06 +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 1x4Qth-000oQS-2a for pgsql-hackers@lists.postgresql.org; Wed, 09 Sep 2026 22:36:05 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x4Qtf-00000003qpn-0u1K for pgsql-hackers@lists.postgresql.org; Wed, 09 Sep 2026 22:36:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 689MZtPj847230; Wed, 9 Sep 2026 18:35:55 -0400 From: Tom Lane To: Sami Imseih cc: Postgres hackers , Nathan Bossart , aleksander@timescale.com Subject: Re: Rename PqMsg_Progress to PqMsg_ParallelWorkerProgress In-reply-to: References: Comments: In-reply-to Sami Imseih message dated "Wed, 09 Sep 2026 16:57:02 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <847228.1788993355.1@sss.pgh.pa.us> Date: Wed, 09 Sep 2026 18:35:55 -0400 Message-ID: <847229.1788993355@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Sami Imseih writes: > 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. Yeah, "PqMsg_Progress" seems unduly generic. I don't think we should rename it in the back branches, but doing so in master looks like it'd be a small-footprint change. regards, tom lane