-
I have tried to help out someone remotely to get osm2pgsql running. His import used a custom flex style with tablespace settings, however he ended up with just the 'planet_osm_nodes/ways/relations' tables before osm2pgsql apparently bailed out after just a few seconds. I suspect this is simply due to a wrong tablespace setup, with PostgreSQL not having full ownership of the tablespace. Now setting up a custom tablespace in PostgreSQL is indeed a little complicated, and such an error easily made. This makes me wonder if osm2pgsql has error handling for detecting if writing to a tablespace failed? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There are no specific checks for tablespaces. But you should get some kind of error message if there is a problem. Also check the PostgreSQL log for messages. And, as always, try running with |
Beta Was this translation helpful? Give feedback.
There are no specific checks for tablespaces. But you should get some kind of error message if there is a problem. Also check the PostgreSQL log for messages. And, as always, try running with
--log-level=debug
or even--log-sql
can help with diagnosing a problem.