[osmosis-dev] DB-prefix

Brett Henderson brett at bretth.com
Tue Sep 18 12:36:40 BST 2012


Hi Christian,

On 15 September 2012 04:06, Christian H. Bruhn <brogo at arcor.de> wrote:

> Hi!
>
> It would be usefull, if you could have a prefix for all
> database-tables. So you could store original OSM-data in one set of
> tables and own data in another set of tables. So there will be e.g.
> one table osm_nodes and one own_data_nodes.
>
> The database-tasks must be modified and also the SQL-scripts must have
> a value where you can add the prefix.
>

This hasn't come up very often.  It's not a bad idea, but it's a bit of
work to implement.  The hardest part is propagating the prefix throughout
the codebase so that it can be incorporated in the dynamically generated
queries.  As always, I'm more than happy to accept a patch if it can be
done in a relatively clean way.

Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20120918/0545dc44/attachment.html>


More information about the osmosis-dev mailing list