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 1x4l8R-007Mr8-2B for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Sep 2026 20:12:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x4l8Q-008rQD-1w for pgsql-hackers@arkaria.postgresql.org; Thu, 10 Sep 2026 20:12:38 +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 1x4l8Q-008rQ2-11 for pgsql-hackers@lists.postgresql.org; Thu, 10 Sep 2026 20:12:38 +0000 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1x4l8O-0000000510Y-34Uu for pgsql-hackers@lists.postgresql.org; Thu, 10 Sep 2026 20:12:37 +0000 Received: by mail-qk1-x72c.google.com with SMTP id af79cd13be357-936dfd009d1so153581685a.1 for ; Thu, 10 Sep 2026 13:12:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789071155; x=1789675955; darn=lists.postgresql.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=vCQXqiD59ZcbGftI2YwlHaoq7ysnWbOy6h2sjirSRj8=; b=E/TSjxdAvsw6qmYX2+Jg4jL1sSpUYftY/ZYAUJaSmMhGRm9rbqCpZ0QUpjzY731L++ ZlFyJrRXDav/wRUH5mT2JTF9MMZHjeUPAJu3PHiWYMyvmUSKk5Sqy8Ec5GpYUJUZVj0G 8K4ZBFIMCVuUA93w7wJnqqWHYAWwlMH/cR6Lvt6llGAcqTodVitPRMxqSsn0SXIa27qL X2Kn+pLO4IxZEJdxlyqp/trrezyAZeuKkl9BV3+6rbpyfOMM28nr4KODIEhslh47g+rh vKBCqbxlwnTzBmVT9hWxhlwm0fJkE1Rh5ajrsYOCBRNHJLIdIcACGzpfo71c/Ry4FDVD BhjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789071155; x=1789675955; h=in-reply-to:content-disposition:content-type: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 :content-type; bh=vCQXqiD59ZcbGftI2YwlHaoq7ysnWbOy6h2sjirSRj8=; b=X6fxv3KVa4fS6r7jk4zCHeWj8pd2siAii89Y/PbLZTpKDm7ccD/+erxkaxPF/i2wc5 gMmCUssh3m39eoNL+1AST3mX3Mih21ZwGr2YDiMlecVB4c8uQfsneBY4vUCG4vq/tRZv HNqqWfSGcgEJTyf/NWYSfPsesBjRCVfS2rCmp7z6n33sFVtM56CyUaa5WFXtjpkv9sHx aNh9XnfhhM95udtNncPzK3j7eYQzkB/cee/JjcrLQdurHAWdIsYvrDpPDlHfebQaXyty zEM4JhSqOVX3un+zcrDxLwKgAM7hJgBE0c+XYRTnfsEa8pxixrFXFqxU3dOpTZY/DEso kg+Q== X-Forwarded-Encrypted: i=1; AKwUvBxWhsJYqw3szQi9BQ+x5T84TpjYuMeKb+J5m3VOgBziTZaTVaJU4mQApNSIVN1/XzYpEFT6YH/D9p8lleDa@lists.postgresql.org X-Gm-Message-State: AFuF++lNtUiuR7Q3bPMfL0Al6Wcp1z7ebpP4pn1RMwwzhHDbiDAUm/X6 +BgFVfq5pqr703vnsyxfgJ5SUOUGd5AfPD5MnxRI+TY+fMPN7f6BYc2i X-Gm-Gg: AYBFou0/Juq+BY847LR3tU+tcIc6Z1BZ3mPQqMax5+b7nMxmKSiTl3X46PwoVOF+l1z 5NpC+NcJu95XJswvaBwOB1YtK5T/mM3Sto4jfihzoaX5BZKJjeG6I4vpi0dDrHcTYFBfcjLoi1U dcfeOqy89MKKEK17aFVMiAweHF/v1l9QDshh5iB2nvjVlrQlLUX8B7n6EG2I9bWJVpGFbBZJ0ne yHjwuHz8RYE5Wu+vReC+GxFOpeuFIMGgizrHSs2D82TLcZztgp0pFeZPtPo9JCgiUpsV4iuL3Jz qcKqb1RpZ7a2qcNLTYY5C2hYKdlHC7nCVFeiyfvL21ZJ5XFvbA5+PL31f1L0R5qfm511GyXQ1pF b8vrDrp5/6/pR8g9qrJ3y4a4GSpusLglwhO03j81TzKdjVZZljyNNtcbjPUOcPHjI8GDT5cQP5C atFz6WfSqw4lRYMQwOaRM97IpFJTiXe6RnxE5AnN75E33KCysxEUeNepLLVw09/E5ZEjnYeKx++ 2k54qfizvaVuzCGKzw/0nFzaR6uQXjayukGYne3y/jy/+0IpQ9PbVMnsHjpgZm1JzvWa8R3621I r68O8XDkQnPyIIiokY0x0ivn4g== X-Received: by 2002:a05:620a:178a:b0:930:bd6c:9c32 with SMTP id af79cd13be357-939d7e93e23mr758210385a.12.1789071154511; Thu, 10 Sep 2026 13:12:34 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-9120f45ab7csm4159326d6.15.2026.09.10.13.12.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2026 13:12:33 -0700 (PDT) Date: Thu, 10 Sep 2026 15:12:31 -0500 From: Nathan Bossart To: Tom Lane Cc: Sami Imseih , Postgres hackers , aleksander@timescale.com Subject: Re: Rename PqMsg_Progress to PqMsg_ParallelWorkerProgress Message-ID: References: <847229.1788993355@sss.pgh.pa.us> <915102.1789060495@sss.pgh.pa.us> <924900.1789069820@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <924900.1789069820@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Sep 10, 2026 at 03:50:20PM -0400, Tom Lane wrote: > Sami Imseih writes: >>> I think the obvious way to resolve that >>> inconsistency is to duplicate those macros and give them the parallel >>> prefix, but I'm not sure that's a worthwhile endeavor. Those characters >>> have roughly the same meaning for parallel workers/leaders as they do >>> elsewhere, so there's no real gain in code readability. > >> IMO, this is not necessary. I can't think of a good reason. > > Agreed. I think the main problem with the way things stand is that > it looks like PqMsg_Progress might apply for regular clients, which > it doesn't. > > Possibly it'd be appropriate to adjust the comments in protocol.h > to make things clearer. I think this might be enough: > > -/* These are the codes sent by parallel workers to leader processes. */ > +/* Additional codes sent by parallel workers to leader processes. */ Committed with that comment adjustment, thanks. -- nathan