Skip to content

Commit 4a48c67

Browse files
committed
There should not be an automatic '()' after a function name when
tab-completing.
1 parent 52b59a7 commit 4a48c67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/tab-complete.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.87 2003/10/16 20:03:09 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.88 2003/10/16 23:45:29 petere Exp $
77
*/
88

99
/*----------------------------------------------------------------------
@@ -223,7 +223,7 @@ initialize_readline(void)
223223
" WHERE substring(pg_catalog.pg_encoding_to_char(conforencoding),1,%d)=UPPER('%s')"
224224

225225
#define Query_for_list_of_functions \
226-
" SELECT pg_catalog.quote_ident(proname) || '()' "\
226+
" SELECT pg_catalog.quote_ident(proname) "\
227227
" FROM pg_catalog.pg_proc p "\
228228
" WHERE substring(pg_catalog.quote_ident(proname),1,%d)='%s'"\
229229
" AND pg_catalog.pg_function_is_visible(p.oid) "\

0 commit comments

Comments
 (0)