bcgov / cas-postgres

Postgres container image intended for OpenShift and general usage
Apache License 2.0
2 stars 0 forks source link

create-user-db requires a password param and is idempotent #16

Closed matthieu-foucault closed 4 years ago

matthieu-foucault commented 4 years ago

This implementation relies on psql error handling and could use the postgres_fdw extension instead to create databases only if they exist.

matthieu-foucault commented 4 years ago

This is in use in the following cas-ggircs deployment: https://cas-shipit.pathfinder.gov.bc.ca/bcgov/cas-ggircs/wksv3k-dev/deploys/175#