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

From Josh Berkus
Subject Re: GRANT USAGE ON SEQUENCE missing from psql command completion
Date
Msg-id 55D547F5.4050705@agliodbs.com
Whole thread Raw
In response to GRANT USAGE ON SEQUENCE missing from psql command completion  (Josh Berkus <josh@agliodbs.com>)
List pgsql-bugs
On 08/19/2015 08:10 PM, Thomas Munro wrote:
> On Thu, Aug 20, 2015 at 2:54 PM, Josh Berkus <josh@agliodbs.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.
>

Passes my ad-hoc tests, including non-default schema.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: GRANT USAGE ON SEQUENCE missing from psql command completion
Next
From: nickbarnes01@gmail.com
Date:
Subject: BUG #13581: pg_dump omits extension versions