Re: psql: fix variable existence tab completion - Mailing list pgsql-hackers

From Erik Wienhold
Subject Re: psql: fix variable existence tab completion
Date
Msg-id i3g3bqsmvlhwn7jxjn7ynvjneouxvayfnbri2al5w47kdee5uh@6iwac3yit2mx
Whole thread Raw
In response to psql: fix variable existence tab completion  (Steve Chavez <steve@supabase.io>)
Responses Re: psql: fix variable existence tab completion
List 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



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: BitmapHeapScan streaming read user and prelim refactoring
Next
From: Joe Conway
Date:
Subject: PostgreSQL Contributors Updates