From: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Tab completion for ALTER COLUMN SET STATISTICS |
Date: | 2015-09-25 22:18:15 |
Message-ID: | CAMkU=1xXN236aOR7FhqC9VTQ_a6=B7mz9ix_NpBApSicGMsqCA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
alter_column_tabcomplete_v1.patch | application/octet-stream | 944 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2015-09-26 00:12:45 | Re: pg_ctl/pg_rewind tests vs. slow AIX buildfarm members |
Previous Message | Jeff Janes | 2015-09-25 21:39:10 | Re: Reusing abbreviated keys during second pass of ordered [set] aggregates |