<p></p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rustprooflabs/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rustprooflabs">@rustprooflabs</a> If this PR would be merged, you can still import into as many schemas as you like, but you have to do this in one go. So you have to have one configuration. Having two completely separate configurations in the same database isn't possible, you have to use separate databases for that. That all follows from the properties table always being in the same place. And that is important so it can do its job as the "root" of everything. If it would be possible to have the properties table in separate schemas, osm2pgsql could not autoconfigure from that, because osm2pgsql would not know how to look for that table. So it is on purpose that there is no way to say in which schema the properties table is.</p>
<p dir="auto">All of that is only really so for the case where you want to update the database, because that is the reason after all why we want that properties table, so updates are simpler. If you want to do several imports that don't need updates, you can always just delete the properties table after the import and before the next one. (Or at the moment, before this PR or something like it is merged, just do it and osm2pgsql will overwrite the table.) This is no different than before with the tables created by the osm2pgsql-replication script.</p>
<p dir="auto">And even if you want to do updates you can remove that properties table and do the updates manually, for backwards compatibility osm2pgsql can still run in append mode without the properties table.</p>
<p dir="auto">So you can still do all the things you could do before. But the most common case is simpler with the properties table, and with this PR slightly safer.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2085#issuecomment-1846766796">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353WOZQG4KWK5ANIG7IDYILGJXAVCNFSM6AAAAAA5EZ66OCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBWG43DMNZZGY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353QRNIVJ3MTORPAMZ3DYILGJXA5CNFSM6AAAAAA5EZ66OCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTOCNWMY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><osm2pgsql-dev/osm2pgsql/pull/2085/c1846766796</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/osm2pgsql-dev/osm2pgsql/pull/2085#issuecomment-1846766796",
"url": "https://github.com/osm2pgsql-dev/osm2pgsql/pull/2085#issuecomment-1846766796",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>