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

Commit0dc379d

Browse files
committed
Add tab completion for table_rewrite's CREATE EVENT TRIGGER in psql
Author: Hou ZhijieDiscussion:https://postgr.es/m/OS0PR01MB5716DEFF787B925C4778228C94D69@OS0PR01MB5716.jpnprd01.prod.outlook.com
1 parent98f8973 commit0dc379d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3408,7 +3408,8 @@ psql_completion(const char *text, int start, int end)
34083408
COMPLETE_WITH("ON");
34093409
/* Complete CREATE EVENT TRIGGER <name> ON with event_type */
34103410
elseif (Matches("CREATE","EVENT","TRIGGER",MatchAny,"ON"))
3411-
COMPLETE_WITH("ddl_command_start","ddl_command_end","sql_drop");
3411+
COMPLETE_WITH("ddl_command_start","ddl_command_end","sql_drop",
3412+
"table_rewrite");
34123413

34133414
/*
34143415
* Complete CREATE EVENT TRIGGER <name> ON <event_type>. EXECUTE FUNCTION

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp