pgsql: Improve tab completion of REINDEX in psql - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Improve tab completion of REINDEX in psql
Date
Msg-id E1k5MzW-0001UL-G5@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Replace remaining StrNCpy() by strlcpy()
Next
From: Andres Freund
Date:
Subject: pgsql: Rename VariableCacheData.nextFullXid to nextXid.