[osmosis-dev] Running osmosis on a specific Postgresql schema

Jocelyn Jaubert jocelyn.jaubert at gmail.com
Tue Sep 18 18:25:09 BST 2012


Hi,

Le 18 septembre 2012, Brett Henderson a écrit :
> > So, it is possible to specify a schema when running
> > osmosis --write-pgsql-change ?
> 
> It's not supported in the current implementation.
> 
> Is it possible to explicitly specify the schema name every time you
> specify a table?  If so, that would be possible but would require
> some significant code changes to propagate the schema name through to
> everywhere that builds query strings.

Yes, that's a good idea. You can specify the schema by pre-pending it
to table. For example, you can use:

SELECT id from schema.ways LIMIT 10;


> I'm not keen to do this myself, but I'm more than happy to accept
> patches.

In fact, it could be something similar to the thread on "DB-prefix". I
don't have time (and java expertise) to look at this now, but I might
take a look later.


Thanks,
Jocelyn



More information about the osmosis-dev mailing list