pgsql: Improve tab completion of REINDEX in psql

Started by Michael Paquieralmost 6 years ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

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: /messages/by-id/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(-)