Skip to content

Commit

Permalink
Avoid segmentation fault from PostgreSQL on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
fblupi committed Sep 20, 2024
1 parent e743cf1 commit daa2702
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ development:
<<: *default
database: <%= ENV.fetch("DATABASE_NAME") { "decidim-barcelona_development" } %>
statement_limit: <%= ENV['PREPARED_STATEMENTS_LIMIT'] ? ENV['PREPARED_STATEMENTS_LIMIT'].to_i : 200 %>
gssencmode: disable

# The specified database role being used to connect to postgres.
# To create additional roles in postgres see `$ createuser --help`.
Expand Down Expand Up @@ -62,6 +63,7 @@ development:
test:
<<: *default
database: <%= ENV.fetch("DATABASE_NAME") { "decidim-barcelona_test" } %>
gssencmode: disable

# As with config/secrets.yml, you never want to store sensitive information,
# like your database password, in your source code. If your source code is
Expand Down

0 comments on commit daa2702

Please sign in to comment.