Re: psql tab-complete patch #3 - Mailing list pgsql-patches

From Stefan Kaltenbrunner
Subject Re: psql tab-complete patch #3
Date
Msg-id 41267A85.3000707@kaltenbrunner.cc
Whole thread Raw
In response to Re: psql tab-complete patch #3  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf
Next
From: Bruce Momjian
Date:
Subject: Re: [pgsql-hackers-win32] Service startup delay