From bb4d05c026a7b811fa081d994bc02133fb6d13b1 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Sat, 12 Jul 2014 14:19:57 +0200 Subject: [PATCH] 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 3bb727f05c..96de7783e9 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -2046,7 +2046,7 @@ psql_completion(const 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); } -- 2.40.0