Content-Length: 259834 | pFad | http://github.com/postgrespro/postgres/commit/c6e96a2f986e4dad72c14b14d4cc17d02b2a6aad

47 psql: Improve tab completion for ALTER FOREIGN TABLE. · postgrespro/postgres@c6e96a2 · GitHub
Skip to content

Commit c6e96a2

Browse files
committed
psql: Improve tab completion for ALTER FOREIGN TABLE.
Etsuro Fujita
1 parent 9b43d73 commit c6e96a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/bin/psql/tab-complete.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,9 @@ psql_completion(const char *text, int start, int end)
11281128
pg_strcasecmp(prev2_wd, "TABLE") == 0)
11291129
{
11301130
static const char *const list_ALTER_FOREIGN_TABLE[] =
1131-
{"ALTER", "DROP", "RENAME", "OWNER TO", "SET SCHEMA", NULL};
1131+
{"ADD", "ALTER", "DISABLE TRIGGER", "DROP", "ENABLE", "INHERIT",
1132+
"NO INHERIT", "OPTIONS", "OWNER TO", "RENAME", "SET",
1133+
"VALIDATE CONSTRAINT", NULL};
11321134

11331135
COMPLETE_WITH_LIST(list_ALTER_FOREIGN_TABLE);
11341136
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/c6e96a2f986e4dad72c14b14d4cc17d02b2a6aad

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy