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

From: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
To: Anthonin Bonnefoy <anthonin(dot)bonnefoy(at)datadoghq(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx
Date: 2024-01-16 12:57:44
Message-ID: CAGECzQRF3mNj86SyPHPWbTGpBW=OwVKuXftWm3yNSD7Xh_uPdg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 16 Jan 2024 at 10:37, Jelte Fennema-Nio <postgres(at)jeltef(dot)nl> wrote:
>
> Looks really good now. One thing I noticed is that \bindx doesn't call
> ignore_slash_options if it's not in an active branch. Afaict it
> should. I do realize the same is true for plain \bind, but it seems
> like a bug there too.

To cover this case with tests you add your net commands to the big
list of meta commands in the "\if false" block on around line 1000 of
src/test/regress/sql/psql.sql

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2024-01-16 13:00:57 Re: UUID v7
Previous Message Maiquel Grassi 2024-01-16 12:54:16 New Window Function: ROW_NUMBER_DESC() OVER() ?