Remove unnecessary braces, to match the surrounding style.
authorHeikki Linnakangas
Wed, 12 Jul 2017 09:30:50 +0000 (12:30 +0300)
committerHeikki Linnakangas
Wed, 12 Jul 2017 09:31:18 +0000 (12:31 +0300)
Mostly in the new subscription-related commands. Backport the few that
were also present in older versions.

Thomas Munro

Discussion: https://www.postgresql.org/message-id/CAEepm=3CyW1QmXcXJXmqiJXtXzFDc8SvSfnxkEGD3Bkv2SrkeQ@mail.gmail.com

src/bin/psql/tab-complete.c

index fae7424913b0db342196a1cc431505000d9f74b4..1150952b2e29575aa95d843eac56c053886b8540 100644 (file)
@@ -3526,9 +3526,7 @@ psql_completion(const char *text, int start, int end)
        }
    }
    else if (strcmp(prev_wd, "\\set") == 0)
-   {
        matches = complete_from_variables(text, "", "");
-   }
    else if (strcmp(prev_wd, "\\sf") == 0 || strcmp(prev_wd, "\\sf+") == 0)
        COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_functions, NULL);
    else if (strcmp(prev_wd, "\\cd") == 0 ||