[Tile-serving] [osm2pgsql-dev/osm2pgsql] Switch middle database default format to "new" (PR #2135)
Sarah Hoffmann
notifications at github.com
Fri Feb 9 08:52:12 UTC 2024
@lonvia commented on this pull request.
>
- if (!options.slim) {
- options.middle_database_format = 0;
+ options.middle_database_format = middle_database_format;
+ } else if (options.slim) {
+ // For append mode we keep old default for backwards compatibility,
+ // for create mode the new format is the default.
+ // Will be overwritten by properties setting if it exists.
+ options.middle_database_format = options.append ? 1 : 2;
Shouldn't the append case remain '0' for 'please determine from the database'?
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2135#pullrequestreview-1871913753
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/pull/2135/review/1871913753 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240209/7a26ca78/attachment.htm>
More information about the Tile-serving
mailing list