Skip to content

Commit b35b749

Browse files
authored
Merge pull request #229 from djhoese/doc-list-query
Fix example list_query for postgresql time dimension
2 parents fa73ef2 + 4562736 commit b35b749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapcache.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<dimension name="dim1" type="postgresql" default="d1" time="true">
5858
<connection>host=localhost user=mapcache password=mapcache dbname=mapcache port=5433</connection>
5959
<validate_query>select to_char(ts,'YYYY-MM-DD"T"HH24:MI:SS"Z"') from timedims where tileset=:tileset and ts&gt;=to_timestamp(:start_timestamp) and ts&lt;=to_timestamp(:end_timestamp) order by ts desc</validate_query>
60-
<list_query>select ts from timedims where tileset=:tileset</list_query>
60+
<list_query>select to_char(ts,'YYYY-MM-DD"T"HH24:MI:SS"Z"') from timedims where tileset=:tileset</list_query>
6161
</dimension>
6262
</dimensions>
6363
</tileset>

0 commit comments

Comments
 (0)