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 1rUnMV-00D3ti-BU for pgsql-hackers@arkaria.postgresql.org; Tue, 30 Jan 2024 12:37:12 +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 1rUnMU-005G7N-1v for pgsql-hackers@arkaria.postgresql.org; Tue, 30 Jan 2024 12:37:10 +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 1rUnMS-005G7F-Nh for pgsql-hackers@lists.postgresql.org; Tue, 30 Jan 2024 12:37:09 +0000 Received: from wfout8-smtp.messagingengine.com ([64.147.123.151]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rUnML-004WPh-8V for pgsql-hackers@lists.postgresql.org; Tue, 30 Jan 2024 12:37:07 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfout.west.internal (Postfix) with ESMTP id C9B901C00079; Tue, 30 Jan 2024 07:36:57 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Tue, 30 Jan 2024 07:36:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1706618217; x=1706704617; bh=mm35VrjbqQSBg /WW+ivH2Ovqsop+ZDTxttOsq5Eizgk=; b=YqEjgmdvFZambg9bSrYJTPN+rdX0m 20lgsXnVTkTydaBqh3sZ7CxhPfT2y0poB2eGL7MtMQHZdUdyhgLNbRkRpnbmWaO7 Prc6+29LJX7TYUJDpMOlznWB3wDwgob99XDUVXN3TjoOWcr3OsNgyCK3m30PDX3g mgTrSLuaiyQS5ravMM67tjd18Z2zNeeoxe1Wohy/ag6zgcc9pkCGMzeFKsE5G8m8 6iexjCFCjUzNqevUTLmyAd6u8Xv2u4cc/W1wNvzAMaLo/vltYWbryZmh9TXDpZnb BMiDwplQ/fixLQolBBwqIoCfcUcCG09/kbEOkSp/hOygw7/c0dQ7aMN6w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedtiedggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpeeljeelgffgjedvkeehledugefgvdejleegheefkedvudei udeihfdvkeekkeejhfenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 30 Jan 2024 07:36:56 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1706618214; bh=ddhsOuFyWFegi4KJQO/7UwUNJcthNDhx4t9HD28YTnc=; h=Date:From:To:Cc:Subject:From; b=OZJN73RP4kX7iZae3BZuVGDPsr9+hjXKv/obV4StWccpDw46k635UhdXjpcOVsbFi QvEljBytIsdy8M6gopEsCsXsvZajR6vO0v2SBdX0Xq8n2WuWbV1yuZRLZZZZe8z8cm 80rQx9hRwpi3NrW0bjx5BWjoeZLPze7axcU65vlU0xwZimnkrWpN6yZe6eA3NgvgBP 0Lp1G/FtZQPYRSs5/iU+EENyaV02x3v1Os2ZxlRDJTwYDykANWlyTvXN1amerVRP3t pmbSBJ2PeebkjVa6SdnUcrzYSHessvVSJwLPHdONal/CV3EDhXE8HNA3Ovup8tAKp+ kuokUDES/gW+w== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 601998B; Tue, 30 Jan 2024 13:36:54 +0100 (CET) Date: Tue, 30 Jan 2024 13:36:54 +0100 From: Alvaro Herrera To: Pg Hackers Cc: Daniel Gustafsson Subject: scram_iterations is undocumented GUC_REPORT Message-ID: <202401301236.mc5ebrohhtsd@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I noticed while answering a question that commit b577743000cd added the GUC scram_iterations and marked it GUC_REPORT, but failed to add it to the PQparameterStatus documentation. Here's a proposed patch to add it there. diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index d0d5aefadc..13bd82efc6 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -2521,7 +2521,8 @@ const char *PQparameterStatus(const PGconn *conn, const char *paramName); DateStyle, IntervalStyle, TimeZone, - integer_datetimes, and + integer_datetimes, + scram_iterations, and standard_conforming_strings. (server_encoding, TimeZone, and integer_datetimes were not reported by releases before 8.0; Further thoughts: 1. that list looks to be in random order. Should we sort it alphabetically? 2. the notes about the versions in which some parameters started to be reported, look quite outdated. We don't really care about things not reported in 8.0 or 8.1 or even 9.0. For all purposes, it seems perfectly OK to say that these parameters have been reported forever (i.e. don't mention them in these lists). I think we should remove all those, except the note about version 14. 3. Should we list scram_iterations as having started to be reported with version 16? The GUC didn't exist before that; but we could say that if it's not reported, then the application can assume that the value is 4096 (similar to the wording for standard_conforming_strings). Thanks -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Los cuentos de hadas no dan al niño su primera idea sobre los monstruos. Lo que le dan es su primera idea de la posible derrota del monstruo." (G. K. Chesterton)