From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Re-implement psql's FETCH_COUNT feature atop libpq's chunked mod
Date: Sun, 07 Apr 2024 00:45:33 +0000
Message-ID: <E1rtGf6-000t9y-TP@gemulon.postgresql.org> (raw)
Re-implement psql's FETCH_COUNT feature atop libpq's chunked mode.
Formerly this was done with a cursor, which is problematic since
not all result-set-returning query types can be put into a cursor.
The new implementation is better integrated into other psql
features, too.
Daniel Vérité, reviewed by Laurenz Albe and myself (and whacked
around a bit by me, so any remaining bugs are my fault)
Discussion: https://postgr.es/m/CAKZiRmxsVTkO928CM+-ADvsMyePmU3L9DQCa9NwqjvLPcEe5QA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/90f5178211cd63ac16fb8c8b2fe43d53d2854da1
Modified Files
--------------
src/bin/psql/common.c | 522 ++++++++++++-------------------------
src/bin/psql/t/001_basic.pl | 6 +-
src/test/regress/expected/psql.out | 4 +-
src/test/regress/sql/psql.sql | 4 +-
4 files changed, 171 insertions(+), 365 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Re-implement psql's FETCH_COUNT feature atop libpq's chunked mod
In-Reply-To: <E1rtGf6-000t9y-TP@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox