Great, patch applied. I merged it into Gavin's recent ALTER INDEX addition.
Many thanks for applying my first patch, but looking at result I noticed that you have removed INDEX from the list_ALTER which looks like a possible merge-error to me(Garry added that one in his original patch and it got removed after you applied mine).
Please correct me if I'm wrong - a small patch for this is attached....
I have added your list of uncompleted items to the TODO list.
good idea - I will see if I can fix some of them soon!
Stefan
Index: src/bin/psql/tab-complete.c =================================================================== RCS file: /projects/cvsroot/pgsql-server/src/bin/psql/tab-complete.c,v retrieving revision 1.111 diff -u -r1.111 tab-complete.c --- src/bin/psql/tab-complete.c 20 Aug 2004 19:24:59 -0000 1.111 +++ src/bin/psql/tab-complete.c 20 Aug 2004 22:18:05 -0000 @@ -647,8 +647,8 @@ { static const char *const list_ALTER[] = {"AGGREGATE", "CONVERSATION", "DATABASE","DOMAIN", "FUNCTION", - "GROUP", "LANGUAGE", "OPERATOR", "SCHEMA", "SEQUENCE", "TABLE", - "TABLESPACE", "TRIGGER", "TYPE", "USER", NULL}; + "GROUP", "INDEX", "LANGUAGE", "OPERATOR", "SCHEMA", "SEQUENCE", + "TABLE", "TABLESPACE", "TRIGGER", "TYPE", "USER", NULL}; COMPLETE_WITH_LIST(list_ALTER); }
---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings