Skip to content

Commit d162ebd

Browse files
chicago-industrymy-ship-it
authored andcommitted
Add EXTERNAL TABLE to autocomplete (#15350)
Extends the psql console utility. It's autocompletion capabilities with the "CREATE EXTERNAL TABLE" syntax. Now, when you type "CREATE EXT" and press Tab, both options will be offered: "CREATE EXTENSION" and "CREATE EXTERNAL TABLE".
1 parent c5428c5 commit d162ebd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bin/psql/tab-complete.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,7 @@ static const pgsql_thing_t words_after_create[] = {
11241124
{"DYNAMIC TABLE", NULL, NULL, &Query_for_list_of_matviews, THING_NO_ALTER},
11251125
{"EVENT TRIGGER", NULL, NULL, NULL},
11261126
{"EXTENSION", Query_for_list_of_extensions},
1127+
{"EXTERNAL TABLE", NULL, NULL, NULL},
11271128
{"FOREIGN DATA WRAPPER", NULL, NULL, NULL},
11281129
{"FOREIGN TABLE", NULL, NULL, NULL},
11291130
{"FUNCTION", NULL, NULL, Query_for_list_of_functions},

0 commit comments

Comments
 (0)