pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add support for tab completion after ALTER EXTENSION ADD|DROP in
Date: Wed, 11 Jan 2023 23:51:52 +0000
Message-ID: <E1pFksq-003CI9-C0@gemulon.postgresql.org> (raw)

Add support for tab completion after ALTER EXTENSION ADD|DROP in psql

This appends the set of object types supported by these commands, and
the objects defined in the cluster are completed after that.  Note that
these may not be in the extension being working on when using DROP, to
keep the code simple, but this is much more useful than the previous
behavior of not knowing the objects that can be touched.

Author: Vignesh C
Discussion: https://postgr.es/m/CALDaNm3LVM2QcUWqgOonKZH80TveT-tUthbw4ZhuE_6pD3yi-A@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2ff5ca86e816846743b31279a9f6b819d4cf4b11

Modified Files
--------------
src/bin/psql/tab-complete.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)



Message-ID: <E1pFksq-003CI9-C0@gemulon.postgresql.org>
Permalink:  ../E1pFksq-003CI9-C0@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pFksq-003CI9-C0@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Add support for tab completion after ALTER EXTENSION ADD|DROP in
  In-Reply-To: <E1pFksq-003CI9-C0@gemulon.postgresql.org>
  References: <E1pFksq-003CI9-C0@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox