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 1vLnDR-00AWfN-36 for pgsql-interfaces@arkaria.postgresql.org; Wed, 19 Nov 2025 18:47:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vLnDQ-00Ecd5-28 for pgsql-interfaces@arkaria.postgresql.org; Wed, 19 Nov 2025 18:47:40 +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.96) (envelope-from ) id 1vLnAT-00Ebb7-1A for pgsql-interfaces@lists.postgresql.org; Wed, 19 Nov 2025 18:44:37 +0000 Received: from dverite2024.planet-service.net ([185.16.44.252] helo=mail.verite.pro) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1vLnAR-000Nyw-08 for pgsql-interfaces@lists.postgresql.org; Wed, 19 Nov 2025 18:44:36 +0000 Received: by mail.verite.pro (Postfix, from userid 1000) id 7B4FC2C0540; Wed, 19 Nov 2025 19:44:33 +0100 (CET) Content-Type: text/plain; charset="iso-8859-15" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: ECPG support for PQsetChunkedRowsMode() From: "Daniel Verite" To: "Tim Fors" Cc: pgsql-interfaces@lists.postgresql.org In-Reply-To: Date: Wed, 19 Nov 2025 19:44:31 +0100 Message-Id: <8a75aba0-de45-483a-8a53-95f48cfec9bd@manitou-mail.org> X-Mailer: Manitou v1.7.3 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Tim Fors wrote: > The "chunked rows mode" appears to have been added to > libpq in V17. >=20 > Does ECPG support this mode No. It's not clear how it would fit. This mode implies the use of PQsendQuery(), which does not seem to have an equivalent in ECPG. > are there plans to do so in the near future? Postgres as a project does not have a roadmap, but what's being worked on at any point in time can generally be tracked at https://commitfest.postgresql.org > Also, is there any data available on performance improvements that > one might see by using this mode? In [1], the time to retrieve rows by psql was compared between the the chunked rows mode and the cursor-based implementation, the latter being what would typically be used by an ECPG app. [1]:=20 https://postgr.es/m/202bae70-f60d-4d24-a8d8-50b4ed638887@manitou-mail.org Best regards, --=20 Daniel V=E9rit=E9=20 https://postgresql.verite.pro/