Commit c6e96a2f authored by Robert Haas's avatar Robert Haas

psql: Improve tab completion for ALTER FOREIGN TABLE.

Etsuro Fujita
parent 9b43d73b
......@@ -1128,7 +1128,9 @@ psql_completion(const char *text, int start, int end)
pg_strcasecmp(prev2_wd, "TABLE") == 0)
{
static const char *const list_ALTER_FOREIGN_TABLE[] =
{"ALTER", "DROP", "RENAME", "OWNER TO", "SET SCHEMA", NULL};
{"ADD", "ALTER", "DISABLE TRIGGER", "DROP", "ENABLE", "INHERIT",
"NO INHERIT", "OPTIONS", "OWNER TO", "RENAME", "SET",
"VALIDATE CONSTRAINT", NULL};
COMPLETE_WITH_LIST(list_ALTER_FOREIGN_TABLE);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment