Обсуждение: "CLUSTER VERBOSE" tab completion

Поиск
Список
Период
Сортировка

"CLUSTER VERBOSE" tab completion

От
Jeff Janes
Дата:
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

Вложения

Re: "CLUSTER VERBOSE" tab completion

От
Jeff Janes
Дата:
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

Вложения

Re: "CLUSTER VERBOSE" tab completion

От
Robert Haas
Дата:
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