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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy