Re: [PATCH] Add missing \ddp psql command
От | Fujii Masao |
---|---|
Тема | Re: [PATCH] Add missing \ddp psql command |
Дата | |
Msg-id | CAHGQGwEk_5aLTZb+5MdhHx2revhE+NOpGEmSfrWy2ogbd=wwBA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [PATCH] Add missing \ddp psql command (David Christensen <david@endpoint.com>) |
Ответы |
Re: [PATCH] Add missing \ddp psql command
Re: [PATCH] Add missing \ddp psql command |
Список | pgsql-hackers |
On Tue, Jul 7, 2015 at 10:44 PM, David Christensen <david@endpoint.com> wrote: > >> On Jul 7, 2015, at 3:53 AM, Fujii Masao <masao.fujii@gmail.com> wrote: >> >> On Tue, Jul 7, 2015 at 2:11 AM, David Christensen <david@endpoint.com> wrote: >>> Quickie patch for spotted missing psql \ddp tab-completion. >> >> Thanks for the report and patch! >> >> I found that tab-completion was not supported in not only \ddp >> but also other psql meta commands like \dE, \dm, \dO, \dy, \s and >> \setenv. Attached patch adds all those missing tab-completions. > > From a completeness standpoint makes sense to me to have all of them, but from a practical standpoint a single-charactercompletion like \s isn’t going to do much. :) Sometimes I type TAB after \ to display all the psql meta commands. Even single-character completion like \s may be useful for that case. Yeah, I agree that's narrow use case, though. Regards, -- Fujii Masao
В списке pgsql-hackers по дате отправления: