mirror of
https://github.com/postgres/postgres.git
synced 2026-06-08 16:26:30 -04:00
Fix busted tab-completion pattern for ALTER TABLE t ALTER c DROP ...
Evidently a thinko in commit 9b181b036.
Kyotaro Horiguchi
This commit is contained in:
parent
3a3ac47998
commit
28735cc72d
1 changed files with 1 additions and 1 deletions
|
|
@ -1736,7 +1736,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") ||
|
||||
Matches8("ALTER", "TABLE", MatchAny, "TABLE", MatchAny, "ALTER", MatchAny, "DROP"))
|
||||
Matches6("ALTER", "TABLE", MatchAny, "ALTER", MatchAny, "DROP"))
|
||||
COMPLETE_WITH_LIST2("DEFAULT", "NOT NULL");
|
||||
else if (Matches4("ALTER", "TABLE", MatchAny, "CLUSTER"))
|
||||
COMPLETE_WITH_CONST("ON");
|
||||
|
|
|
|||
Loading…
Reference in a new issue