Skip to content

Commit

Permalink
feat: add support for pg_trgm
Browse files Browse the repository at this point in the history
  • Loading branch information
marthendalnunes committed Feb 12, 2024
1 parent c133c95 commit f1a9db3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Postgres givethio

We needed a postgres docker image with enabled pg_cron so we wrote and publish this docker image
We needed a postgres docker image with enabled pg_cron and pg_trgm so we wrote and publish this docker image
to use it in https://github.com/Giveth/impact-graph

related PR in impact-graph https://github.com/Giveth/impact-graph/pull/658
Expand Down
2 changes: 1 addition & 1 deletion init-db/001-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Remove last line "shared_preload_libraries='citus'"
sed -i '$ d' /var/lib/postgresql/data/pgdata/postgresql.conf
cat <<EOT >> /var/lib/postgresql/data/pgdata/postgresql.conf
shared_preload_libraries='pg_cron'
shared_preload_libraries='pg_cron,pg_trgm'
cron.database_name='givethio'
EOT
# Required to load pg_cron
Expand Down

0 comments on commit f1a9db3

Please sign in to comment.