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: Fix some issues and improve psql completion for access methods
Date: Mon, 03 Jun 2019 02:03:39 +0000
Message-ID: <E1hXcK3-0004FJ-6X@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1hXcK3-0004FJ-6X@gemulon.postgresql.org>
Permalink:  ../E1hXcK3-0004FJ-6X@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hXcK3-0004FJ-6X@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: Fix some issues and improve psql completion for access methods
  In-Reply-To: <E1hXcK3-0004FJ-6X@gemulon.postgresql.org>
  References: <E1hXcK3-0004FJ-6X@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