Double quote PostgreSQL table names in the backend #179
Labels
bug
Something isn't working
enhancement
New feature or request
question
Further information is requested
Projects
I faced this error after starting the server with a custom layer having non standard SQL characters (must be double quoted):
I suspect the PostgreSQL layer name MUST be escaped in the SQL query defined in the
./config/layer.yaml
file, especially when they contain non standard SQL characters such as capital letters or digits, because when I escape the layer name using double quotes, it doesn't print this error at startup.-> goes bad...
-> goes better...
Would it be possible to quote (/check for) double quote around the PostgreSQL table names in the backend?
Here's the
config.yaml
:/config/rabbits/1_differential_rabbiHousing/layer.yaml
:/config/rabbits/1_differential_rabbiHousing/stylesheet.yaml
:I'm not sure whereas the
layer
andid
in the stylesheet has to represent the same object and what they do refer to?The text was updated successfully, but these errors were encountered: