Refresh concurrently

This commit is contained in:
stirringhalo
2017-01-04 11:49:14 -05:00
parent 2ef6a19149
commit 3c4205055b
4 changed files with 10 additions and 10 deletions

View File

@@ -49,10 +49,10 @@ CREATE OR REPLACE FUNCTION refresh_osm_important_waterway_linestring() RETURNS t
$BODY$
BEGIN
RAISE LOG 'Refresh osm_waterway_linestring based tables';
REFRESH MATERIALIZED VIEW osm_important_waterway_linestring;
REFRESH MATERIALIZED VIEW osm_important_waterway_linestring_gen1;
REFRESH MATERIALIZED VIEW osm_important_waterway_linestring_gen2;
REFRESH MATERIALIZED VIEW osm_important_waterway_linestring_gen3;
REFRESH MATERIALIZED VIEW CONCURRENTLY osm_important_waterway_linestring;
REFRESH MATERIALIZED VIEW CONCURRENTLY osm_important_waterway_linestring_gen1;
REFRESH MATERIALIZED VIEW CONCURRENTLY osm_important_waterway_linestring_gen2;
REFRESH MATERIALIZED VIEW CONCURRENTLY osm_important_waterway_linestring_gen3;
RETURN null;
END;
$BODY$