Skip to content

Dash character is not supported for Name property #4

@jeroenkoknl

Description

@jeroenkoknl

If one would create a Custom::PostgreSQLUser resource with Name property value that includes a dash character ('-') then the resource creation fails.

I think this is because the generated SQL does not use a delimited identifier or quoted identifier for user, role and database names.

E.g.

This will fail:

CREATE DATABASE database-name

Adding double quotes fixes this:

CREATE DATABASE "database-name"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions