announce-list
Threads by month
- ----- 2024 -----
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
January 2012
- 2 participants
- 2 discussions
[Monetdb-announce] Announcement: New Dec2011 Feature release of MonetDB suite
by Sjoerd Mullender 26 Jan '12
by Sjoerd Mullender 26 Jan '12
26 Jan '12
The MonetDB team at CWI/MonetDB BV is pleased to announce the
Dec2011 feature release of the MonetDB suite of programs.
More information about MonetDB can be found on our website at
http://www.monetdb.org/.
For details on this release, please see the release notes at
<http://www.monetdb.org/Downloads/ReleaseNotes>.
As usual, the download location is <http://dev.monetdb.org/downloads/>.
Dec 2011 feature release
SQL * mclient: The csv output format can now also be of the
form csv=c and csv+c where c is the column separator.
The form with csv+ produces a single header line with
column names.
* Changed a bug where the sign() function returned the
same type as its argument instead of always an
INTEGER.
* Added a fix for bug #2834, which caused weird
(failing) behaviour with PreparedStatements.
* Fixed a bug when using default values for interval
columns. Bug 2877.
* A bug was fixed where deleted rows weren't properly
accounted for in all operations. This was bug 2882.
* A bug was fixed which caused an update to an internal
table to happen too soon. The bug could be observed on
a multicore system with a query INSERT INTO t (SELECT
* FROM t) when the table t is "large enough". This was
bug 2883.
Java Module * Implemented getMetaData() method of PreparedStatement.
* Fixed an AssertionError for special results from e.g.
EXPLAIN queries.
* Fixed overflow error when batching large statements,
bug #2952
* Resolved a concurrency problem where ResultSet's
date-related getters could cause odd stack traces when
used by multiple threads at the same time, bug #2950.
* JDBC now implements JDBCv4.1 which makes it possible
to be built with Java 7 and up. JDBCv4.1 is a
maintenance release of JDBCv4, and hence can be
compiled with Java 6, although the added methods
obviously are not part of the java.sql interfaces.
* SQLExceptions thrown now carry a SQLSTATE. Until the
server starts sending correct SQLSTATEs for all
errors, server originated errors without SQLSTATE are
considered generic data exceptions (22000).
* Fixed a bug where closing ResultSets and
PreparedStatements could lead to errors on concurrent
running queries using the same Connection due to a
race condition.
* Changed version scheme of JDBC driver and MCL jar to
be more standard, from monetdb-X.Y-<thing>.jar to
monetdb-<thing>-X.Y.jar, bug #2943
* The embedded monet instance capability of
MonetConnection was removed.
* Bump JDBC version to 2.0 (Liberica). JDBC now
implements JDBCv4 which makes it possible to be built
with Java 6 and up. Java 5 and before are no longer
supported, and can use the 1.x releases of the driver.
* INTERVAL columns are now treated as decimals, since
they can have sub-second precision.
Client Package * Fix making connections with stethoscope to hosts
without monetdbd. Bug #2944.
* Fixed some bugs in the PHP interface affecting the
mapi_ping(), monetdb_insert_id() and auto_commit()
functions. Bugs #2936, #2937, #2938.
* ODBC: Fixed SQLNumResultCols and SQLDescribeCol to
return useful information after a call to SQLPrepare
and before any SQLExecute.
* mclient: The exact interpretation of the -i
(--interactive) option and the - filename argument
have changed. The - filename argument means read from
standard input and no longer implies that no \
interpretation is done on the input. Instead, \
interpretation is done if either standard input is a
terminal, or if the -i option is given. The -i option
no longer causes mclient to read from standard input.
It only means to do \ interpretation when reading from
standard input. Use the - filename argument to read
from standard input. Note that if no -s option is
specified and no filename arguments are present,
mclient still reads from standard input.
* ODBC: Improved internal query for SQLSpecialColumns.
Before, the query returned all columns taking part in
a PRIMARY KEY *and* all columns taking part in a
UNIQUE constraint. Now it returns only one or the
other set.
* ODBC: The database name is now used as the catalog
name throughout. Functions that return a catalog name
return the database name, and functions that match on
catalog name match it with the database name.
* ODBC: Implemented an easier way to create a log file
of interactions with the ODBC driver. You can now add
a connection attribute "LOGFILE=filename" to the
connection string parameter of SQLBrowseConnect and
SQLDriverConnect, and to the relevant part of the
Windows registry or odbc.ini file. This value is only
used if there is no environment variable ODBCDEBUG.
* Quoting of object names for mclient's \d command is
now more flexible and consistent with standard SQL
quoting rules, bug #2846.
* ODBC: Implemented SQLColumnPrivileges function.
* Install new program, mnc, which provides netcat
functionality, but based on MonetDB's communication
libraries
* Report full URI to database instead of just database
when available in mclient.
* The time format of the timer output can now be
controlled with an optional argument to the -i option.
ms, s and m force the time to be formatted as
milliseconds, seconds or minutes + seconds
respectively.
* ODBC: Implemented a workaround in SQLTables for bug
2908.
* Small improvement to mclient's table rendering for
tables without any rows. Previously, the column names
in the header could be squeezed to very small widths,
degrading readability.
* Python DB API connect() function now supports PEP
249-style arguments user and host, bug #2901
* mclient now checks the result of encoding conversions
using the iconv library.
* Fixed a source of crashes in mclient when a query on
the command line using the -s option is combined with
input on standard input (e.g. in the construct mclient
-s 'COPY INTO t FROM STDIN ...' < file.csv).
* Fixed bug 2897 where slow (network) reads could cause
blocks to not be fully read in one go, causing errors
in the subsequent use of those blocks. With thanks to
Rémy Chibois.
* Fixed a bug in mclient where processing queries from
files could result in ghost empty results to be
reported in the output
* Fixed Perl DBD rowcount for larger results, bug #2889
* Perl: We now distinguish properly between TABLE and
GLOBAL TEMPORARY (the latter are recognized by being
in the "tmp" schema).
* Perl: fixed a bunch of syntax errors. This fixes bug
2884. With thanks to Rémy Chibois.
* Perl: Fixed DBD::monetdb table_info and
tabletype_info. This fixes bug 2885. With thanks to
Rémy Chibois.
* mclient: fix display of varchar columns with only NULL
values.
* Fixed a bug in mclient/msqldump where an internal
error occurred during dump when there are GLOBAL
TEMPORARY tables.
MonetDB5 Server * A couple of memory leaks have been plugged.
* Introduced new variable max_clients that allows to
define how many concurrent connections are allowed to
be made against the database.
* mal_interpreter.mx Protect against concurrent
exceptions If multiple parallel blocks access the
exception variables and perform GDKfree on old
messages, then we may enter a case that one thread
attempts a second free. Simple lock-based protection
is the first line of defense.
* bpm and partitions have been moved to the attic. It is
replaced by the partition optimizer, still under
construction.
* The MAL debugger next/step operations semantics have
been fixed. The profiler also now clearly shows
entrance/exit of a MAL function.
* The dataflow optimizer uses a less strict side-effect
test for BAT new operations and better recognizes
trivial plans.
* Fixed a problem where MAL variables weren't properly
cleared before reuse of the data strucutre. This
problem could cause the data flow scheduler to
generate dependencies between instructions that didn't
actually exist, which in turn could cause circular
dependencies among instructions with deadlock as a
result. Bugs 2865 and 2888.
Merovingian * Fixed crash in monetdb when an invalid property was
retrieved using the get command, bug #2953.
* monetdb get output is now grouped by database instead
of by property
* Unlike in previous releases, 'monetdbd get mserver'
now returns the path to the mserver5 binary only for
dbfarms that have a running monetdbd, instead of only
for those that are not served by a monetdbd.
* Add nclients property that controls the maximum number
of concurrent clients allowed to access the database
* Starting monetdbd without any arguments or without
dbfarm is no longer supported. A dbfarm now must be
provided for each command.
* The control passphrase has been turned into a hash of
the password, for a more stronger authorisation model
as used by mclients. On upgrade, any existing
passphrase is converted to the hashed version of the
passphrase.
* The monetdbd controlport option has been removed in
favour of a boolean control option. On upgrade, when
controlport was set to a non-zero value and a
passphrase was set, control is set to true, or false
otherwise.
* The monetdbd discoveryport option has been removed in
favour of a boolean discovery option. On upgrade, when
discoveryport was set to a non-zero value, discovery
is set to true, or false otherwise.
* Fixed a bug where monetdbd's socket files from /tmp
were removed when a second monetdbd was attempted to
be started using the same port.
* Resolved problem where monetdbd would terminate
abnormally when databases named 'control', 'discovery'
or 'merovingian' were stopped.
* monetdbd get status now also reports the version of
the running monetdbd
* Improved response time of 'monetdb start' when the
database fails to start.
* Fixed a bug in monetdbd where starting a failing
database could incorrectly be reported as a 'running
but dead' database.
* To avoid confusion, all occurrences of merovingian
were changed into monetdbd for error messages sent to
a client.
MonetDB Common * Fixed memory detection on 32-bits Solaris systems with
more memory than can be addressed in 32-bits mode, bug
#2935
Bug Fixes
1
0
Hello there, before I start with my question I would like to thank all those developers who put so much effort on this great Open Source Database.
My name is Miguel, I´m currently using the MonetDB database for a university project and so far it´s been great. By following the documentation on the webpage I´ve build a fully functional system but I´ve encoutered one problem:
So far I´ve been unable to create an stored procedure, even after following all the instructions on the documentation page: http://www.monetdb.org/Documentation/Manuals/SQLreference/Procedures
Here´s an example I´ve tried but that does not works:
CREATE PROCEDURE SP_GET_ALL_EVENTS ()
BEGIN
SELECT * FROM DEMO.EVENTS;
END;
>From the many variation I tried with the last query I always get these errors: "Unexpected From, Expected In" or "unexpected END"
I´ve been trying many variations (INSERT, UPDATES, DELETES) and I get the same responses...
So can someone please point me what´s the error in my code? and also show me some examples codes for stored procedure creation?
Much Appreciated.
1
0