projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b43d73
)
psql: Improve tab completion for ALTER FOREIGN TABLE.
author
Robert Haas
<rhaas@postgresql.org>
Wed, 29 Apr 2015 16:49:10 +0000
(12:49 -0400)
committer
Robert Haas
<rhaas@postgresql.org>
Wed, 29 Apr 2015 16:49:10 +0000
(12:49 -0400)
Etsuro Fujita
src/bin/psql/tab-complete.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/tab-complete.c
b/src/bin/psql/tab-complete.c
index 38fde39b30b9cb5e5f8f97abb85370b72d9c6a28..750e29ddf3cbb0516fbc50518f853eaed55e6308 100644
(file)
--- 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);
}