summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2014-07-12 14:19:57 +0200
committerMagnus Hagander <magnus@hagander.net>2014-07-12 14:20:37 +0200
commit2ead596c2a94a053501fbb0282134c6cdc91b1a8 (patch)
tree5d328e87d8b28ea6ed6ce6aa5c0e16d98d1cce9d
parent261f954e7a5861e1706a1e77f5d44c57335d37a6 (diff)
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.
-rw-r--r--src/bin/psql/tab-complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index f4a007f9d1a..d839aeba267 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -1722,7 +1722,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);
}