Skip to main content

Crate pg_schema_cache_resolute

Crate pg_schema_cache_resolute 

Source

Structs§

Column
FuncParam
Function
QualifiedName
A schema-qualified database object name.
Relationship
SchemaCache
In-memory representation of a PostgreSQL database schema.
Table

Enums§

RelType
ReturnType
SchemaCacheError
Volatility

Functions§

build_schema_cache
Introspects a PostgreSQL database and builds a SchemaCache containing all tables, columns, relationships, and functions in the given schemas.
start_schema_listener
Establishes a dedicated PostgreSQL connection, executes LISTEN on the given channel, and rebuilds the SchemaCache whenever a notification arrives. The new cache is broadcast to all holders of a watch::Receiver<Arc<SchemaCache>>.