Skip to content

Commit 08481ee

Browse files
committed
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
1 parent a7e8ece commit 08481ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/psql/tab-complete.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3886,7 +3886,7 @@ psql_completion(const char *text, int start, int end)
38863886
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_routines, NULL);
38873887
else if (TailMatchesCS("\\sv*"))
38883888
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_views, NULL);
3889-
else if (TailMatchesCS("\\cd|\\e|\\edit|\\g|\\i|\\include|"
3889+
else if (TailMatchesCS("\\cd|\\e|\\edit|\\g|\\gx|\\i|\\include|"
38903890
"\\ir|\\include_relative|\\o|\\out|"
38913891
"\\s|\\w|\\write|\\lo_import"))
38923892
{

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