psql: tab-complete ALTER ... DETACH CONCURRENTLY / FINALIZE
New keywords per 71f4c8c6f74b. Discussion: https://postgr.es/m/20210422204035.GA25929@alvherre.pgsql
This commit is contained in:
parent
04942bffd0
commit
6dd1042eda
@ -2209,6 +2209,8 @@ psql_completion(const char *text, int start, int end)
|
|||||||
completion_info_charp = prev3_wd;
|
completion_info_charp = prev3_wd;
|
||||||
COMPLETE_WITH_QUERY(Query_for_partition_of_table);
|
COMPLETE_WITH_QUERY(Query_for_partition_of_table);
|
||||||
}
|
}
|
||||||
|
else if (Matches("ALTER", "TABLE", MatchAny, "DETACH", "PARTITION", MatchAny))
|
||||||
|
COMPLETE_WITH("CONCURRENTLY", "FINALIZE");
|
||||||
|
|
||||||
/* ALTER TABLESPACE <foo> with RENAME TO, OWNER TO, SET, RESET */
|
/* ALTER TABLESPACE <foo> with RENAME TO, OWNER TO, SET, RESET */
|
||||||
else if (Matches("ALTER", "TABLESPACE", MatchAny))
|
else if (Matches("ALTER", "TABLESPACE", MatchAny))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user