Skip to content

How to update with osm2pgsql-replication? #211

@MTRNord

Description

@MTRNord

Hi I set up the database using https://github.com/rustprooflabs/pgosm-flex/blob/main/docs/MANUAL-STEPS-RUN.md and wanted to run the update of data using the replication approach using the command: osm2pgsql-replication update -d pgosm -U osmuser -- -O flex -S ./run.lua.

However doing that I get ERROR: DB copy thread failed: Database error: ERROR: update or delete on table "place_polygon" violates foreign key constraint "fk_place_polygon_nested" on table "place_polygon_nested". So I wonder what is the correct way of updating the data regularly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions