aboutsummaryrefslogtreecommitdiff
path: root/src
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:53 +0200
commita70935d3fc1dc527cc8ed960d80728629c6b3753 (patch)
treea2ad807bf0e74d1677702b1828520c838ef52dab /src
parentc45841f9e199a05c95cb8af51ebc97470fec17b8 (diff)
downloadpostgresql-a70935d3fc1dc527cc8ed960d80728629c6b3753.tar.gz
postgresql-a70935d3fc1dc527cc8ed960d80728629c6b3753.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.
Diffstat (limited to 'src')
-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 c1c77f778e3..d90d2814c5f 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -1648,7 +1648,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);
}