Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx
Date
Msg-id CAGECzQQL6=8JZ_UqLbt=Ma-FKtRQWX6HPjJh8ueG5-YMjSU0OQ@mail.gmail.com
Whole thread Raw
In response to [PATCH] Add additional extended protocol commands to psql: \parse and \bindx  (Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>)
Responses Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx
List pgsql-hackers
On Thu, 2 Nov 2023 at 10:52, Anthonin Bonnefoy
<anthonin.bonnefoy@datadoghq.com> wrote:
> The main goal is to provide more ways to test extended protocol in
> regression tests
> similarly to what \bind is doing.

I think this is a great addition. One thing that I think should be
added for completeness though is the ability to deallocate the
prepared statement using PQsendClosePrepared. Other than that the
changes look great.

Also a tiny nitpick: stmt_name should be replaced with STMT_NAME in
this line of the help message.

> +   HELP0("  \\bindx stmt_name [PARAM]...\n"



pgsql-hackers by date:

Previous
From: Ranier Vilela
Date:
Subject: Re: Tidy fill hstv array (src/backend/access/heap/pruneheap.c)
Next
From: Tomas Vondra
Date:
Subject: Re: Custom explain options