psql: Restore alphabetical order in words_after_create.
authorRobert Haas <rhaas@postgresql.org>
Thu, 22 Jun 2017 15:07:58 +0000 (11:07 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 22 Jun 2017 15:07:58 +0000 (11:07 -0400)
Rushabh Lathia

Discussion: http://postgr.es/m/CAGPqQf3yKG0Eo04ePfLPG_-KTo=7ZkxbGDVUWfSGN35Y3SG+PA@mail.gmail.com

src/bin/psql/tab-complete.c

index 29ccc257932b8e3d8f2e1f659cf45900339ab713..17344d9d177a6a5880c454f8ede7e6944ac68922 100644 (file)
@@ -1014,8 +1014,8 @@ static const pgsql_thing_t words_after_create[] = {
        {"CONFIGURATION", Query_for_list_of_ts_configurations, NULL, THING_NO_SHOW},
        {"CONVERSION", "SELECT pg_catalog.quote_ident(conname) FROM pg_catalog.pg_conversion WHERE substring(pg_catalog.quote_ident(conname),1,%d)='%s'"},
        {"DATABASE", Query_for_list_of_databases},
-       {"DICTIONARY", Query_for_list_of_ts_dictionaries, NULL, THING_NO_SHOW},
        {"DEFAULT PRIVILEGES", NULL, NULL, THING_NO_CREATE | THING_NO_DROP},
+       {"DICTIONARY", Query_for_list_of_ts_dictionaries, NULL, THING_NO_SHOW},
        {"DOMAIN", NULL, &Query_for_list_of_domains},
        {"EVENT TRIGGER", NULL, NULL},
        {"EXTENSION", Query_for_list_of_extensions},