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

Commit7032703

Browse files
committed
psql: Update tab completion comment
This just updates a comment to match the code.from Michael Paquier
1 parente63bb45 commit7032703

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1999,7 +1999,8 @@ psql_completion(const char *text, int start, int end)
19991999
/* First off we complete CREATE UNIQUE with "INDEX" */
20002000
elseif (TailMatches2("CREATE","UNIQUE"))
20012001
COMPLETE_WITH_CONST("INDEX");
2002-
/* If we have CREATE|UNIQUE INDEX, then add "ON" and existing indexes */
2002+
/* If we have CREATE|UNIQUE INDEX, then add "ON", "CONCURRENTLY",
2003+
and existing indexes */
20032004
elseif (TailMatches2("CREATE|UNIQUE","INDEX"))
20042005
COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_indexes,
20052006
" UNION SELECT 'ON'"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp