Mercurial > gemma
view schema/updates/1409/01.add_fm_validity_indexes.sql @ 5650:cb3c4ba0f052 DQR adjustments
Merged default branch
author | Sascha Wilde <wilde@sha-bang.de> |
---|---|
date | Thu, 29 Jun 2023 13:18:54 +0200 |
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; $$;