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

Commite2ce88b

Browse files
committed
Add tab completion for DECLARE .. ASENSITIVE in psql
This option has been introduced indd13ad9.Author: Shinya KatoDiscussion:https://postgr.es/m/TYAPR01MB289665526B76DA29DC70A031C4F09@TYAPR01MB2896.jpnprd01.prod.outlook.com
1 parent1e34452 commite2ce88b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3055,8 +3055,8 @@ psql_completion(const char *text, int start, int end)
30553055
/* DECLARE */
30563056

30573057
/*
3058-
* Complete DECLARE <name> with one of BINARY,INSENSITIVE, SCROLL, NO
3059-
* SCROLL, and CURSOR.
3058+
* Complete DECLARE <name> with one of BINARY,ASENSITIVE, INSENSITIVE,
3059+
* SCROLL,NO SCROLL,and CURSOR.
30603060
*/
30613061
elseif (Matches("DECLARE",MatchAny))
30623062
COMPLETE_WITH("BINARY","ASENSITIVE","INSENSITIVE","SCROLL","NO SCROLL",
@@ -3070,8 +3070,8 @@ psql_completion(const char *text, int start, int end)
30703070
* indicates.
30713071
*/
30723072
elseif (HeadMatches("DECLARE")&&TailMatches("BINARY"))
3073-
COMPLETE_WITH("INSENSITIVE","SCROLL","NO SCROLL","CURSOR");
3074-
elseif (HeadMatches("DECLARE")&&TailMatches("INSENSITIVE"))
3073+
COMPLETE_WITH("ASENSITIVE","INSENSITIVE","SCROLL","NO SCROLL","CURSOR");
3074+
elseif (HeadMatches("DECLARE")&&TailMatches("ASENSITIVE|INSENSITIVE"))
30753075
COMPLETE_WITH("SCROLL","NO SCROLL","CURSOR");
30763076
elseif (HeadMatches("DECLARE")&&TailMatches("SCROLL"))
30773077
COMPLETE_WITH("CURSOR");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp