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 1rtl6r-00HEBy-8q for pgsql-committers@arkaria.postgresql.org; Mon, 08 Apr 2024 09:16:13 +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 1rtl5s-003aXt-EB for pgsql-committers@arkaria.postgresql.org; Mon, 08 Apr 2024 09:15:12 +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 1rtl5s-003aXl-79 for pgsql-committers@lists.postgresql.org; Mon, 08 Apr 2024 09:15:12 +0000 Received: from meesny.iki.fi ([2001:67c:2b0:1c1::201]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rtl5p-001XgF-8d for pgsql-committers@lists.postgresql.org; Mon, 08 Apr 2024 09:15:11 +0000 Received: from [192.168.1.115] (dsl-hkibng22-54f8db-125.dhcp.inet.fi [84.248.219.125]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hlinnaka) by meesny.iki.fi (Postfix) with ESMTPSA id 4VCk2L3GPDzyQq; Mon, 8 Apr 2024 12:15:06 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1712567706; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7LuhD3rqxBaHM/tDYlm4JLu8siFdS1k/W8RFf31H6WY=; b=N/oTnWFnSQm8kPrR4ZsL4sybF2uWG1kO7XVUO5QUlUX4jcx4rQxqcN4oZZqBlkjmQmlvbB TDsqNgaPYMDvtsq+4UtZ3rCzgQqDKxt8I7ku9HeOttcvnUxJCx4DjN23CE3/EFvWqMms8F A1jMb8X2CmcRzDqT1tC9BLU4EkkBMGU= ARC-Seal: i=1; s=meesny; d=iki.fi; t=1712567706; a=rsa-sha256; cv=none; b=H+0uhsqsWtJfr0owiyxOBmRfG25QsfgjlBMt5nAssoaajN8055JiH7bTNujWPnaU3QLJ8O ajQbRJxsp3kP+lwFtsbpWuLHIS36Ts5nIk0KimZt7B8Eg2BfUUlF4plykJ38Az1V/gs8qb TEJQMmNdXEBOUgA5ArKZk6E0p0VywfU= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=hlinnaka smtp.mailfrom=hlinnaka@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1712567706; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7LuhD3rqxBaHM/tDYlm4JLu8siFdS1k/W8RFf31H6WY=; b=croszsDonUpGer/84lVnB5yLhE1YwDxhvJgO1wUaz+Jr3tFs+SjkH0I1FnFx1c0eGEriXb ZG4hMlih6y0DTk12SrCpypb3X6ZXsFm+gEtZVNcCrJylgO3FBXCrt7nJZSfU2oTtx1V1lp 3el8+Mkn3LcwPIzJ9MzCfJK1iPwwvLw= Message-ID: Date: Mon, 8 Apr 2024 12:15:05 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pgsql: Enhance libpq encryption negotiation tests with new GUC Content-Language: en-US To: Kyotaro Horiguchi Cc: pgsql-committers@lists.postgresql.org References: <20240408.154010.1170771365226258348.horikyota.ntt@gmail.com> From: Heikki Linnakangas In-Reply-To: <20240408.154010.1170771365226258348.horikyota.ntt@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 08/04/2024 09:40, Kyotaro Horiguchi wrote: > At Sun, 07 Apr 2024 23:50:08 +0000, Heikki Linnakangas wrote in >> Enhance libpq encryption negotiation tests with new GUC > > This commit adds the following messages: > >> gettext_noop("Log details of pre-authentication connection handshake."), > > Similar to a nearby commit, other messages with a similar context use > the phrase "Logs ". Wouldn't it be better to align this > message with existing ones? > > diff --git a/src/backend/utils/misc/guc_tables.c b/src/backend/utils/misc/guc_tables.c > index 83e3a59d7e..4584829992 100644 > --- a/src/backend/utils/misc/guc_tables.c > +++ b/src/backend/utils/misc/guc_tables.c > @@ -1227,7 +1227,7 @@ struct config_bool ConfigureNamesBool[] = > }, > { > {"trace_connection_negotiation", PGC_POSTMASTER, DEVELOPER_OPTIONS, > - gettext_noop("Log details of pre-authentication connection handshake."), > + gettext_noop("Logs details of pre-authentication connection handshake."), > NULL, > GUC_NOT_IN_SAMPLE > }, We're not very consistent about it, there's also: log_temp_files: Log the use of temporary files larger than this number of kilobytes. trace_syncscan: Generate debugging output for synchronized scanning. trace_sort: Emit information about resource usage in sorting. backtrace_functions: Log backtrace for errors in these functions. backtrace_on_internal_error: Log backtrace for any error with error code XX000 (internal error). But I agree the "Logs ..." phrasing is more common, so committed. -- Heikki Linnakangas Neon (https://neon.tech)