bcgov / patroni-postgres-container

Patroni Postgres container based of the oficial Postgres images from Docker Hub
Apache License 2.0
4 stars 14 forks source link

Escape username and database name #7

Closed Sybrand closed 3 years ago

Sybrand commented 3 years ago

Escape username and database name to allow for usernames and database names with dashes in them.

e.g. Currently "my-username" will cause a failure. This fix will allow it to work.

Sybrand commented 3 years ago

Oops - I see someone else already has a pr for this!