Обсуждение: psql autocompletion for \z and \dg

Поиск
Список
Период
Сортировка

psql autocompletion for \z and \dg

От
Josh Kupershmidt
Дата:
Hi all,

It looks like psql's tab completion for the \z and \dg commands in
psql are missing. I couldn't see a reason for this, so attached patch
fixes.

Also, this patch proposes to change psql's "\?" help text to say that
\dg and \du are the same, since AFAICT they do exactly the same thing.

Josh

Вложения

Re: psql autocompletion for \z and \dg

От
Robert Haas
Дата:
On Wed, Oct 20, 2010 at 10:56 PM, Josh Kupershmidt <schmiddy@gmail.com> wrote:
> It looks like psql's tab completion for the \z and \dg commands in
> psql are missing. I couldn't see a reason for this, so attached patch
> fixes.
>
> Also, this patch proposes to change psql's "\?" help text to say that
> \dg and \du are the same, since AFAICT they do exactly the same thing.

Please add this in the usual spot:
https://commitfest.postgresql.org/action/commitfest_view/open

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


Re: psql autocompletion for \z and \dg

От
Josh Kupershmidt
Дата:
On Thu, Oct 21, 2010 at 8:45 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> Please add this in the usual spot:
> https://commitfest.postgresql.org/action/commitfest_view/open

Aye sir, added.


Re: psql autocompletion for \z and \dg

От
Peter Eisentraut
Дата:
On ons, 2010-10-20 at 22:56 -0400, Josh Kupershmidt wrote:
> It looks like psql's tab completion for the \z and \dg commands in
> psql are missing. I couldn't see a reason for this, so attached patch
> fixes.
> 
> Also, this patch proposes to change psql's "\?" help text to say that
> \dg and \du are the same, since AFAICT they do exactly the same thing.

Committed with slight variations.  I didn't think documenting \du as
"same as \dg" added much value, so I just made them both "list roles".