aboutsummaryrefslogtreecommitdiff
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:20 +0200
commit93c3eca9531dfa649d1bf67d727af42a4444312d (patch)
tree5d5ed709e66aa5338d33c5ae5ec099e8740ce870
parentb77e6b959663f022c31167396f2b56275c792833 (diff)
downloadpostgresql-93c3eca9531dfa649d1bf67d727af42a4444312d.tar.gz
postgresql-93c3eca9531dfa649d1bf67d727af42a4444312d.zip
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 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);
}