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

Commit4527b9e

Browse files
committed
psql: Add tab completion for COPY (MERGE ...
The underlying feature for this was added in PostgreSQL 17.Author: Jian He <jian.universality@gmail.com>Discussion:https://www.postgresql.org/message-id/CACJufxEmNjxvf1deR1zBrJbjAMeCooooLRzZ+yaaBuqDKh_6-Q@mail.gmail.com
1 parent7668e85 commit4527b9e

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
@@ -2873,7 +2873,7 @@ psql_completion(const char *text, int start, int end)
28732873
COMPLETE_WITH_SCHEMA_QUERY_PLUS(Query_for_list_of_tables,"(");
28742874
/* Complete COPY ( with legal query commands */
28752875
elseif (Matches("COPY|\\copy","("))
2876-
COMPLETE_WITH("SELECT","TABLE","VALUES","INSERT INTO","UPDATE","DELETE FROM","WITH");
2876+
COMPLETE_WITH("SELECT","TABLE","VALUES","INSERT INTO","UPDATE","DELETE FROM","MERGE INTO","WITH");
28772877
/* Complete COPY <sth> */
28782878
elseif (Matches("COPY|\\copy",MatchAny))
28792879
COMPLETE_WITH("FROM","TO");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp