Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zhiua-00042G-Uk for pgsql-bugs@arkaria.postgresql.org; Thu, 01 Oct 2015 18:49:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZhiuZ-0007gA-U2 for pgsql-bugs@arkaria.postgresql.org; Thu, 01 Oct 2015 18:48:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZhiuZ-0007fi-3D for pgsql-bugs@postgresql.org; Thu, 01 Oct 2015 18:48:59 +0000 Received: from mx-out.zmailcloud.com ([192.198.85.98] helo=mx-out-1.zmailcloud.com) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZhiuR-0001LJ-GC for pgsql-bugs@postgresql.org; Thu, 01 Oct 2015 18:48:58 +0000 Received: from smtp.01.com (smtp.01.com [10.10.0.43]) by mx-out-1.zmailcloud.com (Postfix) with ESMTP id E072A5642BB; Thu, 1 Oct 2015 13:48:45 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id CE4D7602CA; Thu, 1 Oct 2015 13:48:45 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-2.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-2.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mtqr-K8PU7e5; Thu, 1 Oct 2015 13:48:45 -0500 (CDT) Received: from smtp.01.com (localhost [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id A9122602C9; Thu, 1 Oct 2015 13:48:45 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id 90C92602CC; Thu, 1 Oct 2015 13:48:45 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-2.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-2.01.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5E2MG9mArIOA; Thu, 1 Oct 2015 13:48:45 -0500 (CDT) Received: from [172.47.23.104] (50-0-190-244.dsl.dynamic.fusionbroadband.com [50.0.190.244]) by smtp-out-2.01.com (Postfix) with ESMTPSA id A0B1F602C9; Thu, 1 Oct 2015 13:48:44 -0500 (CDT) Subject: Re: GRANT USAGE ON SEQUENCE missing from psql command completion To: Fujii Masao , Jeff Janes References: <55D54175.8000708@agliodbs.com> Cc: Thomas Munro , Michael Paquier , PostgreSQL Bugs From: Josh Berkus Organization: PostgreSQL Experts Inc. Message-ID: <560D800B.6080105@agliodbs.com> Date: Thu, 1 Oct 2015 11:48:43 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 10/01/2015 07:40 AM, Fujii Masao wrote: > On Thu, Oct 1, 2015 at 2:03 AM, Jeff Janes wrote: >> On Tue, Sep 29, 2015 at 12:59 PM, Thomas Munro >> wrote: >>> >>> On Wed, Sep 30, 2015 at 5:59 AM, Jeff Janes 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". >>> >> >> Looks good to me, thanks. > > Applied. Thanks! Wow, I had no idea this was going to be such a difficult fix ... -- 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