Mercurial > gemma
comparison 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 |
comparison
equal
deleted
inserted
replaced
4623:30bb2d819d57 | 4624:209b10f7bb2c |
---|---|
207 {"user", config.DBUser()}, | 207 {"user", config.DBUser()}, |
208 {"passwd", config.DBPassword()}, | 208 {"passwd", config.DBPassword()}, |
209 {"dbtype", databaseType}, | 209 {"dbtype", databaseType}, |
210 {"Primary key metadata table", primaryKeyMetadataTbl}, | 210 {"Primary key metadata table", primaryKeyMetadataTbl}, |
211 {"Expose primary keys", true}, | 211 {"Expose primary keys", true}, |
212 {"Session startup SQL", startupSQL}, | 212 {"Session startup SQL", |
213 config.GeoServerStartupSQL() + ";" + startupSQL}, | |
213 {"Session close-up SQL", closeupSQL}, | 214 {"Session close-up SQL", closeupSQL}, |
214 {"validate connections", true}, | 215 {"validate connections", true}, |
215 {"Estimated extends", false}, | 216 {"Estimated extends", false}, |
216 }, | 217 }, |
217 }, | 218 }, |