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.94.2) (envelope-from ) id 1qTm8V-00AdIR-TJ for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Aug 2023 16:34:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qTm8T-006rRP-SE for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Aug 2023 16:34:14 +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.94.2) (envelope-from ) id 1qTm8T-006rRH-JC for pgsql-hackers@lists.postgresql.org; Wed, 09 Aug 2023 16:34:13 +0000 Received: from [68.162.161.243] (helo=sss.pgh.pa.us) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qTm8R-001Qez-L0 for pgsql-hackers@lists.postgresql.org; Wed, 09 Aug 2023 16:34:12 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 379GY8gW110574; Wed, 9 Aug 2023 12:34:08 -0400 From: Tom Lane To: Dave Cramer cc: Peter Eisentraut , Tatsuo Ishii , nathandbossart@gmail.com, robertmhaas@gmail.com, alvherre@alvh.no-ip.org, smithpb2250@gmail.com, pgsql-hackers@lists.postgresql.org Subject: Re: Using defines for protocol characters In-reply-to: References: <859245.1691438528@sss.pgh.pa.us> <20230807214714.GA1284531@nathanxps13> <20230808.074954.718352835768755597.t-ishii@sranhm.sra.co.jp> Comments: In-reply-to Dave Cramer message dated "Wed, 09 Aug 2023 10:27:37 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <110572.1691598848.1@sss.pgh.pa.us> Date: Wed, 09 Aug 2023 12:34:08 -0400 Message-ID: <110573.1691598848@sss.pgh.pa.us> X-Host-Lookup-Failed: Reverse DNS lookup failed for 68.162.161.243 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Dave Cramer writes: > On Wed, 9 Aug 2023 at 09:19, Peter Eisentraut wrote: >> 3. IMO, the names of the protocol messages in protocol.sgml are >> canonical. Your patch appends "Request" and "Response" in cases where >> that is not part of the actual name. Also, some messages are documented >> to go both ways, so this separation doesn't make sense strictly >> speaking. Please use the names as in protocol.sgml without augmenting >> them. > I've changed this a number of times. I do not mind changing it again, but > can we reach a consensus ? I agree with Peter: let's use the names in the protocol document with a single prefix. I've got mixed feelings about whether that prefix should have an underscore, though. regards, tom lane