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.96) (envelope-from ) id 1wSk3D-0003zs-0N for pgpool-hackers@arkaria.postgresql.org; Thu, 28 May 2026 23:22:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wSk2C-000sue-20 for pgpool-hackers@arkaria.postgresql.org; Thu, 28 May 2026 23:21:04 +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.96) (envelope-from ) id 1wSk2C-000suX-1M for pgpool-hackers@lists.postgresql.org; Thu, 28 May 2026 23:21:04 +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.98.2) (envelope-from ) id 1wSk2A-000000002ps-146n for pgpool-hackers@lists.postgresql.org; Thu, 28 May 2026 23:21:04 +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:From:Subject:To:Message-Id:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:In-Reply-To:References; bh=pHvAaSQFNodhyLjIbMIVJlKyNdiYNggD8dDiDkOo4fs=; b=ahA7i1iX/3OIbqe1hUlp15Vmfm VFcWIytUMfJlZdMneMHAufUoPcHVVcEKENnmxSx1HinoqaShf/c5C1Rqks5UaJBUaVco1swMxEU6t MWSg442drPTIobJTvO5qZtyTKSVxwKu8g478G8ycSkDqWFIH9qvXl4/n3XZav9zvEYInJlcOvsz2Q ULn/mwsAebgVP3vNGChlm49sEY3CE16E971EdJf3Cgjcmjo+C9WIPu5Cl4lWJOWWTluLSImKGN95e /lAdUss4r2SNB42Q/vpw7Z2pR6y26ybDMEzFLM2vbGsMh1VMMxlu436xA9/9ZQkpA5ZscFDyqVexR LkxhjwYQ==; Received: from [2409:11:4120:300:248e:6832:c204:6775] (helo=localhost) by meldrar.postgresql.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wSk27-0006bc-3C for pgpool-hackers@lists.postgresql.org; Thu, 28 May 2026 23:21:02 +0000 Date: Fri, 29 May 2026 08:20:51 +0900 (JST) Message-Id: <20260529.082051.533519450296185920.ishii@postgresql.org> To: pgpool-hackers@lists.postgresql.org Subject: Fix comment for read_kind_from_backend From: Tatsuo Ishii X-Mailer: Mew version 6.8 on Emacs 29.3 Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Fri_May_29_08_20_51_2026_165)--" Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2409:11:4120:300:248e:6832:c204:6775 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk ----Next_Part(Fri_May_29_08_20_51_2026_165)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit I found a minor mistake in read_kind_from_backend comment. I will push after June minor releases. Regards, -- Tatsuo Ishii SRA OSS K.K. English: http://www.sraoss.co.jp/index_en/ Japanese:http://www.sraoss.co.jp ----Next_Part(Fri_May_29_08_20_51_2026_165)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fix_comment_in_read_kind_from_backend.patch" diff --git a/src/protocol/pool_process_query.c b/src/protocol/pool_process_query.c index dacaa9d5a..38ad89185 100644 --- a/src/protocol/pool_process_query.c +++ b/src/protocol/pool_process_query.c @@ -3406,9 +3406,9 @@ read_kind_from_backend(POOL_CONNECTION *frontend, POOL_CONNECTION_POOL *backend, read_kind_from_one_backend(frontend, backend, (char *) &kind, MAIN_NODE_ID); /* - * If we received a notification message in native replication mode, - * other backends will not receive the message. So we should skip - * other nodes otherwise we will hang in pool_read. + * If we received a notification message in streaming replication + * mode, other backends will not receive the message. So we should + * skip other nodes. Otherwise we will hang in pool_read. */ if (kind == 'A') { ----Next_Part(Fri_May_29_08_20_51_2026_165)----