mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Add tab-completion for table name after JOIN.
Andrey Popp
This commit is contained in:
parent
8c4164540b
commit
8e2d8b1497
@ -2751,6 +2751,10 @@ psql_completion(char *text, int start, int end)
|
||||
pg_strcasecmp(prev3_wd, "\\copy") != 0)
|
||||
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_tsvf, NULL);
|
||||
|
||||
/* ... JOIN ... */
|
||||
else if (pg_strcasecmp(prev_wd, "JOIN") == 0)
|
||||
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_tsvf, NULL);
|
||||
|
||||
/* Backslash commands */
|
||||
/* TODO: \dc \dd \dl */
|
||||
else if (strcmp(prev_wd, "\\connect") == 0 || strcmp(prev_wd, "\\c") == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user