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_2_9~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ead596c2a94a053501fbb0282134c6cdc91b1a8;p=postgresql 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 f4a007f9d1..d839aeba26 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); }