CircleCI-Public / cimg-postgres

MIT License
8 stars 25 forks source link

Bug Report: cron.database_name is not dynamic; fixed to circle_test #94

Open JalexChen opened 1 year ago

JalexChen commented 1 year ago

Note: We also welcome PRs to fix bugs! This helps us take action faster where a bug has been identified!

For our official CircleCI Docker Convenience Image support policy, please see CircleCI docs.

This policy outlines the release, update, and deprecation policy for CircleCI Docker Convenience Images.


Describe the bug POSTGRES_DB and the sample circle_test db in custom-postgresql.conf should be set to a variable, not hard coded as circle_test.

this would also apply to other options like listen addresses and shared_preload_libraries

As a result, even setting POSTGRES_DB to something, would not enable an extension like pg_cron, because it would only be enabled for circle_test

Expected behavior changing POSTGRES_DB should also affect cron.database_name

Workarounds editing the custom-postgresql.conf manually

Screenshots and Build Links If possible, add screenshots and links to jobs to help explain your problem.

Additional context Add any other context about the problem here.