@@ -91,6 +91,10 @@ mandatory for short options too.
9191-P, \- -port=PORT
9292: Database server port.
9393
94+ \- -schema=SCHEMA
95+ : Default for various schema settings throughout osm2pgsql (default: ` public ` ).
96+ The schema must exist in the database and be writable by the database user.
97+
9498# INPUT OPTIONS
9599
96100-r, \- -input-reader=FORMAT
@@ -164,8 +168,10 @@ mandatory for short options too.
164168 as it doesn't work well with small imports. The default is disabled.
165169
166170\- -middle-schema=SCHEMA
167- : Use PostgreSQL schema SCHEMA for all tables, indexes, and functions in
168- the middle (default is ` public ` ).
171+ : Use PostgreSQL schema SCHEMA for all tables, indexes, and functions in the
172+ middle. The schema must exist in the database and be writable by the
173+ database user. By default the schema set with ` --schema ` is used, or
174+ ` public ` if that is not set.
169175
170176\- -middle-way-node-index-id-shift=SHIFT
171177: Set ID shift for way node bucket index in middle. Experts only. See
@@ -274,8 +280,10 @@ mandatory for short options too.
274280 different projection is used for the geometries.
275281
276282\- -output-pgsql-schema=SCHEMA
277- : Use PostgreSQL schema SCHEMA for all tables, indexes, and functions in
278- the pgsql output (default is ` public ` ).
283+ : Use PostgreSQL schema SCHEMA for all tables, indexes, and functions in the
284+ pgsql output. The schema must exist in the database and be writable by the
285+ database user. By default the schema set with ` --schema ` is used, or
286+ ` public ` if that is not set.
279287
280288# EXPIRE OPTIONS
281289
0 commit comments