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

From: Anthonin Bonnefoy <anthonin(dot)bonnefoy(at)datadoghq(dot)com>
To: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Peter Eisentraut <peter(at)eisentraut(dot)org>, Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bind
Date: 2024-08-21 07:29:04
Message-ID: CAO6_XqpwkP4THB3bGV-rgjNsTxQnU1h52Mi1dZGS7ewpzNj76g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Aug 21, 2024 at 12:00 AM Jelte Fennema-Nio <postgres(at)jeltef(dot)nl> wrote:
> @Anthonin are you planning to update the patch accordingly?

Here's the patch with \bindx renamed to \bind_named.

I've also made a small change to Michael's refactoring in 0002 by
initialising success to false in ExecQueryAndProcessResults. There was
a compiler warning about success possibly used uninitialized[1].

[1] https://cirrus-ci.com/task/6207675187331072

Attachment Content-Type Size
v7-0001-psql-Add-support-for-prepared-stmt-with-extended-.patch application/octet-stream 20.7 KB
v7-0002-psql-Refactor-status-of-extended-protocol-command.patch application/octet-stream 6.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2024-08-21 08:57:48 Re: Disallow USING clause when altering type of generated column
Previous Message Yugo Nagata 2024-08-21 07:14:02 Re: Disallow USING clause when altering type of generated column