Skip to content

Commit 0dc379d

Browse files
committed
Add tab completion for table_rewrite's CREATE EVENT TRIGGER in psql
Author: Hou Zhijie Discussion: https://postgr.es/m/OS0PR01MB5716DEFF787B925C4778228C94D69@OS0PR01MB5716.jpnprd01.prod.outlook.com
1 parent 98f8973 commit 0dc379d

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
else if (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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy