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: Improve tab completion of REINDEX in psql
Date: Tue, 11 Aug 2020 05:38:30 +0000
Message-ID: <E1k5MzW-0001UL-G5@gemulon.postgresql.org> (raw)

Improve tab completion of REINDEX in psql

This allows the tab completion of REINDEX to handle an optional
parenthesized list of options.  This case is more complicated than
VACUUM or ANALYZE because of CONCURRENTLY and the different object types
to consider with the reindex.

Author: Justin Pryzby
Reviewed-by: Alexey Kondratov, Michael Paquier
Discussion: https://postgr.es/m/20200403182712.GR14618@telsasoft.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1f75b454134cce6a67a9bcdb01b5c018221dd359

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



Message-ID: <E1k5MzW-0001UL-G5@gemulon.postgresql.org>
Permalink:  ../E1k5MzW-0001UL-G5@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1k5MzW-0001UL-G5@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: Improve tab completion of REINDEX in psql
  In-Reply-To: <E1k5MzW-0001UL-G5@gemulon.postgresql.org>
  References: <E1k5MzW-0001UL-G5@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