fergusstrange / embedded-postgres

Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test
MIT License
817 stars 84 forks source link

Allow creating databases with dashes in the name #125

Closed mboulton-fathom closed 10 months ago

mboulton-fathom commented 10 months ago

Fixes creating databases with dashes in the name, which currently results in unable to connect to create database with custom name my-cool-database with the following error: pq: syntax error at or near "-"

fergusstrange commented 10 months ago

Suprised this hasn't come up before! Nice little fix and good to have coverage for it. Awesome work @mboulton-fathom!

fergusstrange commented 10 months ago

Realased