Skip to content

Commit f1edf84

Browse files
committed
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
1 parent 1233680 commit f1edf84

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/bin/psql/tab-complete.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3083,13 +3083,9 @@ psql_completion(const char *text, int start, int end)
30833083
COMPLETE_WITH_LIST_CS2("single", "double");
30843084
}
30853085
else if (TailMatchesCS1("\\unset"))
3086-
{
30873086
matches = complete_from_variables(text, "", "", true);
3088-
}
30893087
else if (TailMatchesCS1("\\set"))
3090-
{
30913088
matches = complete_from_variables(text, "", "", false);
3092-
}
30933089
else if (TailMatchesCS2("\\set", MatchAny))
30943090
{
30953091
if (TailMatchesCS1("AUTOCOMMIT|ON_ERROR_STOP|QUIET|"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy