[MonetDB-users] MonetDB XQuery newbie
I'm a newbie MonetDB user and have two issues out of the box. (I have
downloaded and installed the latest stable version, on Mac OS X
10.6.3.)
1. I cannot get the command line history function to work with XQuery.
I invoke the server with:
Mserver --dbinit="module(pathfinder);"
and invoke a client with:
mclient -lx --history
However, the command line history does not work; hitting the up arrow
after a command results in "^[[A" being displayed:
shell> mclient -lx --history
Welcome to mclient, the MonetDB/XQuery interactive terminal
Type \q to quit, \? for a list of available commands
xquery>\
Hi Stephen, On Tue, Jul 27, 2010 at 04:31:00PM -0400, Stephen Thomas wrote:
I'm a newbie MonetDB user and have two issues out of the box. (I have downloaded and installed the latest stable version, on Mac OS X 10.6.3.)
1. I cannot get the command line history function to work with XQuery. I invoke the server with:
Mserver --dbinit="module(pathfinder);"
and invoke a client with:
mclient -lx --history
However, the command line history does not work; hitting the up arrow after a command results in "^[[A" being displayed:
shell> mclient -lx --history Welcome to mclient, the MonetDB/XQuery interactive terminal Type \q to quit, \? for a list of available commands xquery>\
^[[A
The features commandline editing and history depend on libreadline and hence are only available if your system provides libreadline and MonetDB's configure scripts find it. Please refer tot he configure logs to check whether libreadline (and the readline.h header file) were found on your system.
2. When loading namespaces and modules, and making an error, the error can only be corrected *after* I restart the client and server processes. For example, when I try to import a module with namespace "http://www.foo.edu" but accidentally type "http://www.food.edu", I receive an error message. This is expected. However, if I try again to import the module again, this time with the correct namespace, I get the same exact error message (complete with "http://www.food.edu"). This continues unless I restart both the client and server.
Is this a "feature", or am I doing something incorrectly?
Hm, this looks like a bug to me; a failed (aborted) module load should IMHO not leave any traces behind. Please file a bug report at http://bugs.monetdb.org/ to remind us that we have to investigate this. Thanks! Stefan
Thanks for your help, Steve
------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4199 |
participants (2)
-
Stefan Manegold
-
Stephen Thomas