Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6dd1042

Browse files
committed
psql: tab-complete ALTER ... DETACH CONCURRENTLY / FINALIZE
New keywords per71f4c8c.Discussion:https://postgr.es/m/20210422204035.GA25929@alvherre.pgsql
1 parent04942bf commit6dd1042

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/bin/psql/tab-complete.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2209,6 +2209,8 @@ psql_completion(const char *text, int start, int end)
22092209
completion_info_charp=prev3_wd;
22102210
COMPLETE_WITH_QUERY(Query_for_partition_of_table);
22112211
}
2212+
elseif (Matches("ALTER","TABLE",MatchAny,"DETACH","PARTITION",MatchAny))
2213+
COMPLETE_WITH("CONCURRENTLY","FINALIZE");
22122214

22132215
/* ALTER TABLESPACE <foo> with RENAME TO, OWNER TO, SET, RESET */
22142216
elseif (Matches("ALTER","TABLESPACE",MatchAny))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp