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 1s6gT1-00192O-3q for pgsql-hackers@arkaria.postgresql.org; Tue, 14 May 2024 00:56:32 +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 1s6gT1-007UKB-3f for pgsql-hackers@arkaria.postgresql.org; Tue, 14 May 2024 00:56:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s6gT0-007UHX-Q7 for pgsql-hackers@lists.postgresql.org; Tue, 14 May 2024 00:56:30 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s6gSy-00057V-6t for pgsql-hackers@postgresql.org; Tue, 14 May 2024 00:56:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2024011501; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=3HiyLl8a1wkzsPP50ouCWpf5yn8JXVZV4juBkEFq+kE=; b=QvCbs KRB34TQbIWUNLcfyobo9gfjZ62qYBVfRA2ky+ud6Rr57f1crOp0poMeYVKDTyVX6Fnk1SWsHIRj8A EPL8KHD3yR++hOBZ/On7qh89kOTd3OK1n0CrOaVTh6zolrCwu1B+c5hlGjZ9Ea5q2u0PLG6Gk//La ThP4rSstK31NtPITu/UkC/Derv2MpXQ/LO5FoekEUJ1a8WuwhHF4ntKXeENqbRpNCRDpiUZtIWgsl 2js6owMVxSrgXjD+u7OlU5S04H77exZtg3GUIyk4RJEffktLS7ZwrtgfpL0GzM6ouhvF8EUmGQL4C d8i7Ba85BqI5ZQKTEy3qd7FRwaLtA==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1s6gSw-004UKo-1r; Mon, 13 May 2024 20:56:26 -0400 Date: Mon, 13 May 2024 20:56:26 -0400 From: Bruce Momjian To: Joe Conway Cc: Jelte Fennema-Nio , Tom Lane , PostgreSQL-development Subject: Re: First draft of PG 17 release notes Message-ID: References: <1641606.1715376693@sss.pgh.pa.us> <6233479a-0e58-464c-8ff1-311e076a9c00@joeconway.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="lqQc6EVnSMya7OFo" Content-Disposition: inline In-Reply-To: <6233479a-0e58-464c-8ff1-311e076a9c00@joeconway.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --lqQc6EVnSMya7OFo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, May 11, 2024 at 10:24:39AM -0400, Joe Conway wrote: > On 5/11/24 09:57, Jelte Fennema-Nio wrote: > > On Fri, 10 May 2024 at 23:31, Tom Lane wrote: > > > > > > Bruce Momjian writes: > > > > I looked at both of these. In both cases I didn't see why the user > > > > would need to know these changes were made: > > > > > > I agree that the buffering change is not likely interesting, but > > > the fact that you can now control-C out of a psql "\c" command > > > is user-visible. People might have internalized the fact that > > > it didn't work, or created complicated workarounds. > > > > The buffering change improved performance up to ~40% in some of the > > benchmarks. The case it improves mostly is COPY of large rows and > > streaming a base backup. That sounds user-visible enough to me to > > warrant an entry imho. > > +1 Attached patch applied. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you. --lqQc6EVnSMya7OFo Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="master.diff" commit e87e7324555 Author: Bruce Momjian Date: Mon May 13 20:55:13 2024 -0400 doc PG 17 relnotes: add item about libpq large data transfers Reported-by: Jelte Fennema-Nio Discussion: https://postgr.es/m/CAGECzQTz5aUqLEL6daLd2Hu2FXS_LOSh4keDndJ1fwThsb_b5w@mail.gmail.com Reviewed-by: Joe Conway Backpatch-through: master diff --git a/doc/src/sgml/release-17.sgml b/doc/src/sgml/release-17.sgml index 9dd3954f3c2..38c14970822 100644 --- a/doc/src/sgml/release-17.sgml +++ b/doc/src/sgml/release-17.sgml @@ -1901,6 +1901,17 @@ Add libpq function PQsetChunkedRowsMode to allow retrieval of results in chunks + + + + +Allow libpq to more efficiently transfer large blocks of data (Melih Mutlu) + + +