You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 37e093d
Browse filesBrowse the repository at this point in the historyBrowse files
Replace geometry check trigger by WHERE condition on COPY
Since version 12 PostgreSQL supports a WHERE condition on the
COPY command. Use this to add a geometry check when adding data
to the database instead of the trigger we used before.
This makes the code simpler and doesn't clutter the database with
triggers.
If you have already imported a database with an older version of
osm2pgsql and want to use this new version, that will still work. But
the original triggers will still be there so there is some extra work
done for each update. Simply remove the triggers and trigger functions
from the database with commands of the form
DROP TRIGGER *_osm2pgsql_valid ON *;
DROP FUNCTION *_osm2pgsql_valid;
PostgreSQL 12 is currently the oldest database version we support.
0 commit comments