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 d9c4609 commit f3d416cCopy full SHA for f3d416c
src/bin/psql/tab-complete.c
@@ -2385,6 +2385,10 @@ psql_completion(const char *text, int start, int end)
2385
else if (Matches("ALTER", "TABLE", MatchAny, "ALTER", "COLUMN", MatchAny, "SET", "(") ||
2386
Matches("ALTER", "TABLE", MatchAny, "ALTER", MatchAny, "SET", "("))
2387
COMPLETE_WITH("n_distinct", "n_distinct_inherited");
2388
+ /* ALTER TABLE ALTER [COLUMN] <foo> SET COMPRESSION */
2389
+ else if (Matches("ALTER", "TABLE", MatchAny, "ALTER", "COLUMN", MatchAny, "SET", "COMPRESSION") ||
2390
+ Matches("ALTER", "TABLE", MatchAny, "ALTER", MatchAny, "SET", "COMPRESSION"))
2391
+ COMPLETE_WITH("DEFAULT", "PGLZ", "LZ4");
2392
/* ALTER TABLE ALTER [COLUMN] <foo> SET STORAGE */
2393
else if (Matches("ALTER", "TABLE", MatchAny, "ALTER", "COLUMN", MatchAny, "SET", "STORAGE") ||
2394
Matches("ALTER", "TABLE", MatchAny, "ALTER", MatchAny, "SET", "STORAGE"))
0 commit comments