Closed
Description
When using a non standard DB name, e.g. test-db
, a syntax error is thrown.
db_1 | Multiple database creation requested: test-db
db_1 | Creating user and database 'test-db'
db_1 | 2017-12-15 09:11:35.898 UTC [66] ERROR: syntax error at or near "-" at character 17
db_1 | 2017-12-15 09:11:35.898 UTC [66] STATEMENT: CREATE USER test-db;
db_1 | ERROR: syntax error at or near "-"
db_1 | LINE 1: CREATE USER test-db;
This could be avoided by using double quotes around the variables in the SQL statements.
Metadata
Metadata
Assignees
Labels
No labels