Skip to main content

Module resolution

Module resolution 

Source
Expand description

Relation namespace inputs for static SQL analysis.

Modules§

candidates
Legacy relation candidates with lazy session input reads and exact search-path ordering.
creation
Creation namespaces and index-target lookup over the caller’s actual metadata guards.

Structs§

EffectiveSearchPath
The usable namespace order and creation target of one analysis. An explicitly placed pg_catalog can leave the lookup order unchanged while changing the creation namespace, which SearchPathMatchesCurrentEnvironment also compares.
RelationNameResolution
Immutable session inputs used to resolve unqualified relation names during one statement.

Enums§

RelationLookupMode
Whether a query resolves session-visible names or follows catalog identities captured when a stored expression was defined.
RelationResolution
Complete outcome of resolving one relation reference through a statement namespace.

Functions§

described_relation_name
The name PostgreSQL’s object descriptions give relation: its own name, quoted as an identifier needs, when the search path finds that relation by it, and its schema-qualified name otherwise.
missing_relation_notice
resolve_relation_rename_source
Bind rename-source diagnostics without losing the distinction between missing schemas and relations.