CrunchyData / pg_featureserv

Lightweight RESTful Geospatial Feature Server for PostGIS in Go
Apache License 2.0
459 stars 91 forks source link

How can PGFS_DATABASE_TABLEINCLUDES specify multiple schemas? #124

Closed Ojaybee closed 2 years ago

Ojaybee commented 2 years ago

In the configuration file example there is a setting for "TableIncludes". The example shows this as a lits of strings ["schema01", "schema02"].

When trying to add multiple schemas as a list using an environment setting PGFS_DATABASE_TABLEINCLUDES I get the error message "PGFS_DATABASE_TABLEINCLUDES must be a string, number, boolean or null". How can multiple schemas be added to this setting?

Ojaybee commented 2 years ago

I figured it out. In the docker-compose.yml the syntax is: PGFS_DATABASE_TABLEINCLUDES: "schema01,schema02" Note the lack of spaces.