pgsql: psql: Improve CREATE INDEX CONCURRENTLY tab completion

Started by Peter Eisentrautover 10 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

psql: Improve CREATE INDEX CONCURRENTLY tab completion

The completion of CREATE INDEX CONCURRENTLY was lacking in several ways
compared to a plain CREATE INDEX command:

- CREATE INDEX <name> ON completes table names, but didn't with
CONCURRENTLY.

- CREATE INDEX completes ON and existing index names, but with
CONCURRENTLY it only completed ON.

- CREATE INDEX <name> completes ON, but didn't with CONCURRENTLY.

These are now all fixed.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b1bfb28b586a319052d96dd4dfd40a05505ea6ed

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

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers