Refresh concurrently

pull/131/head
stirringhalo 2017-01-04 11:49:14 -05:00
rodzic 2ef6a19149
commit 3c4205055b
4 zmienionych plików z 10 dodań i 10 usunięć

Wyświetl plik

@ -62,10 +62,10 @@ CREATE OR REPLACE FUNCTION refresh_osm_transportation_name_linestring() RETURNS
$BODY$
BEGIN
RAISE LOG 'Refresh osm_highway_linestring based tables';
REFRESH MATERIALIZED VIEW osm_transportation_name_linestring;
REFRESH MATERIALIZED VIEW osm_transportation_name_linestring_gen1;
REFRESH MATERIALIZED VIEW osm_transportation_name_linestring_gen2;
REFRESH MATERIALIZED VIEW osm_transportation_name_linestring_gen3;
REFRESH MATERIALIZED VIEW CONCURRENTLY osm_transportation_name_linestring;
REFRESH MATERIALIZED VIEW CONCURRENTLY osm_transportation_name_linestring_gen1;
REFRESH MATERIALIZED VIEW CONCURRENTLY osm_transportation_name_linestring_gen2;
REFRESH MATERIALIZED VIEW CONCURRENTLY osm_transportation_name_linestring_gen3;
RETURN null;
END;
$BODY$

Wyświetl plik

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

Wyświetl plik

@ -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$

Wyświetl plik

@ -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$