Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81b9b5c commit 2b8c94eCopy full SHA for 2b8c94e
src/bin/psql/tab-complete.c
@@ -1711,11 +1711,17 @@ psql_completion(const char *text, int start, int end)
1711
COMPLETE_WITH_CONST("(");
1712
/* ALTER INDEX <foo> SET|RESET ( */
1713
else if (Matches5("ALTER", "INDEX", MatchAny, "RESET", "("))
1714
- COMPLETE_WITH_LIST3("fillfactor", "fastupdate",
1715
- "gin_pending_list_limit");
+ COMPLETE_WITH_LIST6("fillfactor",
+ "fastupdate", "gin_pending_list_limit", /* GIN */
1716
+ "buffering", /* GiST */
1717
+ "pages_per_range", "autosummarize" /* BRIN */
1718
+ );
1719
else if (Matches5("ALTER", "INDEX", MatchAny, "SET", "("))
- COMPLETE_WITH_LIST3("fillfactor =", "fastupdate =",
- "gin_pending_list_limit =");
1720
+ COMPLETE_WITH_LIST6("fillfactor =",
1721
+ "fastupdate =", "gin_pending_list_limit =", /* GIN */
1722
+ "buffering =", /* GiST */
1723
+ "pages_per_range =", "autosummarize =" /* BRIN */
1724
1725
1726
/* ALTER LANGUAGE <name> */
1727
else if (Matches3("ALTER", "LANGUAGE", MatchAny))
0 commit comments