Feature Requests item #2256626, was opened at 2008-11-10 17:53
Message generated for change (Comment added) made by sjoerd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482471&aid=2256626&group_id=56967
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Pathfinder - loader
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Sjoerd Mullender (sjoerd)
Assigned to: Nobody/Anonymous (nobody)
Summary: PF: add document from mclient
Initial Comment:
We need an interface in XQuery so that we can add a document which is on the
client side to a collection without the client having to implement an http
server.
Currently pf:add-doc takes a URI (or filename) which means that the server
needs to go and read from some http server.
One possible solution might be to introduce an XQuery level function
declare document management function pf:add-doc-from-stream($name as string,
$collection as string, $percentage as integer)
which reads a document from the input stream. This function cannot be
loop-lifted. The query file might look something like this:
pf:add-doc-from-stream("document.xml","collection",0)
<>
<document>
...
</document>
<>
mclient would probably have to be changed somewhat to support this, but there
are probably more changes needed in the server.
----------------------------------------------------------------------
Comment By: Sjoerd Mullender (sjoerd)
Date: 2008-11-17 18:07
Message:
Peter's idea for solving the dump/restore issue is something like:
- dump database into one huge XML document describing all relevant
parameters (somewhat like the current XRPC-based dump, except everything
into one document);
- restore this using mclient -I... -C... into one document;
- use XQuery to split into multiple files on the server;
- shred these files into their final destination;
- clean up by restarting server.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482471&aid=2256626&group_id=56967
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs