Postgres schema creation failure

Hi,

I am trying to create a temporal server using temporalio/auto-setup:1.22.0 image. When I try to bring up the container on EC2 connecting to postgres running on RDS, I am getting a following error.

Unable to create SQL database.	{"error": "pq: syntax error at or near \"-\"", "logging-call-at": "handler.go:94"}

Can someone please help me on this?

I found the issue.
There was already a DB created with the name. So I was supposed to set SKIP_DB_CREATE to skip the creation of DB and only execute creation of schema. Once I set that, it started working properly.