Expand description
Ordered namespace expansion and declaration checks for routine privileges.
Modules§
- targets
- Routine privilege target selection by immutable
pg_procaddresses.
Functions§
- kind_
matches objectsInSchemaToOidsincludes aggregate and window functions in FUNCTIONS, but excludes procedures.- routines_
in_ schemas - Resolve schemas in written order, checking USAGE before inspecting their routines. Repeated schemas contribute repeated targets, including their warnings.
- validate_
grantor GRANTED BYis checked before the command resolves its target objects or recipients.- validate_
privileges - Privilege validation follows target and recipient binding, even for an empty schema.
- validate_
target_ options - An empty target list never invokes
merge_acl_with_grant, so a PUBLIC grant option is only rejected when at least one object is selected.