pgsql: Fix some issues and improve psql completion for access methods - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix some issues and improve psql completion for access methods
Date
Msg-id E1hXcK3-0004FJ-6X@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix some issues and improve psql completion for access methods

The following issues have been spotted:
- CREATE INDEX .. USING suggests both index and table AMs, but it should
consider only index AMs.
- CREATE TABLE .. USING has no completion support.  USING was not being
included in the completion list where it should, and follow-up
suggestions for table AMs have been missing as well.
- CREATE ACCESS METHOD .. TYPE suggests only INDEX, with TABLE missing.

Author: Michael Paquier
Discussion: https://postgr.es/m/20190601191007.GC1905@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0240a00fbd4fd14f577edf8d36a032237fd0b9cb

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Make cpluspluscheck more portable.
Next
From: Michael Paquier
Date:
Subject: pgsql: Fix typos in various places