Re: psql tab-complete patch #3
От | Stefan Kaltenbrunner |
---|---|
Тема | Re: psql tab-complete patch #3 |
Дата | |
Msg-id | 41267A85.3000707@kaltenbrunner.cc обсуждение исходный текст |
Ответ на | Re: psql tab-complete patch #3 (Bruce Momjian <pgman@candle.pha.pa.us>) |
Список | pgsql-patches |
Bruce Momjian wrote: > 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); }
В списке pgsql-patches по дате отправления: