Re: GRANT USAGE ON SEQUENCE missing from psql command completion

From: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: GRANT USAGE ON SEQUENCE missing from psql command completion
Date: 2015-08-20 03:10:06
Message-ID: CAEepm=2+AXQjBxcQWNs1ciOwMUcOZgPnws8okEd1432ntw=brQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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.

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

Attachment Content-Type Size
tab-complete-grant-sequence.patch application/octet-stream 1.0 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2015-08-20 03:20:33 Re: GRANT USAGE ON SEQUENCE missing from psql command completion
Previous Message Josh Berkus 2015-08-20 02:54:45 GRANT USAGE ON SEQUENCE missing from psql command completion