| From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
|---|---|
| To: | Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com> |
| Cc: | Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | Re: GRANT USAGE ON SEQUENCE missing from psql command completion |
| Date: | 2015-08-20 03:20:33 |
| Message-ID: | CAB7nPqTF2=7YV_7FJTPEQZVWx5TzrU+g+y9K1TNhj1Sv2_rd5Q@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
On Thu, Aug 20, 2015 at 12:10 PM, Thomas Munro <
thomas(dot)munro(at)enterprisedb(dot)com> wrote:
> On Thu, Aug 20, 2015 at 2:54 PM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
> > Versions tested: 9.4.4, 9.5a2
> >
> > Steps to reproduce:
> >
> > 1. psql to a database with sequences
> >
> > 2. type "grant usage on " and hit tab
> >
> > 3. "sequence" does not appear
> >
> > 4. type "grant usage on sequence " and hit tab
> >
> > 5. completes with word "to" which is incorrect.
>
> Here's a patch for that.
>
Don't we want to add TABLE as well? That's the default with just ON but it
seems useful to me to show up only a list of tables without all those
keywords.
--
Michael
| Attachment | Content-Type | Size |
|---|---|---|
| 20150820_tab_complete_grant.patch | application/x-patch | 1.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Josh Berkus | 2015-08-20 03:22:29 | Re: GRANT USAGE ON SEQUENCE missing from psql command completion |
| Previous Message | Thomas Munro | 2015-08-20 03:10:06 | Re: GRANT USAGE ON SEQUENCE missing from psql command completion |