On Wed, Aug 25, 2010 at 11:33 PM, Peter Körner <osm-li...@mazdermind.de>wrote:

> Am 25.08.2010 15:26, schrieb Brett Henderson:
>
>  In short it just hasn't been a high priority to change it.
>>
> I was planning to share on FileInputStream/FileOutputStream level. You can
> feed a FileInputStream into the CopyManager as well as into a file, can't
> you?
>

Sorry, I'm not sure what you mean.  I think the only way to feed data into
the CopyManager is via an InputStream.  That InputStream can be a
FileInputStream or a piped input stream or whatever you wish.  But there are
also classes like PGCopyOutputStream so perhaps you can use those directly
to avoid using multiple threads.  It's been a while since I looked at it.


>
> Maybe want to can copy the relevant bits later to pgsnapshot.
>

Yep, sure.
_______________________________________________
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to