postgres.git / summary / log / commit / refs
commit 93c3eca9531dfa649d1bf67d727af42a4444312d
Author: Magnus Hagander <magnus@hagander.net>
Date: Sat Jul 12 12:19:57 2014 +0000
Add autocompletion of locale keywords for CREATE DATABASE
Adds support for autocomplete of LC_COLLATE and LC_CTYPE to
the CREATE DATABASE command in psql.
src/bin/psql/tab-complete.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index 7af26498c36..50e0ffc4330 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -1975,7 +1975,7 @@ psql_completion(char *text, int start, int end)
{
static const char *const list_DATABASE[] =
{"OWNER", "TEMPLATE", "ENCODING", "TABLESPACE", "CONNECTION LIMIT",
- NULL};
+ "LC_COLLATE", "LC_CTYPE", NULL};
COMPLETE_WITH_LIST(list_DATABASE);
}
[parent: b77e6b959663]