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 1uXbVC-00ByKV-80 for pgpool-hackers@arkaria.postgresql.org; Fri, 04 Jul 2025 08:10:34 +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 1uXbV9-00HAsZ-Kv for pgpool-hackers@arkaria.postgresql.org; Fri, 04 Jul 2025 08:10:32 +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 1uXbV9-00HAsP-De for pgpool-hackers@lists.postgresql.org; Fri, 04 Jul 2025 08:10:32 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uXbV6-005eqZ-2r for pgpool-hackers@lists.postgresql.org; Fri, 04 Jul 2025 08:10:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Content-Transfer-Encoding:Content-Type: Mime-Version:References:In-Reply-To:From:Subject:Cc:To:Message-Id:Date:Sender :Reply-To:Content-ID:Content-Description; bh=FDs7NeEuqf72tSZx6iYs0vCX9baA0Ttd9JCH+BIjyG4=; b=bWKsXRZcoB042kwPvoPG1j+ICZ Dq9UST4ck22Rl4DjKqkZJs0JdcFUMwSppWZXGVk+iOa02KpOBmFqEKKBg2m1YaQSwH7yRHAALBE5F xezfuqmzq0VZ7zUNqzK8PGzYdi20MmBv+XV//f+UwwOFr3MtcZaMglhWDbMM/k+je3LKnfOh66XNq ANu4R6qegXL8Fypdk7uXE10WSGP2Aay7HVW0llSAn3HPTjx+OIHUuRlenexCa2mhSapTy9Q8yDOof l5Wd+bbZbNOfBD5RaTdD/IEqad1vrm3CoXzM5xIzFSNaxKwrsAvtmT3gO05MU62I8MHi+iX/FML8c VPG5RTRA==; Received: from [2409:11:4120:300:ba68:6df2:3dff:7f8a] (helo=localhost) by meldrar.postgresql.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (Exim 4.96) (envelope-from ) id 1uXbV2-003lQd-0m; Fri, 04 Jul 2025 08:10:26 +0000 Date: Fri, 04 Jul 2025 17:10:15 +0900 (JST) Message-Id: <20250704.171015.770396187969679710.ishii@postgresql.org> To: pengbo@sraoss.co.jp Cc: koshino@sraoss.co.jp, pgpool-hackers@lists.postgresql.org Subject: Re: Patch for fixing doc about some parameters. From: Tatsuo Ishii In-Reply-To: References: <20250702.202713.220401050993902307.ishii@postgresql.org> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2409:11:4120:300:ba68:6df2:3dff:7f8a (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > Koshino-san, > > Thank you for your patch. > I have reviewed your patch and have a few comments. > > -------------------------------------- > v2-0001-Doc-fix-documentation-for-enum-parameters-reporte.patch. > -------------------------------------- > > For the following parameters: > > log_standby_delay > wd_lifecheck_method > memqcache_method > disable_load_balance_on_write > > In the documentation, their types have been correctly changed to enum, which is good. > However, in both the configuration file examples and the parameter description sections, > these values are still written as strings (enclosed in single quotes). > > For example: > > (config file) > #wd_lifecheck_method = 'heartbeat' > > (Document) > wd_lifecheck_method (enum) > Specifies the method of life check. This can be either of 'heartbeat' (default), 'query' or 'external'. > > This is no big issue since Pgpool-II accepts string values (e.g. 'foo') even for enum parameters. > However, it's a bit confusing, so I think it should be fixed. +1. > For example: > > #wd_lifecheck_method = heartbeat > # Method of watchdog lifecheck (heartbeat or query or external) > > wd_lifecheck_method (enum) > Specifies the method of life check. This can be either of heartbeat (default), query or external. > > ------------------------------------------ > v2-0001-Doc-fix-documentation-for-parameters-that-are-not.patch > ------------------------------------------ > > I think we should also fix the configuration file to add the description such as "(change requires restart)". Agreed. > For example: > > #authentication_timeout = 1min > # Delay in seconds to complete client authentication > # 0 means no timeout. > # (change requires restart) Best regards, -- Tatsuo Ishii SRA OSS K.K. English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp