diff options
author | Robert Haas <rhaas@postgresql.org> | 2015-04-29 12:49:10 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2015-04-29 12:49:10 -0400 |
commit | c6e96a2f986e4dad72c14b14d4cc17d02b2a6aad (patch) | |
tree | eff4366fcd23824af32e6584c57164875dea973f | |
parent | 9b43d73b3f9bef276a46660920a01f0421c4323a (diff) | |
download | postgresql-c6e96a2f986e4dad72c14b14d4cc17d02b2a6aad.tar.gz postgresql-c6e96a2f986e4dad72c14b14d4cc17d02b2a6aad.zip |
psql: Improve tab completion for ALTER FOREIGN TABLE.
Etsuro Fujita
-rw-r--r-- | src/bin/psql/tab-complete.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index 38fde39b30b..750e29ddf3c 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -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); } |