Skip to main content

Module lifecycle

Module lifecycle 

Source
Expand description

Routine removal identities, dependency results, and declaration diagnostics.

Modules§

binding
DROP and ALTER routine target binding and ownership validation.
dependencies
Atomic removal of resolved routines from the routine registry.
lookup
Lookup exact stored routine identities and visible or unshadowed overload candidates.
names
Search-path and namespace authorization rules for routine names.
relations
Stored relation, sequence OID, column, and namespace references in routine definitions.
rename
Routine rename identities, collision checks, registry movement, and stored AST rewrites.
restoration
Validate durable routine names, object identities, signatures, and serialized dispatches.
rewrites
Surviving routine body candidates and exact registry identities for source rewrites.

Structs§

RoutineDropResolution
RoutineDropTarget

Functions§

alter_routine_kind_matches
alter_routine_kind_name
ambiguous_routine_error
LookupFuncWithArgs: a name without an argument list selects more than one routine of the command’s kind.
require_routine_ownership
must be owner of <kind> <name>, which aclcheck_error reports for a routine whose owner the current user is not; each command names the routine its own way.
routine_signature_display
func_signature_string: the routine name as the command wrote it and each argument type as format_type_be spells it.
routine_signature_label
wrong_routine_kind_error
LookupFuncWithArgs: the routine an argument list selects is not of the kind the command names.

Type Aliases§

RoutineRegistry