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

@@ -17,7 +17,7 @@ CREATE OR REPLACE FUNCTION refresh_osm_water_point() RETURNS trigger AS
$BODY$
BEGIN
RAISE LOG 'Refresh osm_water polygon based tables';
REFRESH MATERIALIZED VIEW osm_water_point;
REFRESH MATERIALIZED VIEW CONCURRENTLY osm_water_point;
RETURN null;
END;
$BODY$