Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx

Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>

From: Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Jelte Fennema-Nio <postgres@jeltef.nl>, Peter Eisentraut <peter@eisentraut.org>, Greg Sabino Mullane <htamfids@gmail.com>, vignesh C <vignesh21@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2025-06-23T07:04:15Z
Lists: pgsql-hackers

Attachments

On Thu, Jun 19, 2025 at 9:09 AM Michael Paquier <michael@paquier.xyz> wrote:
> Good point.  I would be on board with a \close_prepared then, if
> that's the consensus we reach, without touching at \bind_named.  We
> still have time to decide on the name until the release, just let's
> make sure to not do a rename multiple times.

True. That would also allow adding a \close_cursor meta-command
without name ambiguity.

Since the consensus seems to lean toward \close_prepared, I've
prepared the patch to rename the command. I haven't modified the
traduction files though, I think they're updated through a different
process?