pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Subject: Re: GRANT USAGE ON SEQUENCE missing from psql command completion
Date: Wed, 19 Aug 2015 20:22:29 -0700
Message-ID: <55D547F5.4050705@agliodbs.com> (raw)
In-Reply-To: <WM!5262341ed1caaaba6df258832a419af69b7fac95f4fed011f6560026971af0a9e5574ef6a00e9a97874a32238cfbddeb!@asav-2.01.com>
References: <55D54175.8000708@agliodbs.com>
	<CAEepm=2+AXQjBxcQWNs1ciOwMUcOZgPnws8okEd1432ntw=brQ@mail.gmail.com>
	<WM!5262341ed1caaaba6df258832a419af69b7fac95f4fed011f6560026971af0a9e5574ef6a00e9a97874a32238cfbddeb!@asav-2.01.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (19+ messages)  latest in thread

Message-ID: <55D547F5.4050705@agliodbs.com>
Permalink:  ../55D547F5.4050705@agliodbs.com/
Also on:    postgresql.org/message-id/55D547F5.4050705@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: josh@agliodbs.com, thomas.munro@enterprisedb.com
  Subject: Re: GRANT USAGE ON SEQUENCE missing from psql command completion
  In-Reply-To: <55D547F5.4050705@agliodbs.com>
  References: <55D54175.8000708@agliodbs.com> <CAEepm=2+AXQjBxcQWNs1ciOwMUcOZgPnws8okEd1432ntw=brQ@mail.gmail.com> <WM!5262341ed1caaaba6df258832a419af69b7fac95f4fed011f6560026971af0a9e5574ef6a00e9a97874a32238cfbddeb!@asav-2.01.com> <55D547F5.4050705@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox