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

Commit5b2266e

Browse files
committed
Improve tab completion of IMPORT FOREIGN SCHEMA with \h in psql
Only "IMPORT" was showing as result of the completion, while IMPORTFOREIGN SCHEMA is the only command using this keyword in firstposition. This changes the completion to show the full command nameinstead of just "IMPORT".Reviewed-by: Georgios Kokolatos, Julien RouhaudDiscussion:https://postgr.es/m/YFL6JneBiuMWYyoh@paquier.xyz
1 parent1d581ce commit5b2266e

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
@@ -1494,7 +1494,7 @@ psql_completion(const char *text, int start, int end)
14941494
"ABORT","ALTER","ANALYZE","BEGIN","CALL","CHECKPOINT","CLOSE","CLUSTER",
14951495
"COMMENT","COMMIT","COPY","CREATE","DEALLOCATE","DECLARE",
14961496
"DELETE FROM","DISCARD","DO","DROP","END","EXECUTE","EXPLAIN",
1497-
"FETCH","GRANT","IMPORT","INSERT","LISTEN","LOAD","LOCK",
1497+
"FETCH","GRANT","IMPORT FOREIGN SCHEMA","INSERT","LISTEN","LOAD","LOCK",
14981498
"MOVE","NOTIFY","PREPARE",
14991499
"REASSIGN","REFRESH MATERIALIZED VIEW","REINDEX","RELEASE",
15001500
"RESET","REVOKE","ROLLBACK",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp