diff options
author | Bruce Momjian <bruce@momjian.us> | 2020-03-31 23:01:33 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2020-03-31 23:01:33 -0400 |
commit | 6a50f1af44631acdc3ed4e538ef477624ef7c539 (patch) | |
tree | bb9b5c37619f747afc214b596a8324a89d194fdf | |
parent | f9c1bb73ab5bf6027dfdc983663f8e934f20d29a (diff) | |
download | postgresql-6a50f1af44631acdc3ed4e538ef477624ef7c539.tar.gz postgresql-6a50f1af44631acdc3ed4e538ef477624ef7c539.zip |
psql: do file completion for \gx
This was missed when the feature was added.
Reported-by: Vik Fearing
Discussion: https://postgr.es/m/eca20529-0b06-b493-ee38-f071a75dcd5b@postgresfriends.org
Backpatch-through: 10
-rw-r--r-- | src/bin/psql/tab-complete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index 6d9c67891b8..b3f55029721 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -3721,7 +3721,7 @@ psql_completion(const char *text, int start, int end) COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_routines, NULL); else if (TailMatchesCS("\\sv*")) COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_views, NULL); - else if (TailMatchesCS("\\cd|\\e|\\edit|\\g|\\i|\\include|" + else if (TailMatchesCS("\\cd|\\e|\\edit|\\g|\\gx|\\i|\\include|" "\\ir|\\include_relative|\\o|\\out|" "\\s|\\w|\\write|\\lo_import")) { |