Skip to main content

required_extensions

Function required_extensions 

Source
pub fn required_extensions(target: &SchemaDescriptor) -> Vec<&'static str>
Expand description

Postgres extensions target needs in order for its own DDL to apply cleanly — currently just vector (pgvector), needed the moment any type declares a vector index. Extending this to a future extension-dependent feature is just adding another check here; the caller-facing surface (missing_extension_ddl) doesn’t change.