From: Magnus Hagander Date: Sat, 12 Jul 2014 12:19:57 +0000 (+0200) Subject: Add autocompletion of locale keywords for CREATE DATABASE X-Git-Tag: REL9_3_5~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=93c3eca9531dfa649d1bf67d727af42a4444312d;p=thirdparty%2Fpostgresql.git 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. --- 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); }