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 1vRRpD-00DM6y-1M for pgsql-performance@arkaria.postgresql.org; Fri, 05 Dec 2025 09:10:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vRRoC-0078DU-02 for pgsql-performance@arkaria.postgresql.org; Fri, 05 Dec 2025 09:09:00 +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 1vRRoB-0078DL-2H for pgsql-performance@lists.postgresql.org; Fri, 05 Dec 2025 09:09:00 +0000 Received: from [2a01:4f8:c17:51b::1] (helo=helin.janc.be) by magus.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vRRo9-003Fgb-2y for pgsql-performance@lists.postgresql.org; Fri, 05 Dec 2025 09:08:59 +0000 Received: from [10.10.10.4] (213.219.146.163.adsl.dyn.edpnet.net [213.219.146.163]) by helin.janc.be (Postfix) with ESMTPSA id 93F051A087B for ; Fri, 5 Dec 2025 10:08:54 +0100 (CET) Message-ID: <8350a74f301180a0e5449da5a97d837800e4d6fa.camel@janc.be> Subject: Re: Client-server communication for FETCH From: Jan Claeys To: pgsql-performance@lists.postgresql.org Date: Fri, 05 Dec 2025 10:08:53 +0100 In-Reply-To: References: <689686.1764787308@sss.pgh.pa.us> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.3-0ubuntu1.1 MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f8:c17:51b::1 (failed) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 2025-12-03 at 14:45 -0500, Tim Fors wrote: > Do you have any further thoughts re: addressing this requirement > (client-side cursor support)? Is this a requirement that the PGSQL > community would consider implementing in libpq? Without it, it seems > like a huge impediment to adoption of PGSQL for COBOL applications, > and as you probably know, COBOL applications are still very > pervasive. (C programs using ECPG would of course hit the same issue, > so it's not just a COBOL-specific problem.) Sounds to me like this ought to be implemented in ECPG and/or its COBOL equivalent, not in libpq? That's where the "Embedded SQL" is implemented after all, and also the equivalent of where Oracle implements its PREFETCH, I think? And I suppose nobody would be opposed to such improvements, if someone contributes them or pays for their development... --=20 Jan Claeys (please don't CC me when replying to the list)