Fix More fail safe incremental update on water_lakeline and water_point (#949) (#950)

This commit is contained in:
Frédéric Rodrigo 2020-07-22 12:17:33 +02:00 committed by GitHub
parent 098f2d1ce2
commit 13aaa404d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ BEGIN
FROM osm_water_lakeline_view
WHERE osm_water_lakeline_view.osm_id = NEW.osm_id
-- May happen in case we replay update
ON CONFLICT ON CONSTRAINT osm_water_point_pk
ON CONFLICT ON CONSTRAINT osm_water_lakeline_pk
DO NOTHING;
RETURN NULL;