mirror of
https://github.com/postgres/postgres.git
synced 2025-06-05 23:56:58 +03:00
Remove unnecessary braces, to match the surrounding style.
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
This commit is contained in:
parent
56076b88da
commit
2c71c883b9
@ -3901,13 +3901,9 @@ psql_completion(const char *text, int start, int end)
|
||||
}
|
||||
}
|
||||
else if (strcmp(prev_wd, "\\unset") == 0)
|
||||
{
|
||||
matches = complete_from_variables(text, "", "", true);
|
||||
}
|
||||
else if (strcmp(prev_wd, "\\set") == 0)
|
||||
{
|
||||
matches = complete_from_variables(text, "", "", false);
|
||||
}
|
||||
else if (strcmp(prev2_wd, "\\set") == 0)
|
||||
{
|
||||
static const char *const boolean_value_list[] =
|
||||
|
Loading…
x
Reference in New Issue
Block a user