Re: psql completion bugs with access methods

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: Michael Paquier <michael@paquier.xyz>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-06-01T19:25:29Z
Lists: pgsql-hackers
Hi,

I'm not sure I understand starting 10 threads about approximately the
same topic. That seems purely confusing.

On 2019-06-01 15:10:07 -0400, Michael Paquier wrote:
> I have bumped into a couple of issues with psql completion for access
> methods:
> 1) CREATE INDEX USING suggests both index and table AMs.

Let's fix that.


> 2) CREATE TABLE USING has no completion support, USING not being
> included in the completion, and the follow-up table AMs are missing as
> well.
> 3) CREATE ACCESS METHOD TYPE suggests only INDEX.

I don't think these are bugs. I'm fine with adding those for 12, but I
don't think it's needed.

Greetings,

Andres Freund



Commits

  1. Fix some issues and improve psql completion for access methods