Lists: | pgsql-hackers |
---|
From: | Josh Kupershmidt <schmiddy(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | psql autocompletion for \z and \dg |
Date: | 2010-10-21 02:56:07 |
Message-ID: | AANLkTi=XL8di-eS6d0QHowcCRgr62vBBWUr+q9_k2SAb@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
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
Attachment | Content-Type | Size |
---|---|---|
psql_tab_completion.patch | application/octet-stream | 3.5 KB |
From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Josh Kupershmidt <schmiddy(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: psql autocompletion for \z and \dg |
Date: | 2010-10-22 00:45:04 |
Message-ID: | AANLkTinU+tTdMheXniqTP3xgpNZCtPAkK3pJz7gzFfUP@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Wed, Oct 20, 2010 at 10:56 PM, Josh Kupershmidt <schmiddy(at)gmail(dot)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
From: | Josh Kupershmidt <schmiddy(at)gmail(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: psql autocompletion for \z and \dg |
Date: | 2010-10-22 00:57:44 |
Message-ID: | AANLkTin5H2a14W+6ApN7xgsdAMJ-JAmCeMYNqRZTYNrX@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Thu, Oct 21, 2010 at 8:45 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> Please add this in the usual spot:
> https://commitfest.postgresql.org/action/commitfest_view/open
Aye sir, added.
From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Josh Kupershmidt <schmiddy(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: psql autocompletion for \z and \dg |
Date: | 2010-10-28 20:10:44 |
Message-ID: | 1288296644.30480.7.camel@vanquo.pezone.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
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".