Re: psql: Add command to use extended query protocol

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql: Add command to use extended query protocol
Date: 2022-10-28 13:35:55
Message-ID: 1194941.1666964155@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Paquier <michael(at)paquier(dot)xyz> writes:
> On Fri, Oct 28, 2022 at 08:52:51AM +0200, Peter Eisentraut wrote:
>> Two, for testing the extended query protocol from psql. For example, for
>> the dynamic result sets patch [1], I have several ad-hoc libpq test programs
>> lying around, which would be cumbersome to integrate into the patch. With
>> psql support like proposed here, it would be very easy to integrate a few
>> equivalent tests.

> +1. As far as I recall, we now have only ECPG to rely on when it
> comes to coverage of the extended query protocol, but even that has
> its limits. (Haven't looked at the patch)

pgbench can be used too, but we lack any infrastructure for using it
in the regression tests. Something in psql could be a lot more
helpful. (I've not studied the patch either.)

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Frédéric Yhuel 2022-10-28 14:07:20 Re: Transparent column encryption
Previous Message Justin Pryzby 2022-10-28 13:27:46 Re: psql: Add command to use extended query protocol