pgsql: Remove partial and undocumented GRANT .. FOREIGN TABLE support.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Remove partial and undocumented GRANT .. FOREIGN TABLE support.
Дата
Msg-id E1QESat-0003CC-6X@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Remove partial and undocumented GRANT .. FOREIGN TABLE support.

Instead, foreign tables are treated just like views: permissions can
be granted using GRANT privilege ON [TABLE] foreign_table_name TO role,
and revoked similarly.  GRANT/REVOKE .. FOREIGN TABLE is no longer
supported, just as we don't support GRANT/REVOKE .. VIEW.  The set of
accepted permissions for foreign tables is now identical to the set for
regular tables, and views.

Per report from Thom Brown, and subsequent discussion.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/be90032e0d1cf473bdd99aee94218218f59f29f1

Modified Files
--------------
doc/src/sgml/ref/grant.sgml    |    4 +-
src/backend/catalog/aclchk.c   |   52 ----------------------------------------
src/backend/parser/gram.y      |    8 ------
src/backend/utils/adt/acl.c    |    4 ---
src/include/nodes/parsenodes.h |    1 -
src/include/utils/acl.h        |    2 -
6 files changed, 2 insertions(+), 69 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Refactor broken CREATE TABLE IF NOT EXISTS support.