mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
More cleanup of FOREIGN TABLE permissions handling.
This commit fixes psql, pg_dump, and the information schema to be
consistent with the backend changes which I made as part of commit
be90032e0d
, and also includes a
related documentation tweak.
Shigeru Hanada, with slight adjustment.
This commit is contained in:
@ -2234,7 +2234,6 @@ psql_completion(char *text, int start, int end)
|
||||
" UNION SELECT 'DATABASE'"
|
||||
" UNION SELECT 'FOREIGN DATA WRAPPER'"
|
||||
" UNION SELECT 'FOREIGN SERVER'"
|
||||
" UNION SELECT 'FOREIGN TABLE'"
|
||||
" UNION SELECT 'FUNCTION'"
|
||||
" UNION SELECT 'LANGUAGE'"
|
||||
" UNION SELECT 'LARGE OBJECT'"
|
||||
@ -2246,7 +2245,7 @@ psql_completion(char *text, int start, int end)
|
||||
pg_strcasecmp(prev_wd, "FOREIGN") == 0)
|
||||
{
|
||||
static const char *const list_privilege_foreign[] =
|
||||
{"DATA WRAPPER", "SERVER", "TABLE", NULL};
|
||||
{"DATA WRAPPER", "SERVER", NULL};
|
||||
|
||||
COMPLETE_WITH_LIST(list_privilege_foreign);
|
||||
}
|
||||
|
Reference in New Issue
Block a user