Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
404e6675
Commit
404e6675
authored
Nov 28, 2016
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix busted tab-completion pattern for ALTER TABLE t ALTER c DROP ...
Evidently a thinko in commit
9b181b03
. Kyotaro Horiguchi
parent
dafa0848
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/bin/psql/tab-complete.c
src/bin/psql/tab-complete.c
+1
-1
No files found.
src/bin/psql/tab-complete.c
View file @
404e6675
...
...
@@ -1804,7 +1804,7 @@ psql_completion(const char *text, int start, int end)
COMPLETE_WITH_LIST4
(
"PLAIN"
,
"EXTERNAL"
,
"EXTENDED"
,
"MAIN"
);
/* ALTER TABLE ALTER [COLUMN] <foo> DROP */
else
if
(
Matches7
(
"ALTER"
,
"TABLE"
,
MatchAny
,
"ALTER"
,
"COLUMN"
,
MatchAny
,
"DROP"
)
||
Matches
8
(
"ALTER"
,
"TABLE"
,
MatchAny
,
"TABLE"
,
MatchAny
,
"ALTER"
,
MatchAny
,
"DROP"
))
Matches
6
(
"ALTER"
,
"TABLE"
,
MatchAny
,
"ALTER"
,
MatchAny
,
"DROP"
))
COMPLETE_WITH_LIST2
(
"DEFAULT"
,
"NOT NULL"
);
else
if
(
Matches4
(
"ALTER"
,
"TABLE"
,
MatchAny
,
"CLUSTER"
))
COMPLETE_WITH_CONST
(
"ON"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment