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 1r0NSe-005IwJ-3i for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Nov 2023 14:53:48 +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 1r0NSc-008rk7-I0 for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Nov 2023 14:53:46 +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.94.2) (envelope-from ) id 1r0NSc-008rjx-3g for pgsql-hackers@lists.postgresql.org; Tue, 07 Nov 2023 14:53:46 +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.94.2) (envelope-from ) id 1r0NSY-005BuC-7x for pgsql-hackers@lists.postgresql.org; Tue, 07 Nov 2023 14:53:45 +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 3A7ErZB8119067; Tue, 7 Nov 2023 09:53:35 -0500 From: Tom Lane To: Alvaro Herrera cc: Nathan Bossart , Laurenz Albe , Peter Eisentraut , Daniel Gustafsson , Peter Smith , PostgreSQL Hackers Subject: Re: GUC names in messages In-reply-to: <202311070933.ngoeikm2v4k4@alvherre.pgsql> References: <202311070933.ngoeikm2v4k4@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Tue, 07 Nov 2023 10:33:03 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <119065.1699368815.1@sss.pgh.pa.us> Date: Tue, 07 Nov 2023 09:53:35 -0500 Message-ID: <119066.1699368815@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > On 2023-Nov-01, Nathan Bossart wrote: >> +1, IMHO quoting GUC names makes it abundantly clear that they are special >> identifiers. In de4d456, we quoted the role names in a bunch of messages. >> We didn't quote the attribute/option names, but those are in all-caps, so >> they already stand out nicely. > I like this, and I propose we codify it in the message style guide. How > about this? We can start looking at code changes to make once we decide > we agree with this. WFM. regards, tom lane