view schema/updates/1409/01.add_fm_validity_indexes.sql @ 4995:4a816ecf70de wmst-config

Added support for WMS-Time in configuring the GeoServer.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 06 Mar 2020 11:48:11 +0100
parents de190de05f67
children
line wrap: on
line source

DO LANGUAGE plpgsql
$$
DECLARE table_suffix varchar;
BEGIN
    FOREACH table_suffix IN ARRAY ARRAY[
        'bcnlat_hydro', 'bcnlat_ienc', 'boycar',
        'boylat_hydro', 'boylat_ienc', 'boysaw',
        'boyspp', 'daymar_hydro', 'daymar_ienc',
        'lights', 'rtpbcn', 'topmar', 'notmrk']
    LOOP
        EXECUTE format(
            'CREATE INDEX fairway_marks_%1$s_validity '
            'ON waterway.fairway_marks_%1$s USING GiST (validity)',
            table_suffix);
    END LOOP;
END;
$$;