Code example for creating custom postgres indexes via post-hook #4568
Labels
content
Improvements or additions to content
improvement
Use this when an area of the docs needs improvement as it's currently unclear
Contributions
Link to the page on docs.getdbt.com requiring updates
https://docs.getdbt.com/reference/resource-configs/postgres-configs#indexes
What part(s) of the page would you like to see updated?
Would be good to put the following advanced example from dbt-labs/dbt-core#9185 in an example box or put in a Discourse post and link to the Index section within the Postgres page.
In dbt-labs/dbt-core#9185 the poster gave this code example for using the
gin
orgist
index types from thepg_trgm
extension module using thegin_trgm_ops
operator class (opclass):Warning
I didn't actually test out the code example above. I also didn't give much thought to the name of the example columns and indexes. The cde should be tested for correctness and the names should be aligned with relevant style guides.
Additional information
No response
The text was updated successfully, but these errors were encountered: