Changeset: 6f241efb3e06 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6f241efb3e06
Modified Files:
clients/Tests/MAL-signatures-hge.test
clients/Tests/MAL-signatures.test
clients/Tests/exports.stable.out
clients/mapiclient/dump.c
clients/odbc/tests/ODBCmetadata.c
cmake/monetdb-findpackages.cmake
cmake/monetdb-toolchain.cmake
gdk/gdk.h
gdk/gdk_aggr.c
gdk/gdk_atoms.c
gdk/gdk_bat.c
gdk/gdk_batop.c
gdk/gdk_bbp.c
gdk/gdk_hash.c
gdk/gdk_join.c
gdk/gdk_logger.c
gdk/gdk_private.h
gdk/gdk_qsort.c
gdk/gdk_search.c
gdk/gdk_utils.c
monetdb5/mal/mal_embedded.c
monetdb5/modules/mal/pp_sort.c
monetdb5/optimizer/opt_mitosis.c
sql/backends/monet5/CMakeLists.txt
sql/backends/monet5/bin_partition_by_slice.c
sql/backends/monet5/bin_partition_by_value.c
sql/backends/monet5/rel_bin.c
sql/backends/monet5/rel_bin.h
sql/backends/monet5/rel_copy.c
sql/backends/monet5/rel_physical.c
sql/backends/monet5/rel_pphash.c
sql/backends/monet5/sql.c
sql/backends/monet5/sql_gencode.c
sql/backends/monet5/sql_optimizer.c
sql/backends/monet5/sql_pp_statement.c
sql/backends/monet5/sql_statistics.c
sql/backends/monet5/vaults/parquet/parquet.c
sql/server/rel_dump.c
sql/server/rel_exp.c
sql/server/rel_optimize_others.c
sql/server/rel_optimize_proj.c
sql/server/rel_optimize_sel.c
sql/server/rel_optimizer.c
sql/server/rel_propagate.c
sql/server/rel_psm.c
sql/server/rel_schema.c
sql/server/rel_select.c
sql/server/rel_semantic.c
sql/server/rel_statistics.c
sql/server/rel_updates.c
sql/server/sql_scan.c
sql/server/sql_semantic.c
sql/storage/bat/bat_logger.c
sql/storage/sql_storage.h
sql/storage/store.c
testing/sqllogictest.py
testing/sqltest.py
tools/monetdbe/monetdbe.c
tools/mserver/mserver5.c
Branch: nested
Log Message:
Merge with default branch.
diffs (truncated from 20766 to 300 lines):
diff --git a/.clang-format b/.clang-format
--- a/.clang-format
+++ b/.clang-format
@@ -40,9 +40,11 @@ ContinuationIndentWidth: 8
EnumTrailingComma: Leave
ForEachMacros:
- BATloop
+ - CAND_LOOP
+ - CAND_LOOP_IDX
+ - TIMEOUT_LOOP
- TIMEOUT_LOOP_IDX
- TIMEOUT_LOOP_IDX_DECL
- - TIMEOUT_LOOP
IfMacros:
- TRC_CRITICAL_IF
- TRC_ERROR_IF
@@ -78,39 +80,42 @@ SpaceInEmptyParentheses: false
SpacesInParens: Never
SpacesInSquareBrackets: false
StatementAttributeLikeMacros:
- - fits_export
- gdk_export
- generator_export
- - geom_export
- - libgeom_export
- mal_export
- mapi_export
- monetdbe_export
- moptions_export
- mutils_export
- mvc_export
- - netcdf_export
- - orderidx_export
- - shp_export
- sql5_export
- sql_export
- - udf_export
TypeNames:
+ - adapter_t
- allocator
+ - allocator_state
+ - atomDesc
- ATOMIC_BASE_TYPE
+ - ATOMIC_FLAG
+ - ATOMIC_PTR_TYPE
- ATOMIC_TYPE
- bat
- BAT
- BATiter
- bit
+ - blob
+ - BBPrec
- bte
- BUN
- BUN2type
- BUN4type
- BUN8type
+ - ccand_t
+ - component_t
- date
- daytime
- dbl
+ - exception_buffer
- FILE
- flt
- gdk_callback_func
@@ -118,15 +123,20 @@ TypeNames:
- Hash
- Heap
- hge
+ - inet4
+ - inet6
- __int128_t
+ - int128_t
- int16_t
- int32_t
- int64_t
- int8_t
+ - layer_t
- lng
- log_bid
- logger
- log_id
+ - log_level_t
- Mapi
- MapiHdl
- MapiMsg
@@ -134,15 +144,19 @@ TypeNames:
- MT_Cond
- MT_Id
- MT_Lock
+ - MT_RWLock
- MT_Sema
+ - MT_TLS_t
- off_t
- oid
- old_logger
- PROPrec
- ptr
- QryCtx
+ - role_t
- RTree
- sht
+ - storage_t
- str
- stream
- stridx_t
@@ -150,11 +164,15 @@ TypeNames:
- timestamp
- time_t
- trans
+ - uhge
+ - uint128_t
- uint16_t
- uint32_t
- uint64_t
- uint8_t
- ulng
- url
+ - uuid
+ - ValPtr
- ValRecord
- var_t
diff --git a/.editorconfig b/.editorconfig
--- a/.editorconfig
+++ b/.editorconfig
@@ -24,7 +24,7 @@ indent_style = space
indent_size = 2
trim_trailing_whitespace = true
-[{clients/{mapilib,odbc},gdk}/**.{c,h}{,.in}]
+[{clients/{mapi{lib,client},odbc},common/{options,utils},gdk}/**.{c,h}{,.in}]
tab_width = 8
max_line_length = 72
diff --git a/.hgtags b/.hgtags
--- a/.hgtags
+++ b/.hgtags
@@ -859,3 +859,4 @@ b4c2936c46f28ad6b3e59ed5a1a844726d521994
691e862e16ceb7f720536063ed6d3c2e3d11e33a Dec2025_SP2_release
1d742c123cb0e622d9a137b10bfbd7e4c446fde2 Dec2025_7
1d742c123cb0e622d9a137b10bfbd7e4c446fde2 Dec2025_SP3_release
+bc5735402f969151c941c100a7552769c0e89a9a Dec2025_9
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -75,6 +75,14 @@ endif()
monetdb_configure_sizes()
include(GNUInstallDirs)
+# work around FreeBSD forcing CMAKE_INSTALL_FULL_LOCALSTATEDIR to /var
+# we keep whatever FreeBSD comes up with (/var) if the prefix is / or
+# starts with /usr or /opt, but for other prefixes (e.g. home directory)
+# we set the variable to prefix + var.
+if(CMAKE_SYSTEM_NAME MATCHES "^FreeBSD$" AND NOT "${CMAKE_INSTALL_PREFIX}"
STREQUAL "/" AND NOT "${CMAKE_INSTALL_PREFIX}" MATCHES "^/usr$" AND NOT
"${CMAKE_INSTALL_PREFIX}" MATCHES "^/usr/" AND NOT "${CMAKE_INSTALL_PREFIX}"
MATCHES "^/opt/")
+ set(CMAKE_INSTALL_FULL_LOCALSTATEDIR
"${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LOCALSTATEDIR}")
+endif()
+
# The documentation is unclear on what is the best location to install
# the configuration for the exported targets, especially when building
# the packages (deb/rpm). For now set the variable to a reasonable value
diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog file for devel
# This file is updated with Maddlog
+* Mon Sep 28 2026 Sjoerd Mullender <[email protected]>
+- The example udf extension module has been removed. For example
+ extensions, see https://www.monetdb.org/hg/MonetDB-extend/. Note that
+ the udf module was not loaded automatically on startup of the server.
+
+* Thu Sep 17 2026 Sjoerd Mullender <[email protected]>
+- It is now possible to use --set usr1_outputfile=... to specify a file
+ where the output for the SIGUSR1 signal is to be written. The file
+ is opened (created if it doesn't exist, appended to if it does) every
+ time output is generated, making it easy to rotate the file.
+
* Mon Aug 3 2026 Sjoerd Mullender <[email protected]>
- The hash function used for all internal hash tables has been changed
to xxhash which is therefore now a build requirement.
diff --git a/MonetDB.spec b/MonetDB.spec
--- a/MonetDB.spec
+++ b/MonetDB.spec
@@ -8,22 +8,29 @@
%global version 56.0.0
+# Use bcond_with to add a --with option; i.e., "without" is default.
+# Use bcond_without to add a --without option; i.e., "with" is default.
+# The --with OPTION and --without OPTION arguments can be passed on
+# the commandline of both rpmbuild and mock.
+
+# Use `--with compat` to build a set of RPMs that can be installed next
+# to (at the same time as) the non-compat release version.
%bcond_with compat
%global name MonetDB%{?with_compat:%version}
%{!?buildno: %global buildno %(date +%Y%m%d)}
-# Use bcond_with to add a --with option; i.e., "without" is default.
-# Use bcond_without to add a --without option; i.e., "with" is default.
-# The --with OPTION and --without OPTION arguments can be passed on
-# the commandline of both rpmbuild and mock.
-
-# On 64 bit architectures compile with 128 bit integer support.
+# On 64 bit architectures use `--without hugeint` to compile without 128
+# bit integer support.
%if "%{?_lib}" == "lib64"
%bcond_without hugeint
%endif
+# Use `--without selinux` to not build the MonetDB-selinux RPM. This
+# then also does not require the selinux development packages to build.
+%bcond_without selinux
+
%global release %{buildno}%{?dist}
# This package contains monetdbd which is a (long running) daemon, so
@@ -37,16 +44,13 @@
# If the EPEL repository is available, or if building for Fedora, most
# optional sub packages can be built. We indicate that here by
# setting the macro fedpkgs to 1. If the EPEL repository is not
-# available and we are not building for Fedora, we set fedpkgs to 0.
-%if %{?rhel:1}%{!?rhel:0}
+# available and we are not building for Fedora, we don't set fedpkgs.
+%if 0%{?rhel}
# RedHat Enterprise Linux (or CentOS or Scientific Linux)
%bcond_without epel
%if %{with epel}
# EPEL is enabled through the command line
%global fedpkgs 1
-%else
-# EPEL is not enabled
-%global fedpkgs 0
%endif
%else
# Not RHEL (so presumably Fedora)
@@ -58,7 +62,7 @@
# derivatives (CentOS, Scientific Linux), the geos library is not
# available. However, the geos library is available in the Extra
# Packages for Enterprise Linux (EPEL).
-%if %{fedpkgs} && (0%{?rhel} != 8)
+%if 0%{?fedpkgs} && (0%{?rhel} > 8)
# By default create the MonetDB-geom package on Fedora
%bcond_without geos
%endif
@@ -67,7 +71,7 @@
# operators. Otherwise the POSIX regex functions are used.
%bcond_without pcre
-%if %{fedpkgs}
+%if 0%{?fedpkgs}
# By default, create the MonetDB-cfitsio package.
%bcond_without fits
%endif
@@ -82,18 +86,14 @@ Group: Applications/Databases
License: MPL-2.0
URL: https://www.monetdb.org/
BugURL: https://github.com/MonetDB/MonetDB/issues
-Source:
https://www.monetdb.org/downloads/sources/Dec2025-SP3/MonetDB-%{version}.tar.bz2
+Source:
https://www.monetdb.org/downloads/sources/Dec2025-SP4/MonetDB-%{version}.tar.bz2
-# We need checkpolicy and selinux-policy-devel for the SELinux policy.
BuildRequires: systemd-rpm-macros
-BuildRequires: checkpolicy
-BuildRequires: selinux-policy-devel
-BuildRequires: hardlink
BuildRequires: cmake >= 3.12
BuildRequires: gcc
BuildRequires: bison
BuildRequires: python3-rpm-macros
-%if %{?rhel:1}%{!?rhel:0}
+%if 0%{?rhel} <= 8
# RH 7 (and for readline also 8)
BuildRequires: bzip2-devel
BuildRequires: unixODBC-devel
@@ -103,22 +103,18 @@ BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(odbc)
BuildRequires: pkgconfig(readline)
%endif
-%if %{with fits}
-BuildRequires: pkgconfig(cfitsio)
-%endif
-%if %{with geos}
-BuildRequires: geos-devel >= 3.10.0
-%endif
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(liblzma)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(openssl) >= 1.1.1
-%global with_openssl 1
+BuildRequires: pkgconfig(snappy)
%if %{with pcre}
BuildRequires: pkgconfig(libpcre2-8)
%endif
BuildRequires: pkgconfig(zlib)
+BuildRequires: pkgconfig(libzstd)
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]