changeset 5232:40f09b2afd01 new-fwa

Try explicit type cast
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 12 May 2020 14:10:47 +0200
parents 225b2d0a1824
children d6374435111a
files pkg/controllers/fwa.go
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/controllers/fwa.go	Tue May 12 13:58:42 2020 +0200
+++ b/pkg/controllers/fwa.go	Tue May 12 14:10:47 2020 +0200
@@ -34,8 +34,8 @@
 const (
 	selectBottlenecksLimitingSQL = `
 SELECT
-  lower(validity),
-  upper(validity),
+  lower(validity)::timestamp with time zone,
+  upper(validity)::timestamp with time zone,
   limiting
 FROM
   waterway.bottlenecks