Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e065443

Browse files
committed
Allow tab completion for ALTER TABLE dbname <tab><tab> to show new
RENAME TO option.
1 parent 97edeec commit e065443

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/tab-complete.c

+2-2
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.92 2003/11/06 22:08:15 petere Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.93 2003/11/08 20:54:24 momjian Exp $
77
*/
88

99
/*----------------------------------------------------------------------
@@ -645,7 +645,7 @@ psql_completion(char *text, int start, int end)
645645
strcasecmp(prev2_wd, "DATABASE") == 0)
646646
{
647647
static const char *const list_ALTERDATABASE[] =
648-
{"RESET", "SET", NULL};
648+
{"RESET", "SET", "RENAME TO", NULL};
649649

650650
COMPLETE_WITH_LIST(list_ALTERDATABASE);
651651
}

0 commit comments

Comments
 (0)