Tab completion for ALTER COLUMN SET STATISTICS - Mailing list pgsql-hackers

From Jeff Janes
Subject Tab completion for ALTER COLUMN SET STATISTICS
Date
Msg-id CAMkU=1xXN236aOR7FhqC9VTQ_a6=B7mz9ix_NpBApSicGMsqCA@mail.gmail.com
Whole thread Raw
Responses Re: Tab completion for ALTER COLUMN SET STATISTICS  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers

If I have "alter table foo alter COLUMN bar SET STATISTICS" in the line buffer, 
it tab completes to add " TO", which is not legal.  

The attached patch makes it not tab complete anything at all, which is at least not actively misleading.

I thought of having it complete "-1", "<integer>" so that it gives a clue about what is needed, but I didn't see any precedence for non-literal clue-giving and I did not want to try to create new precedence.
Attachment

pgsql-hackers by date:

Previous
From: Jeff Janes
Date:
Subject: Re: Reusing abbreviated keys during second pass of ordered [set] aggregates
Next
From: Tom Lane
Date:
Subject: Re: pg_ctl/pg_rewind tests vs. slow AIX buildfarm members