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

Commit1e1f70c

Browse files
committed
psql: Tab completion for CREATE TEMP TABLE ... USING
The USING keyword was offered only for persistent tables, not fortemporary ones. So improve that.Author: Kirill ReshkeReviewed-By: Karina LitskevichDiscussion:https://postgr.es/m/CALdSSPhVELkvutquqrDB=Ujfq_Pjz=6jn-kzh+291KPNViLTfw@mail.gmail.com
1 parent8f11ef8 commit1e1f70c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3629,7 +3629,7 @@ match_previous_words(int pattern_id,
36293629
TailMatches("CREATE","UNLOGGED","TABLE",MatchAny,"(*)"))
36303630
COMPLETE_WITH("AS","INHERITS (","PARTITION BY","USING","TABLESPACE","WITH (");
36313631
elseif (TailMatches("CREATE","TEMP|TEMPORARY","TABLE",MatchAny,"(*)"))
3632-
COMPLETE_WITH("AS","INHERITS (","ON COMMIT","PARTITION BY",
3632+
COMPLETE_WITH("AS","INHERITS (","ON COMMIT","PARTITION BY","USING",
36333633
"TABLESPACE","WITH (");
36343634
/* Complete CREATE TABLE (...) USING with table access methods */
36353635
elseif (TailMatches("CREATE","TABLE",MatchAny,"(*)","USING")||

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp