Thread: "CLUSTER VERBOSE" tab completion

"CLUSTER VERBOSE" tab completion

From
Jeff Janes
Date:
tab completion will add "USING" after CLUSTER VERBOSE, as if VERBOSE
were the name of a table.

Instead of just making it not do the wrong thing, I tried to make it
actually do the right thing.

It doesn't fill in the VERBOSE for you, you have to type that in full,
but then it completes table names afterward (and USING and index names
after that)

Cheers,

Jeff

Attachment

Re: "CLUSTER VERBOSE" tab completion

From
Jeff Janes
Date:
On Fri, Aug 17, 2012 at 7:18 PM, Jeff Janes <jeff.janes@gmail.com> wrote:
> tab completion will add "USING" after CLUSTER VERBOSE, as if VERBOSE
> were the name of a table.
>
> Instead of just making it not do the wrong thing, I tried to make it
> actually do the right thing.
>
> It doesn't fill in the VERBOSE for you, you have to type that in full,

This short coming has now been rectified.

Cheers,

Jeff

Attachment

Re: "CLUSTER VERBOSE" tab completion

From
Robert Haas
Date:
On Sun, Aug 19, 2012 at 4:55 PM, Jeff Janes <jeff.janes@gmail.com> wrote:
> On Fri, Aug 17, 2012 at 7:18 PM, Jeff Janes <jeff.janes@gmail.com> wrote:
>> tab completion will add "USING" after CLUSTER VERBOSE, as if VERBOSE
>> were the name of a table.
>>
>> Instead of just making it not do the wrong thing, I tried to make it
>> actually do the right thing.
>>
>> It doesn't fill in the VERBOSE for you, you have to type that in full,
>
> This short coming has now been rectified.

Committed this one too.  Thanks for the patch.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company