Skip to content

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

@JalexChen

Description

@JalexChen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions