Disable concurrent refresh as its problematic.

This commit is contained in:
stirringhalo
2017-01-11 16:31:47 -05:00
parent beda951863
commit 31e0466b67
4 changed files with 19 additions and 19 deletions

View File

@@ -66,10 +66,10 @@ CREATE OR REPLACE FUNCTION waterway.refresh() RETURNS trigger AS
$BODY$
BEGIN
RAISE LOG 'Refresh waterway';
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;
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;
DELETE FROM waterway.updates;
RETURN null;
END;