While answering a question about something else, I spotted another omission regarding \ef - no tab-completion for it.
This is the trivial patch, not sure if there's any benefit in trying to be more specific. -- Andrew (irc:RhodiumToad)
Index: src/bin/psql/tab-complete.c =================================================================== RCS file: /projects/cvsroot/pgsql/src/bin/psql/tab-complete.c,v retrieving revision 1.182 diff -c -r1.182 tab-complete.c *** src/bin/psql/tab-complete.c 6 Apr 2009 15:50:59 -0000 1.182 --- src/bin/psql/tab-complete.c 8 Apr 2009 01:38:47 -0000 *************** *** 2218,2223 **** --- 2218,2226 ---- else if (strncmp(prev_wd, "\\d", strlen("\\d")) == 0) COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_tisv, NULL); + else if (strcmp(prev_wd, "\\ef") == 0) + COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_functions, NULL); + else if (strcmp(prev_wd, "\\encoding") == 0) COMPLETE_WITH_QUERY(Query_for_list_of_encodings); else if (strcmp(prev_wd, "\\h") == 0 || strcmp(prev_wd, "\\help") == 0)
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers