Mercurial > gemma
diff pkg/geoserver/boot.go @ 4624:209b10f7bb2c geoserver_sql_views
Add config for GeoServer database session startup SQL
Prepended to setting the role in order to avoid any configuration
overwriting it.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 09 Oct 2019 18:47:13 +0200 |
parents | 970e90d3d5eb |
children | 443867b548b5 |
line wrap: on
line diff
--- a/pkg/geoserver/boot.go Wed Oct 09 16:40:18 2019 +0200 +++ b/pkg/geoserver/boot.go Wed Oct 09 18:47:13 2019 +0200 @@ -209,7 +209,8 @@ {"dbtype", databaseType}, {"Primary key metadata table", primaryKeyMetadataTbl}, {"Expose primary keys", true}, - {"Session startup SQL", startupSQL}, + {"Session startup SQL", + config.GeoServerStartupSQL() + ";" + startupSQL}, {"Session close-up SQL", closeupSQL}, {"validate connections", true}, {"Estimated extends", false},