[Tile-serving] [openstreetmap/osm2pgsql] Add new command line parameter --schema that sets the default schema (PR #2037)

Jochen Topf notifications at github.com
Mon Aug 14 16:46:10 UTC 2023


This will be used as default for --middle-schema, --output-pgsql-schema, and for the different ways of setting a schema in the flex output and generalizer code.

This removes the last places where the schema was hardcoded to "public" (except as a default for this command line parameter and in some legacy gazetteer code).
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/2037

-- Commit Summary --

  * Add new command line parameter --schema that sets the default schema

-- File Changes --

    M src/command-line-parser.cpp (21)
    M src/expire-output.hpp (2)
    M src/flex-lua-expire-output.cpp (9)
    M src/flex-lua-expire-output.hpp (1)
    M src/flex-lua-table.cpp (8)
    M src/flex-lua-table.hpp (4)
    M src/flex-table.hpp (11)
    M src/gen/gen-base.cpp (2)
    M src/gen/osm2pgsql-gen.cpp (57)
    M src/options.hpp (7)
    M src/osm2pgsql.cpp (1)
    M src/output-flex.cpp (4)
    M tests/common-options.hpp (2)
    M tests/test-flex-indexes.cpp (22)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/2037.patch
https://github.com/openstreetmap/osm2pgsql/pull/2037.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/2037
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/2037 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230814/27581db3/attachment.htm>


More information about the Tile-serving mailing list