Override the postgres__get_create_index_sql macro.
Use a post-hook.
Who will this benefit?
For pgvector users, being able to specify m and ef_construction storage parameters on hnsw indexes is crucial for performance management. Standard indexes like b-tree, GiST, and GIN also have useful parameters.
Is this your first time submitting a feature request?
Describe the feature
dbt-postgres supports specifying indexes in model configs with three components: columns, unique, and type. I would like an option to set index storage parameters. This is relevant when creating pgvector hnsw indexes, and other index types.
Describe alternatives you've considered
postgres__get_create_index_sql
macro.Who will this benefit?
For pgvector users, being able to specify
m
andef_construction
storage parameters onhnsw
indexes is crucial for performance management. Standard indexes like b-tree, GiST, and GIN also have useful parameters.Are you interested in contributing this feature?
Not at this time.
Anything else?
No response