diff options
Diffstat (limited to 'src/bin/psql/tab-complete.c')
-rw-r--r-- | src/bin/psql/tab-complete.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index 0e9cb2d3765..e7e329cfa8f 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.20 2000/06/25 14:25:51 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.21 2000/10/03 19:50:20 petere Exp $ */ /*---------------------------------------------------------------------- @@ -60,7 +60,7 @@ #include "common.h" #include "settings.h" -#if defined(HAVE_FILENAME_COMPLETION_FUNCTION) && !defined(HAVE_FILENAME_COMPLETION_FUNCTION_DECL) +#ifndef HAVE_FILENAME_COMPLETION_FUNCTION_DECL char *filename_completion_function(char *, int); #endif @@ -699,17 +699,7 @@ psql_completion(char *text, int start, int end) strcmp(prev_wd, "\\w") == 0 || strcmp(prev_wd, "\\write") == 0 ) { -#ifdef HAVE_FILENAME_COMPLETION_FUNCTION matches = completion_matches(text, filename_completion_function); -#else - - /* - * This will probably have the same effect, but you never know - * what the heck some readline incarnation out there is going to - * do. - */ - matches = NULL; -#endif } |