psql autocompletion for \z and \dg
psql autocompletion for \z and \dg
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 <robertmhaas@gmail.com>
Дата:
On Wed, Oct 20, 2010 at 10:56 PM, 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. 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 <schmiddy@gmail.com>
Дата:
On Thu, Oct 21, 2010 at 8:45 PM, Robert Haas 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 <peter_e@gmx.net>
Дата:
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".