Re: psql: fix variable existence tab completion

From: Erik Wienhold <ewie(at)ewie(dot)name>
To: Steve Chavez <steve(at)supabase(dot)io>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql: fix variable existence tab completion
Date: 2024-03-03 15:37:28
Message-ID: i3g3bqsmvlhwn7jxjn7ynvjneouxvayfnbri2al5w47kdee5uh@6iwac3yit2mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2024-03-03 03:00 +0100, Steve Chavez wrote:
> psql has the :{?name} syntax for testing a psql variable existence.
>
> But currently doing \echo :{?VERB<Tab> doesn't trigger tab completion.
>
> This patch fixes it. I've also included a TAP test.

Thanks. The code looks good, all tests pass, and the tab completion
works as expected when testing manually.

--
Erik

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2024-03-03 15:57:04 PostgreSQL Contributors Updates
Previous Message Tomas Vondra 2024-03-03 14:36:23 Re: BitmapHeapScan streaming read user and prelim refactoring