diff options
author | Bruce Momjian | 2003-11-08 20:54:37 +0000 |
---|---|---|
committer | Bruce Momjian | 2003-11-08 20:54:37 +0000 |
commit | 205342687e0bb7de555809f6644f91f9493c10dc (patch) | |
tree | 0ba9f4ceb75967d25ab22c66b5ec0e8f67fbf0a9 | |
parent | c3bc15f422f9bf50a35852f716f1a99bd279a445 (diff) |
Allow tab completion for ALTER TABLE dbname <tab><tab> to show new
RENAME TO option.
-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 d4ceb9a3e9e..0f7698cc9c0 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.91 2003/10/30 21:37:38 tgl Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.91.2.1 2003/11/08 20:54:37 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); } |