psql: fix variable existence tab completion

From: Steve Chavez <steve(at)supabase(dot)io>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: psql: fix variable existence tab completion
Date: 2024-03-03 02:00:30
Message-ID: CAGRrpzZU48F2oV3d8eDLr=4TU9xFH5Jt9ED+qU1+X91gMH68Sw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello hackers,

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.

Best regards,
Steve Chavez

Attachment Content-Type Size
0001-psql-fix-variable-existence-tab-completion.patch text/x-patch 1.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2024-03-03 03:56:02 Re: Synchronizing slots from primary to standby
Previous Message Andy Fan 2024-03-03 01:52:16 Re: Shared detoast Datum proposal