Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit05e85d3

Browse files
committed
psql: Fix \ef, \sf tab completion
\ef and \sf take any kind of routine, not just normal functions.Author: Pavel Stehule <pavel.stehule@gmail.com>
1 parent6278a2a commit05e85d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/psql/tab-complete.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3685,7 +3685,7 @@ psql_completion(const char *text, int start, int end)
36853685
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_relations,NULL);
36863686

36873687
elseif (TailMatchesCS1("\\ef"))
3688-
COMPLETE_WITH_VERSIONED_SCHEMA_QUERY(Query_for_list_of_functions,NULL);
3688+
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_routines,NULL);
36893689
elseif (TailMatchesCS1("\\ev"))
36903690
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_views,NULL);
36913691

@@ -3794,7 +3794,7 @@ psql_completion(const char *text, int start, int end)
37943794
COMPLETE_WITH_LIST_CS3("default","verbose","terse");
37953795
}
37963796
elseif (TailMatchesCS1("\\sf*"))
3797-
COMPLETE_WITH_VERSIONED_SCHEMA_QUERY(Query_for_list_of_functions,NULL);
3797+
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_routines,NULL);
37983798
elseif (TailMatchesCS1("\\sv*"))
37993799
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_views,NULL);
38003800
elseif (TailMatchesCS1("\\cd|\\e|\\edit|\\g|\\i|\\include|"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp