-
-
Notifications
You must be signed in to change notification settings - Fork 474
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store properties in database only later after more checks
If osm2pgsql fails during initialization, for instance because the input file or the style file was not found, it had already initialized the osm2pgsql_properties table in the database. We now write the properties table later to reduce the chances that a small error on the command line destroys an existing database this way.
- Loading branch information
Showing
1 changed file
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters