Re: [HACKERS] CLUSTER VERBOSE tab completion

2012-08-20 Thread Robert Haas
On Sun, Aug 19, 2012 at 4:55 PM, Jeff Janes jeff.ja...@gmail.com wrote:
 On Fri, Aug 17, 2012 at 7:18 PM, Jeff Janes jeff.ja...@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


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


Re: [HACKERS] CLUSTER VERBOSE tab completion

2012-08-19 Thread Jeff Janes
On Fri, Aug 17, 2012 at 7:18 PM, Jeff Janes jeff.ja...@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


cluster_verbose_complete_v2.patch
Description: Binary data

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


[HACKERS] CLUSTER VERBOSE tab completion

2012-08-17 Thread 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


cluster_verbose_complete_v1.patch
Description: Binary data

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