mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Add support for privileges on types
This adds support for the more or less SQL-conforming USAGE privilege on types and domains. The intent is to be able restrict which users can create dependencies on types, which restricts the way in which owners can alter types. reviewed by Yeb Havinga
This commit is contained in:
@ -94,6 +94,12 @@ extern Datum has_tablespace_privilege_id_name(PG_FUNCTION_ARGS);
|
||||
extern Datum has_tablespace_privilege_id_id(PG_FUNCTION_ARGS);
|
||||
extern Datum has_tablespace_privilege_name(PG_FUNCTION_ARGS);
|
||||
extern Datum has_tablespace_privilege_id(PG_FUNCTION_ARGS);
|
||||
extern Datum has_type_privilege_name_name(PG_FUNCTION_ARGS);
|
||||
extern Datum has_type_privilege_name_id(PG_FUNCTION_ARGS);
|
||||
extern Datum has_type_privilege_id_name(PG_FUNCTION_ARGS);
|
||||
extern Datum has_type_privilege_id_id(PG_FUNCTION_ARGS);
|
||||
extern Datum has_type_privilege_name(PG_FUNCTION_ARGS);
|
||||
extern Datum has_type_privilege_id(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_has_role_name_name(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_has_role_name_id(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_has_role_id_name(PG_FUNCTION_ARGS);
|
||||
|
Reference in New Issue
Block a user