git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 97edeec)
Allow tab completion for ALTER TABLE dbname <tab><tab> to show new
Sat, 8 Nov 2003 20:54:24 +0000 (20:54 +0000)
Sat, 8 Nov 2003 20:54:24 +0000 (20:54 +0000)
RENAME TO option.


diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index 5ac058e8deb1a3eb2342d51e9e7d84f03d6d4a82..36da8ed56fd10e1ddc26e042ef81005b26d4a128 100644 (file)
--- 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);
}
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /