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
1233680611
commit
f1edf84580
@ -3083,13 +3083,9 @@ psql_completion(const char *text, int start, int end)
|
|||||||
COMPLETE_WITH_LIST_CS2("single", "double");
|
COMPLETE_WITH_LIST_CS2("single", "double");
|
||||||
}
|
}
|
||||||
else if (TailMatchesCS1("\\unset"))
|
else if (TailMatchesCS1("\\unset"))
|
||||||
{
|
|
||||||
matches = complete_from_variables(text, "", "", true);
|
matches = complete_from_variables(text, "", "", true);
|
||||||
}
|
|
||||||
else if (TailMatchesCS1("\\set"))
|
else if (TailMatchesCS1("\\set"))
|
||||||
{
|
|
||||||
matches = complete_from_variables(text, "", "", false);
|
matches = complete_from_variables(text, "", "", false);
|
||||||
}
|
|
||||||
else if (TailMatchesCS2("\\set", MatchAny))
|
else if (TailMatchesCS2("\\set", MatchAny))
|
||||||
{
|
{
|
||||||
if (TailMatchesCS1("AUTOCOMMIT|ON_ERROR_STOP|QUIET|"
|
if (TailMatchesCS1("AUTOCOMMIT|ON_ERROR_STOP|QUIET|"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user