Join Slack
Powered by
Does prefect still use `pg_trgm` and how is it use...
# ask-community
g
Gregory Hunt
06/01/2023, 2:33 PM
Does prefect still use
pg_trgm
and how is it used? All the starting guides just have you spin up a postgres container in docker which does not have this extension turned on?
z
Zanie
06/01/2023, 2:40 PM
Yes. We use it for text search e.g.
https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/database/migrati[…]_04_133535_d60c18774a5d_add_indexes_for_partial_name_matches.py
g
Gregory Hunt
06/01/2023, 2:57 PM
Is this used by the workflow process or the ui and what happens if this extension is not turned on?
z
Zanie
06/01/2023, 3:03 PM
It’s used by the server
Zanie
06/01/2023, 3:03 PM
If the extension is not turned on I presume that the database migrations will fail
54
Views
Open in Slack
Previous
Next