From: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | tab completion for alter extension |
Date: | 2016-04-10 05:30:40 |
Message-ID: | CAMkU=1z0gxEOLg2BWa69P4X4Ot8xBxipGUiGkXe_tC+raj79-Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
tab completion for "alter extension foobar update" yields a list of
tables. That is actively misleading. (This is not new in 9.6.)
It should complete to nothing, or "TO" followed by a list of available versions.
The attached patch takes approach 2. I thought of adding a ";" to the
list completions to signify you can optionally end the command
immediately after UPDATE and have it be a complete command. But I
thought perhaps that was too clever, and unprecedented.
Will add to commitfest-next
Cheers,
Jeff
Attachment | Content-Type | Size |
---|---|---|
alter_extension_update_tab.c | text/x-csrc | 1.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Korotkov | 2016-04-10 05:36:10 | Re: Move PinBuffer and UnpinBuffer to atomics |
Previous Message | Tom Lane | 2016-04-10 04:49:18 | Some other things about contrib/bloom and generic_xlog.c |