[prev in list] [next in list] [prev in thread] [next in thread] 

List:       monetdb-checkins
Subject:    [Monetdb-checkins] MonetDB4/conf MonetDB.conf.in,,1.9,1.10
From:       Stefan Manegold <stmane () users ! sourceforge ! net>
Date:       2008-01-30 9:15:17
Message-ID: E1JK92L-0003Ct-Np () mail ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/monetdb/MonetDB4/conf
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9955/conf

Modified Files:
	MonetDB.conf.in 
Log Message:

Activated runtime switches for Mserver and mclient to enable the algebra back-end
with a default compilation of pathfinder (i.e., with the "milprint_summer" back-end
the compile-time default).

Mtest.py & mclient provide a "-G"/"--algebra" to use the algebra back-end
instead of the "milprint_summer" back-end (compile-time default).

In an interactive `mclient -lxquery` sessions, commands "\G" & "\g"
are available to enable & disable the algebra back-end, respectively.
(Mserver maintains the state per client session, i.e., after a "\G"
on the mclient console, all subsequent XQueries in the same session
will be compiled with the algebra back-end, until a "\g" is given.)

Starting the server with
`Mserver --dbinit="module(pathfinder);" --set xquery_backend=algebra`
activates the algebra back-end as default for all client sessions.
In that case, only the "\g" command in an interactive `mclient -lxquery`
session allows the user to switch to the "milprint_summer" back-end.

NOTE:
(For the time being?) Neither Mtest.py nor mclient provide a command line switch
to disable the algebra back-end; hence, when pathfinder is compiled with the
algebra back-end as default (`configure --with-default-backend=algebra`),
there is no way to (conveniently) switch to using the "milprint_summer" back-end,
except from starting the server via
`Mserver --dbinit="module(pathfinder);" --set xquery_backend=milprint_summer`,
running `pf -M` or using the "\g" command in an interactive `mclient -lx` session.


Index: MonetDB.conf.in
===================================================================
RCS file: /cvsroot/monetdb/MonetDB4/conf/MonetDB.conf.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- MonetDB.conf.in	3 Dec 2007 08:24:35 -0000	1.9
+++ MonetDB.conf.in	30 Jan 2008 09:15:14 -0000	1.10
@@ -125,6 +125,9 @@
 # XQuery Interface Section
 #=========================
 
+#default back-end: "milprint_summer" or "algebra"
+#xquery_backend=milprint_summer
+
 #output mode "dm" = pretty printed, 
 #            "xml" = enforce XML with enclosing <XQueryResult> tags
 xquery_output=dm                          


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
Monetdb-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic