At one point this project supported custom schema names. That implementation simply renamed the schema after the post-processing completed. When replication support was added, that simple approach broke and I just removed the feature.
I think it makes sense to put that feature back in (--schema=foo with default osm), but do so in a way that works with replication. A simple placeholder w/ a find/replace in the post-processing scripts is probably the way to fix that step. The rest in Lua should be a straightforward variable.
I think I saw someone's fork that already did something like this, I'll try to find that soon. If someone sees this before then and has a good solution, PRs welcome! :100:
Details
At one point this project supported custom schema names. That implementation simply renamed the schema after the post-processing completed. When replication support was added, that simple approach broke and I just removed the feature.
I think it makes sense to put that feature back in (
--schema=foo
with defaultosm
), but do so in a way that works with replication. A simple placeholder w/ a find/replace in the post-processing scripts is probably the way to fix that step. The rest in Lua should be a straightforward variable.I think I saw someone's fork that already did something like this, I'll try to find that soon. If someone sees this before then and has a good solution, PRs welcome! :100: