changeset 475:699080c4baa5

Quote strings with single quote ('). double quotes are for identifiers.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 23 Aug 2018 15:36:32 +0200
parents 11d80120ed3d
children 6d451c97cd7c
files cmd/gemma/geoserver.go
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cmd/gemma/geoserver.go	Thu Aug 23 13:32:16 2018 +0200
+++ b/cmd/gemma/geoserver.go	Thu Aug 23 15:36:32 2018 +0200
@@ -21,7 +21,7 @@
 )
 
 const (
-	startupSQL = `SELECT public.setrole("${user}")`
+	startupSQL = `SELECT public.setrole('${user}')`
 	closeupSQL = `RESET ROLE`
 )