Content-Length: 269805 | pFad | http://github.com/postgrespro/postgres_cluster/commit/8014c44e8275b2fedfc4740c911577c6f1668b56

7E Improve SECURITY LABEL tab completion · postgrespro/postgres_cluster@8014c44 · GitHub
Skip to content

Commit 8014c44

Browse files
committed
Improve SECURITY LABEL tab completion
Add DATABASE, EVENT TRIGGER, FOREIGN TABLE, ROLE, and TABLESPACE to tab completion for SECURITY LABEL. Kyotaro Horiguchi
1 parent 25bfa7e commit 8014c44

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/bin/psql/tab-complete.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2587,9 +2587,10 @@ psql_completion(const char *text, int start, int end)
25872587
TailMatches5("SECURITY", "LABEL", "FOR", MatchAny, "ON"))
25882588
{
25892589
static const char *const list_SECURITY_LABEL[] =
2590-
{"LANGUAGE", "SCHEMA", "SEQUENCE", "TABLE", "TYPE", "VIEW",
2591-
"MATERIALIZED VIEW", "COLUMN", "AGGREGATE", "FUNCTION", "DOMAIN",
2592-
"LARGE OBJECT", NULL};
2590+
{"TABLE", "COLUMN", "AGGREGATE", "DATABASE", "DOMAIN",
2591+
"EVENT TRIGGER", "FOREIGN TABLE", "FUNCTION", "LARGE OBJECT",
2592+
"MATERIALIZED VIEW", "LANGUAGE", "ROLE", "SCHEMA",
2593+
"SEQUENCE", "TABLESPACE", "TYPE", "VIEW", NULL};
25932594

25942595
COMPLETE_WITH_LIST(list_SECURITY_LABEL);
25952596
}

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_cluster/commit/8014c44e8275b2fedfc4740c911577c6f1668b56

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy