diff options
| author | Bruce Momjian <bruce@momjian.us> | 2003-11-08 20:54:24 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2003-11-08 20:54:24 +0000 |
| commit | e065443a3979123a21689f43bc56728cd8419371 (patch) | |
| tree | 4e9e6f56e0a508c4359731c133d22da76fc513a7 /src/bin | |
| parent | 97edeec6d27ba7b8aaf3b968b0b8c9a0adfe86f2 (diff) | |
| download | postgresql-e065443a3979123a21689f43bc56728cd8419371.tar.gz | |
Allow tab completion for ALTER TABLE dbname <tab><tab> to show new
RENAME TO option.
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/psql/tab-complete.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index 5ac058e8de..36da8ed56f 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2003, PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.92 2003/11/06 22:08:15 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.93 2003/11/08 20:54:24 momjian Exp $ */ /*---------------------------------------------------------------------- @@ -645,7 +645,7 @@ psql_completion(char *text, int start, int end) strcasecmp(prev2_wd, "DATABASE") == 0) { static const char *const list_ALTERDATABASE[] = - {"RESET", "SET", NULL}; + {"RESET", "SET", "RENAME TO", NULL}; COMPLETE_WITH_LIST(list_ALTERDATABASE); } |
