[OSM-dev] Killing osm2pgsql application while updating PostGIS. What happens?

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Sun Jan 24 11:10:28 GMT 2010


Hi all,

the questions is in the mail subject.

More to the point, killing osm2pgsql in the middle of applying a diff, 
does that leave the PostGIS data base in an inconsistent state?

Browsing the svn osm2pgsql source code it seems there a function ( 
exit_nicely() in osm2pgsql.c ) that should perform the clean up before 
shutting down osm2pgsql.

Though I didn'd find anything managing the SIGKILL event.

User:BeppeC56
http://wiki.openstreetmap.org/wiki/User:Beppec56

-- 
Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
beppec56 at openoffice.org




More information about the dev mailing list