Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch middle database default format to "new" #2135

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

joto
Copy link
Collaborator

@joto joto commented Feb 8, 2024

No description provided.

@joto joto force-pushed the switch-middle-db-format branch 2 times, most recently from 8da984e to 8ca5732 Compare February 8, 2024 18:12
// 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;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the append case remain '0' for 'please determine from the database'?

@joto joto force-pushed the switch-middle-db-format branch from 8ca5732 to 3a460cd Compare February 9, 2024 10:45
@joto
Copy link
Collaborator Author

joto commented Feb 9, 2024

I have pushed a new version which should hopefully make it more clear what's happening.

@lonvia lonvia merged commit 5b06357 into osm2pgsql-dev:master Feb 12, 2024
26 checks passed
@joto joto deleted the switch-middle-db-format branch February 12, 2024 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants