Re: GRANT USAGE ON SEQUENCE missing from psql command completion - Mailing list pgsql-bugs

From Thomas Munro
Subject Re: GRANT USAGE ON SEQUENCE missing from psql command completion
Date
Msg-id CAEepm=2YtU7Xv4uTB7VHLcZWqekbQ9FTTkox50RXdG766Q83gg@mail.gmail.com
Whole thread Raw
In response to Re: GRANT USAGE ON SEQUENCE missing from psql command completion  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: GRANT USAGE ON SEQUENCE missing from psql command completion  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-bugs
On Wed, Sep 30, 2015 at 5:59 AM, Jeff Janes <jeff.janes@gmail.com> wrote:
> Since this commit, "grant update on foobar to " will tab complete to add an
> extra "TO", rather than with a list of roles.

Oops, thanks.  Here is a patch to fix that by moving the branch that
matches "GRANT/REVOKE * ON * *" after the branch that matches
"GRANT/REVOKE ... TO/FROM".

--
Thomas Munro
http://www.enterprisedb.com

Attachment

pgsql-bugs by date:

Previous
From: Alex Hunsaker
Date:
Subject: Re: BUG #13638: Exception texts from plperl has bad encoding
Next
From: jasper@ykwc.com
Date:
Subject: Re: BUG #13648: Old Records disappearing after upgrade from 9.4.1 to 9.4.4