# builtin opt 	gdk_dbpath = /home/monet/testing/ab598b8591b1-6-1-2/install/var/monetdb5/dbfarm/demo
# builtin opt 	mapi_port = 50000
# builtin opt 	sql_optimizer = default_pipe
# builtin opt 	sql_debug = 0
# builtin opt 	raw_strings = false
# cmdline opt 	gdk_nr_threads = 8
# cmdline opt 	mapi_listenaddr = all
# cmdline opt 	mapi_port = 0
# cmdline opt 	mapi_usock = /tmp/mtest-70369/.s.monetdb.${PORT}
# cmdline opt 	gdk_dbpath = /home/monet/testing/ab598b8591b1-6-1-2/tests/sql/dbfarm/mTests_sql_test_emptydb-upgrade-chain
# cmdline opt 	embedded_c = true
# cmdline opt 	gdk_vm_maxsize = 8589934592
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup aggr.anyequal a bulk operator implementation is needed for     X_6:bat[:bit] := mal.multiplex("aggr":str, "anyequal":str, A1%tpe:str, X_8:bat[:str]);	#[3] (0) MANIFOLDremapMultiplex 13 <- 14 15 1 11 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup aggr.anyequal a bulk operator implementation is needed for     X_35:bat[:bit] := mal.multiplex("aggr":str, "anyequal":str, A1%tpe:str, X_37:bat[:str]);	#[14] (0) MANIFOLDremapMultiplex 52 <- 14 15 1 50 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup aggr.anyequal a bulk operator implementation is needed for     X_64:bat[:bit] := mal.multiplex("aggr":str, "anyequal":str, A1%tpe:str, X_65:bat[:str]);	#[21] (0) MANIFOLDremapMultiplex 77 <- 14 15 1 76 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup aggr.anyequal a bulk operator implementation is needed for     X_89:bat[:bit] := mal.multiplex("aggr":str, "anyequal":str, A1%tpe:str, X_91:bat[:str]);	#[28] (0) MANIFOLDremapMultiplex 98 <- 14 15 1 96 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup aggr.anyequal a bulk operator implementation is needed for     X_110:bat[:bit] := mal.multiplex("aggr":str, "anyequal":str, A1%tpe:str, X_111:bat[:str]);	#[35] (0) MANIFOLDremapMultiplex 121 <- 14 15 1 120 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup aggr.anyequal a bulk operator implementation is needed for     X_133:bat[:bit] := mal.multiplex("aggr":str, "anyequal":str, A1%tpe:str, X_135:bat[:str]);	#[42] (0) MANIFOLDremapMultiplex 140 <- 14 15 1 138 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup aggr.anyequal a bulk operator implementation is needed for     X_8:bat[:bit] := mal.multiplex("aggr":str, "anyequal":str, A1%tpe:str, X_10:bat[:str]);	#[3] (0) MANIFOLDremapMultiplex 21 <- 22 23 1 19 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup aggr.anyequal a bulk operator implementation is needed for     X_37:bat[:bit] := mal.multiplex("aggr":str, "anyequal":str, A1%tpe:str, X_38:bat[:str]);	#[13] (0) MANIFOLDremapMultiplex 46 <- 22 23 1 45 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup aggr.anyequal a bulk operator implementation is needed for     X_11:bat[:bit] := mal.multiplex("aggr":str, "anyequal":str, A1%tpe:str, X_13:bat[:str]);	#[3] (0) MANIFOLDremapMultiplex 13 <- 14 15 1 11 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup aggr.anyequal a bulk operator implementation is needed for     X_50:bat[:bit] := mal.multiplex("aggr":str, "anyequal":str, A1%tpe:str, X_52:bat[:str]);	#[19] (0) MANIFOLDremapMultiplex 64 <- 14 15 1 62 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup aggr.anyequal a bulk operator implementation is needed for     X_87:bat[:bit] := mal.multiplex("aggr":str, "anyequal":str, A1%tpe:str, X_89:bat[:str]);	#[28] (0) MANIFOLDremapMultiplex 97 <- 14 15 1 95 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup aggr.anyequal a bulk operator implementation is needed for     X_116:bat[:bit] := mal.multiplex("aggr":str, "anyequal":str, A1%tpe:str, X_117:bat[:str]);	#[37] (0) MANIFOLDremapMultiplex 124 <- 14 15 1 123 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.imprintsize a bulk operator implementation is needed for     X_0:bat[:lng] := mal.multiplex("sql":str, "imprintsize":str, X_1:bat[:str], X_2:bat[:lng]);	#[24] (0) MANIFOLDremapMultiplex 95 <- 81 96 72 73 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.hashsize a bulk operator implementation is needed for     X_3:bat[:lng] := mal.multiplex("sql":str, "hashsize":str, X_4:bat[:bit], X_2:bat[:lng]);	#[26] (0) MANIFOLDremapMultiplex 85 <- 81 86 76 73 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.heapsize a bulk operator implementation is needed for     X_5:bat[:lng] := mal.multiplex("sql":str, "heapsize":str, X_1:bat[:str], X_2:bat[:lng], X_6:bat[:lng], X_7:bat[:int]);	#[37] (0) MANIFOLDremapMultiplex 83 <- 81 84 72 73 74 75 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.columnsize a bulk operator implementation is needed for     X_8:bat[:lng] := mal.multiplex("sql":str, "columnsize":str, X_1:bat[:str], X_2:bat[:lng]);	#[38] (0) MANIFOLDremapMultiplex 80 <- 81 82 72 73 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.imprintsize a bulk operator implementation is needed for     X_0:bat[:lng] := mal.multiplex("sql":str, "imprintsize":str, X_1:bat[:str], X_2:bat[:lng]);	#[24] (0) MANIFOLDremapMultiplex 95 <- 81 96 72 73 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.hashsize a bulk operator implementation is needed for     X_3:bat[:lng] := mal.multiplex("sql":str, "hashsize":str, X_4:bat[:bit], X_2:bat[:lng]);	#[26] (0) MANIFOLDremapMultiplex 85 <- 81 86 76 73 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.heapsize a bulk operator implementation is needed for     X_5:bat[:lng] := mal.multiplex("sql":str, "heapsize":str, X_1:bat[:str], X_2:bat[:lng], X_6:bat[:lng], X_7:bat[:int]);	#[37] (0) MANIFOLDremapMultiplex 83 <- 81 84 72 73 74 75 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.columnsize a bulk operator implementation is needed for     X_8:bat[:lng] := mal.multiplex("sql":str, "columnsize":str, X_1:bat[:str], X_2:bat[:lng]);	#[38] (0) MANIFOLDremapMultiplex 80 <- 81 82 72 73 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.imprintsize a bulk operator implementation is needed for     X_0:bat[:lng] := mal.multiplex("sql":str, "imprintsize":str, X_1:bat[:str], X_2:bat[:lng]);	#[24] (0) MANIFOLDremapMultiplex 95 <- 81 96 72 73 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.hashsize a bulk operator implementation is needed for     X_3:bat[:lng] := mal.multiplex("sql":str, "hashsize":str, X_4:bat[:bit], X_2:bat[:lng]);	#[26] (0) MANIFOLDremapMultiplex 85 <- 81 86 76 73 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.heapsize a bulk operator implementation is needed for     X_5:bat[:lng] := mal.multiplex("sql":str, "heapsize":str, X_1:bat[:str], X_2:bat[:lng], X_6:bat[:lng], X_7:bat[:int]);	#[37] (0) MANIFOLDremapMultiplex 83 <- 81 84 72 73 74 75 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.columnsize a bulk operator implementation is needed for     X_8:bat[:lng] := mal.multiplex("sql":str, "columnsize":str, X_1:bat[:str], X_2:bat[:lng]);	#[38] (0) MANIFOLDremapMultiplex 80 <- 81 82 72 73 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.imprintsize a bulk operator implementation is needed for     X_0:bat[:lng] := mal.multiplex("sql":str, "imprintsize":str, X_1:bat[:str], X_2:bat[:lng]);	#[24] (0) MANIFOLDremapMultiplex 95 <- 81 96 72 73 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.hashsize a bulk operator implementation is needed for     X_3:bat[:lng] := mal.multiplex("sql":str, "hashsize":str, X_4:bat[:bit], X_2:bat[:lng]);	#[26] (0) MANIFOLDremapMultiplex 85 <- 81 86 76 73 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.heapsize a bulk operator implementation is needed for     X_5:bat[:lng] := mal.multiplex("sql":str, "heapsize":str, X_1:bat[:str], X_2:bat[:lng], X_6:bat[:lng], X_7:bat[:int]);	#[37] (0) MANIFOLDremapMultiplex 83 <- 81 84 72 73 74 75 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.columnsize a bulk operator implementation is needed for     X_8:bat[:lng] := mal.multiplex("sql":str, "columnsize":str, X_1:bat[:str], X_2:bat[:lng]);	#[38] (0) MANIFOLDremapMultiplex 80 <- 81 82 72 73 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.imprintsize a bulk operator implementation is needed for     X_0:bat[:lng] := mal.multiplex("sql":str, "imprintsize":str, X_1:bat[:str], X_2:bat[:lng]);	#[24] (0) MANIFOLDremapMultiplex 95 <- 81 96 72 73 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.hashsize a bulk operator implementation is needed for     X_3:bat[:lng] := mal.multiplex("sql":str, "hashsize":str, X_4:bat[:bit], X_2:bat[:lng]);	#[26] (0) MANIFOLDremapMultiplex 85 <- 81 86 76 73 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.heapsize a bulk operator implementation is needed for     X_5:bat[:lng] := mal.multiplex("sql":str, "heapsize":str, X_1:bat[:str], X_2:bat[:lng], X_6:bat[:lng], X_7:bat[:int]);	#[37] (0) MANIFOLDremapMultiplex 83 <- 81 84 72 73 74 75 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.columnsize a bulk operator implementation is needed for     X_8:bat[:lng] := mal.multiplex("sql":str, "columnsize":str, X_1:bat[:str], X_2:bat[:lng]);	#[38] (0) MANIFOLDremapMultiplex 80 <- 81 82 72 73 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.imprintsize a bulk operator implementation is needed for     X_0:bat[:lng] := mal.multiplex("sql":str, "imprintsize":str, X_1:bat[:str], X_2:bat[:lng]);	#[24] (0) MANIFOLDremapMultiplex 83 <- 69 84 61 62 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.hashsize a bulk operator implementation is needed for     X_3:bat[:lng] := mal.multiplex("sql":str, "hashsize":str, X_4:bat[:bit], X_2:bat[:lng]);	#[26] (0) MANIFOLDremapMultiplex 73 <- 69 74 65 62 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.heapsize a bulk operator implementation is needed for     X_5:bat[:lng] := mal.multiplex("sql":str, "heapsize":str, X_1:bat[:str], X_2:bat[:lng], X_6:bat[:lng], X_7:bat[:int]);	#[37] (0) MANIFOLDremapMultiplex 71 <- 69 72 61 62 63 64 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.columnsize a bulk operator implementation is needed for     X_8:bat[:lng] := mal.multiplex("sql":str, "columnsize":str, X_1:bat[:str], X_2:bat[:lng]);	#[38] (0) MANIFOLDremapMultiplex 68 <- 69 70 61 62 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.imprintsize a bulk operator implementation is needed for     X_0:bat[:lng] := mal.multiplex("sql":str, "imprintsize":str, X_1:bat[:str], X_2:bat[:lng]);	#[24] (0) MANIFOLDremapMultiplex 83 <- 69 84 61 62 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.hashsize a bulk operator implementation is needed for     X_3:bat[:lng] := mal.multiplex("sql":str, "hashsize":str, X_4:bat[:bit], X_2:bat[:lng]);	#[26] (0) MANIFOLDremapMultiplex 73 <- 69 74 65 62 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.heapsize a bulk operator implementation is needed for     X_5:bat[:lng] := mal.multiplex("sql":str, "heapsize":str, X_1:bat[:str], X_2:bat[:lng], X_6:bat[:lng], X_7:bat[:int]);	#[37] (0) MANIFOLDremapMultiplex 71 <- 69 72 61 62 63 64 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.columnsize a bulk operator implementation is needed for     X_8:bat[:lng] := mal.multiplex("sql":str, "columnsize":str, X_1:bat[:str], X_2:bat[:lng]);	#[38] (0) MANIFOLDremapMultiplex 68 <- 69 70 61 62 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.imprintsize a bulk operator implementation is needed for     X_0:bat[:lng] := mal.multiplex("sql":str, "imprintsize":str, X_1:bat[:str], X_2:bat[:lng]);	#[24] (0) MANIFOLDremapMultiplex 83 <- 69 84 61 62 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.hashsize a bulk operator implementation is needed for     X_3:bat[:lng] := mal.multiplex("sql":str, "hashsize":str, X_4:bat[:bit], X_2:bat[:lng]);	#[26] (0) MANIFOLDremapMultiplex 73 <- 69 74 65 62 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.heapsize a bulk operator implementation is needed for     X_5:bat[:lng] := mal.multiplex("sql":str, "heapsize":str, X_1:bat[:str], X_2:bat[:lng], X_6:bat[:lng], X_7:bat[:int]);	#[37] (0) MANIFOLDremapMultiplex 71 <- 69 72 61 62 63 64 
#2021-09-13 20:05:19: client4: OPTexpandMultiplex: !WARNING: To speedup sql.columnsize a bulk operator implementation is needed for     X_8:bat[:lng] := mal.multiplex("sql":str, "columnsize":str, X_1:bat[:str], X_2:bat[:lng]);	#[38] (0) MANIFOLDremapMultiplex 68 <- 69 70 61 62 
--- test
+++ check.stable.out
@@ -263,8 +263,6 @@
 \dSf sys."setsessiontimeout"
 \dSf sys."settimeout"
 \dSf sys."setworkerlimit"
-\dSf sys."shpattach"
-\dSf sys."shpload"
 \dSf sys."shutdown"
 \dSf sys."sq"
 \dSf sys."st_area"
@@ -785,8 +783,6 @@
 SYSTEM PROCEDURE        sys.setsessiontimeout
 SYSTEM PROCEDURE        sys.settimeout
 SYSTEM PROCEDURE        sys.setworkerlimit
-SYSTEM PROCEDURE        sys.shpattach
-SYSTEM PROCEDURE        sys.shpload
 SYSTEM PROCEDURE        sys.shutdown
 SYSTEM FUNCTION         sys.sign
 SYSTEM FUNCTION         sys.similarity
@@ -1160,22 +1156,22 @@
 create procedure fitsattach(fname string) external name fits.attach;
 create procedure fitsload(tname string) external name fits.load;
 create function sys.fqn(s string, t string) returns string begin return sys.dq(s) || '.' || sys.dq(t); end;
+create function fuse(one tinyint, two tinyint) returns smallint external name udf.fuse;
+create function fuse(one smallint, two smallint) returns integer external name udf.fuse;
 create function fuse(one integer, two integer) returns bigint external name udf.fuse;
-create function fuse(one smallint, two smallint) returns integer external name udf.fuse;
-create function fuse(one tinyint, two tinyint) returns smallint external name udf.fuse;
-create function sys.generate_series(first bigint, "limit" bigint) returns table (value bigint) external name generator.series;
-create function sys.generate_series(first bigint, "limit" bigint, stepsize bigint) returns table (value bigint) external name generator.series;
-create function sys.generate_series(first decimal(10,2), "limit" decimal(10,2), stepsize decimal(10,2)) returns table (value decimal(10,2)) external name generator.series;
-create function sys.generate_series(first double, "limit" double, stepsize double) returns table (value double) external name generator.series;
-create function sys.generate_series(first int, "limit" int) returns table (value int) external name generator.series;
-create function sys.generate_series(first int, "limit" int, stepsize int) returns table (value int) external name generator.series;
-create function sys.generate_series(first real, "limit" real, stepsize real) returns table (value real) external name generator.series;
-create function sys.generate_series(first smallint, "limit" smallint) returns table (value smallint) external name generator.series;
-create function sys.generate_series(first smallint, "limit" smallint, stepsize smallint) returns table (value smallint) external name generator.series;
+create function sys.generate_series(first tinyint, last tinyint) returns table (value tinyint) external name generator.series;
+create function sys.generate_series(first bigint, last bigint) returns table (value bigint) external name generator.series;
+create function sys.generate_series(first bigint, last bigint, stepsize bigint) returns table (value bigint) external name generator.series;
+create function sys.generate_series(first decimal(10,2), last decimal(10,2), stepsize decimal(10,2)) returns table (value decimal(10,2)) external name generator.series;
+create function sys.generate_series(first double, last double, stepsize double) returns table (value double) external name generator.series;
+create function sys.generate_series(first int, last int) returns table (value int) external name generator.series;
+create function sys.generate_series(first int, last int, stepsize int) returns table (value int) external name generator.series;
+create function sys.generate_series(first real, last real, stepsize real) returns table (value real) external name generator.series;
+create function sys.generate_series(first smallint, last smallint) returns table (value smallint) external name generator.series;
+create function sys.generate_series(first smallint, last smallint, stepsize smallint) returns table (value smallint) external name generator.series;
 create function sys.generate_series(first timestamp, "limit" timestamp, stepsize interval day) returns table (value timestamp) external name generator.series;
-create function sys.generate_series(first timestamp, "limit" timestamp, stepsize interval second) returns table (value timestamp) external name generator.series;
-create function sys.generate_series(first tinyint, "limit" tinyint) returns table (value tinyint) external name generator.series;
-create function sys.generate_series(first tinyint, "limit" tinyint, stepsize tinyint) returns table (value tinyint) external name generator.series;
+create function sys.generate_series(first timestamp, last timestamp, stepsize interval second) returns table (value timestamp) external name generator.series;
+create function sys.generate_series(first tinyint, last tinyint, stepsize tinyint) returns table (value tinyint) external name generator.series;
 create function geometrytype(geom geometry) returns string external name geom."GeometryType1";
 create function sys.get_merge_table_partition_expressions(tid int) returns string begin return select case when tp.table_id is not null then ' PARTITION BY ' || case when bit_and(tp.type, 2) = 2 then 'VALUES ' else 'RANGE ' end || case when bit_and(tp.type, 4) = 4 then 'ON ' || '(' || (select sys.dq(c.name) || ')' from sys.columns c where c.id = tp.column_id) else 'USING ' || '(' || tp.expression || ')' end else '' end from (values (tid)) t(id) left join sys.table_partitions tp on t.id = tp.table_id; end;
 create function sys.get_remote_table_expressions(s string, t string) returns string begin return select ' ON ' || sys.sq(uri) || ' WITH USER ' || sys.sq(username) || ' ENCRYPTED PASSWORD ' || sys.sq("hash") from sys.remote_table_credentials(s ||'.' || t); end;
@@ -1309,9 +1305,6 @@
 create procedure sys.settimeout("query" bigint, "session" bigint) external name clients.settimeout;
 create procedure sys.setworkerlimit("limit" int) external name clients.setworkerlimit;
 create procedure sys.setworkerlimit("sessionid" int, "limit" int) external name clients.setworkerlimit;
-create procedure shpattach(fname string) external name shp.attach;
-create procedure shpload(fid integer) external name shp.import;
-create procedure shpload(fid integer, filter geometry) external name shp.import;
 create procedure sys.shutdown(delay tinyint) external name sql.shutdown;
 create procedure sys.shutdown(delay tinyint, force bool) external name sql.shutdown;
 create function sys.sq (s string) returns string begin return ' \'' || sys.replace(s,'\'','\'\'') || '\' '; end;
@@ -1444,12 +1437,12 @@
 create window stddev_pop(val real) returns double external name "sql"."stdevp";
 create window stddev_pop(val smallint) returns double external name "sql"."stdevp";
 create window stddev_pop(val tinyint) returns double external name "sql"."stdevp";
+create aggregate stddev_samp(val tinyint) returns double external name "aggr"."stdev";
 create aggregate stddev_samp(val bigint) returns double external name "aggr"."stdev";
 create aggregate stddev_samp(val double) returns double external name "aggr"."stdev";
 create aggregate stddev_samp(val integer) returns double external name "aggr"."stdev";
 create aggregate stddev_samp(val real) returns double external name "aggr"."stdev";
 create aggregate stddev_samp(val smallint) returns double external name "aggr"."stdev";
-create aggregate stddev_samp(val tinyint) returns double external name "aggr"."stdev";
 create window stddev_samp(val bigint) returns double external name "sql"."stdev";
 create window stddev_samp(val double) returns double external name "sql"."stdev";
 create window stddev_samp(val integer) returns double external name "sql"."stdev";
@@ -3064,19 +3057,19 @@
 [ "sys.functions",	"sys",	"fuse",	"SYSTEM",	"create function fuse(one integer, two integer) returns bigint external name udf.fuse;",	"udf",	"MAL",	"Scalar function",	false,	false,	false,	true,	"result",	"bigint",	64,	0,	"out",	"one",	"int",	32,	0,	"in",	"two",	"int",	32,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
 [ "sys.functions",	"sys",	"fuse",	"SYSTEM",	"create function fuse(one smallint, two smallint) returns integer external name udf.fuse;",	"udf",	"MAL",	"Scalar function",	false,	false,	false,	true,	"result",	"int",	32,	0,	"out",	"one",	"smallint",	16,	0,	"in",	"two",	"smallint",	16,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
 [ "sys.functions",	"sys",	"fuse",	"SYSTEM",	"create function fuse(one tinyint, two tinyint) returns smallint external name udf.fuse;",	"udf",	"MAL",	"Scalar function",	false,	false,	false,	true,	"result",	"smallint",	16,	0,	"out",	"one",	"tinyint",	8,	0,	"in",	"two",	"tinyint",	8,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
-[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first bigint, \"limit\" bigint) returns table (value bigint) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"bigint",	64,	0,	"out",	"first",	"bigint",	64,	0,	"in",	"limit",	"bigint",	64,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
-[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first bigint, \"limit\" bigint, stepsize bigint) returns table (value bigint) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"bigint",	64,	0,	"out",	"first",	"bigint",	64,	0,	"in",	"limit",	"bigint",	64,	0,	"in",	"stepsize",	"bigint",	64,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
-[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first decimal(10,2), \"limit\" decimal(10,2), stepsize decimal(10,2)) returns table (value decimal(10,2)) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"decimal",	10,	2,	"out",	"first",	"decimal",	10,	2,	"in",	"limit",	"decimal",	10,	2,	"in",	"stepsize",	"decimal",	10,	2,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
-[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first double, \"limit\" double, stepsize double) returns table (value double) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"double",	53,	0,	"out",	"first",	"double",	53,	0,	"in",	"limit",	"double",	53,	0,	"in",	"stepsize",	"double",	53,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
-[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first int, \"limit\" int) returns table (value int) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"int",	32,	0,	"out",	"first",	"int",	32,	0,	"in",	"limit",	"int",	32,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
-[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first int, \"limit\" int, stepsize int) returns table (value int) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"int",	32,	0,	"out",	"first",	"int",	32,	0,	"in",	"limit",	"int",	32,	0,	"in",	"stepsize",	"int",	32,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
-[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first real, \"limit\" real, stepsize real) returns table (value real) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"real",	24,	0,	"out",	"first",	"real",	24,	0,	"in",	"limit",	"real",	24,	0,	"in",	"stepsize",	"real",	24,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
-[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first smallint, \"limit\" smallint) returns table (value smallint) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"smallint",	16,	0,	"out",	"first",	"smallint",	16,	0,	"in",	"limit",	"smallint",	16,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
-[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first smallint, \"limit\" smallint, stepsize smallint) returns table (value smallint) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"smallint",	16,	0,	"out",	"first",	"smallint",	16,	0,	"in",	"limit",	"smallint",	16,	0,	"in",	"stepsize",	"smallint",	16,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
+[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first bigint, last bigint) returns table (value bigint) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"bigint",	64,	0,	"out",	"first",	"bigint",	64,	0,	"in",	"last",	"bigint",	64,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
+[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first bigint, last bigint, stepsize bigint) returns table (value bigint) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"bigint",	64,	0,	"out",	"first",	"bigint",	64,	0,	"in",	"last",	"bigint",	64,	0,	"in",	"stepsize",	"bigint",	64,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
+[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first decimal(10,2), last decimal(10,2), stepsize decimal(10,2)) returns table (value decimal(10,2)) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"decimal",	10,	2,	"out",	"first",	"decimal",	10,	2,	"in",	"last",	"decimal",	10,	2,	"in",	"stepsize",	"decimal",	10,	2,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
+[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first double, last double, stepsize double) returns table (value double) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"double",	53,	0,	"out",	"first",	"double",	53,	0,	"in",	"last",	"double",	53,	0,	"in",	"stepsize",	"double",	53,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
+[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first int, last int) returns table (value int) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"int",	32,	0,	"out",	"first",	"int",	32,	0,	"in",	"last",	"int",	32,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
+[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first int, last int, stepsize int) returns table (value int) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"int",	32,	0,	"out",	"first",	"int",	32,	0,	"in",	"last",	"int",	32,	0,	"in",	"stepsize",	"int",	32,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
+[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first real, last real, stepsize real) returns table (value real) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"real",	24,	0,	"out",	"first",	"real",	24,	0,	"in",	"last",	"real",	24,	0,	"in",	"stepsize",	"real",	24,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
+[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first smallint, last smallint) returns table (value smallint) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"smallint",	16,	0,	"out",	"first",	"smallint",	16,	0,	"in",	"last",	"smallint",	16,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
+[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first smallint, last smallint, stepsize smallint) returns table (value smallint) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"smallint",	16,	0,	"out",	"first",	"smallint",	16,	0,	"in",	"last",	"smallint",	16,	0,	"in",	"stepsize",	"smallint",	16,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
 [ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first timestamp, \"limit\" timestamp, stepsize interval day) returns table (value timestamp) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"timestamp",	7,	0,	"out",	"first",	"timestamp",	7,	0,	"in",	"limit",	"timestamp",	7,	0,	"in",	"stepsize",	"day_interval",	4,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
-[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first timestamp, \"limit\" timestamp, stepsize interval second) returns table (value timestamp) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"timestamp",	7,	0,	"out",	"first",	"timestamp",	7,	0,	"in",	"limit",	"timestamp",	7,	0,	"in",	"stepsize",	"sec_interval",	13,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
-[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first tinyint, \"limit\" tinyint) returns table (value tinyint) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"tinyint",	8,	0,	"out",	"first",	"tinyint",	8,	0,	"in",	"limit",	"tinyint",	8,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
-[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first tinyint, \"limit\" tinyint, stepsize tinyint) returns table (value tinyint) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"tinyint",	8,	0,	"out",	"first",	"tinyint",	8,	0,	"in",	"limit",	"tinyint",	8,	0,	"in",	"stepsize",	"tinyint",	8,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
+[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first timestamp, last timestamp, stepsize interval second) returns table (value timestamp) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"timestamp",	7,	0,	"out",	"first",	"timestamp",	7,	0,	"in",	"last",	"timestamp",	7,	0,	"in",	"stepsize",	"sec_interval",	13,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
+[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first tinyint, last tinyint) returns table (value tinyint) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"tinyint",	8,	0,	"out",	"first",	"tinyint",	8,	0,	"in",	"last",	"tinyint",	8,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
+[ "sys.functions",	"sys",	"generate_series",	"SYSTEM",	"create function sys.generate_series(first tinyint, last tinyint, stepsize tinyint) returns table (value tinyint) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"tinyint",	8,	0,	"out",	"first",	"tinyint",	8,	0,	"in",	"last",	"tinyint",	8,	0,	"in",	"stepsize",	"tinyint",	8,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
 [ "sys.functions",	"sys",	"geometrytype",	"SYSTEM",	"create function geometrytype(geom geometry) returns string external name geom.\"GeometryType1\";",	"geom",	"MAL",	"Scalar function",	false,	false,	false,	true,	"result",	"clob",	0,	0,	"out",	"geom",	"geometry",	0,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
 [ "sys.functions",	"sys",	"get_merge_table_partition_expressions",	"SYSTEM",	"create function sys.get_merge_table_partition_expressions(tid int) returns string begin return select case when tp.table_id is not null then ' PARTITION BY ' || case when bit_and(tp.type, 2) = 2 then 'VALUES ' else 'RANGE ' end || case when bit_and(tp.type, 4) = 4 then 'ON ' || '(' || (select sys.dq(c.name) || ')' from sys.columns c where c.id = tp.column_id) else 'USING ' || '(' || tp.expression || ')' end else '' end from (values (tid)) t(id) left join sys.table_partitions tp on t.id = tp.table_id; end;",	"sql",	"SQL",	"Scalar function",	false,	false,	false,	true,	"result",	"clob",	0,	0,	"out",	"tid",	"int",	32,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
 [ "sys.functions",	"sys",	"get_remote_table_expressions",	"SYSTEM",	"create function sys.get_remote_table_expressions(s string, t string) returns string begin return select ' ON ' || sys.sq(uri) || ' WITH USER ' || sys.sq(username) || ' ENCRYPTED PASSWORD ' || sys.sq(\"hash\") from sys.remote_table_credentials(s ||'.' || t); end;",	"sql",	"SQL",	"Scalar function",	false,	false,	false,	true,	"result",	"clob",	0,	0,	"out",	"s",	"clob",	0,	0,	"in",	"t",	"clob",	0,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
@@ -3601,9 +3594,6 @@
 [ "sys.functions",	"sys",	"settimeout",	"SYSTEM",	"create procedure sys.settimeout(\"query\" bigint, \"session\" bigint) external name clients.settimeout;",	"clients",	"MAL",	"Procedure",	true,	false,	false,	true,	"query",	"bigint",	64,	0,	"in",	"session",	"bigint",	64,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
 [ "sys.functions",	"sys",	"setworkerlimit",	"SYSTEM",	"create procedure sys.setworkerlimit(\"limit\" int) external name clients.setworkerlimit;",	"clients",	"MAL",	"Procedure",	true,	false,	false,	true,	"limit",	"int",	32,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
 [ "sys.functions",	"sys",	"setworkerlimit",	"SYSTEM",	"create procedure sys.setworkerlimit(\"sessionid\" int, \"limit\" int) external name clients.setworkerlimit;",	"clients",	"MAL",	"Procedure",	true,	false,	false,	true,	"sessionid",	"int",	32,	0,	"in",	"limit",	"int",	32,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
-[ "sys.functions",	"sys",	"shpattach",	"SYSTEM",	"create procedure shpattach(fname string) external name shp.attach;",	"shp",	"MAL",	"Procedure",	true,	false,	false,	true,	"fname",	"clob",	0,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
-[ "sys.functions",	"sys",	"shpload",	"SYSTEM",	"create procedure shpload(fid integer) external name shp.import;",	"shp",	"MAL",	"Procedure",	true,	false,	false,	true,	"fid",	"int",	32,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
-[ "sys.functions",	"sys",	"shpload",	"SYSTEM",	"create procedure shpload(fid integer, filter geometry) external name shp.import;",	"shp",	"MAL",	"Procedure",	true,	false,	false,	true,	"fid",	"int",	32,	0,	"in",	"filter",	"geometry",	0,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
 [ "sys.functions",	"sys",	"shutdown",	"SYSTEM",	"create procedure sys.shutdown(delay tinyint) external name sql.shutdown;",	"sql",	"MAL",	"Procedure",	true,	false,	false,	true,	"delay",	"tinyint",	8,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
 [ "sys.functions",	"sys",	"shutdown",	"SYSTEM",	"create procedure sys.shutdown(delay tinyint, force bool) external name sql.shutdown;",	"sql",	"MAL",	"Procedure",	true,	false,	false,	true,	"delay",	"tinyint",	8,	0,	"in",	"force",	"boolean",	1,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
 [ "sys.functions",	"sys",	"sign",	"SYSTEM",	"sign",	"calc",	"Internal C",	"Scalar function",	false,	false,	false,	false,	"res_0",	"tinyint",	8,	0,	"out",	"arg_1",	"bigint",	64,	0,	"in",	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
@@ -4211,6 +4201,7 @@
 [ "function used by function",	"sys",	"remote_table_credentials",	"sys",	"get_remote_table_expressions",	"FUNCTION"	]
 [ "function used by function",	"sys",	"sq",	"sys",	"get_remote_table_expressions",	"FUNCTION"	]
 [ "function used by function",	"sys",	"ms_trunc",	"sys",	"ms_round",	"FUNCTION"	]
+[ "function used by function",	"sys",	"ms_trunc",	"sys",	"ms_round",	"FUNCTION"	]
 [ "function used by function",	"sys",	"dq",	"sys",	"prepare_esc",	"FUNCTION"	]
 [ "function used by function",	"sys",	"fqn",	"sys",	"schema_guard",	"FUNCTION"	]
 [ "function used by function",	"sys",	"replace_first",	"sys",	"schema_guard",	"FUNCTION"	]
@@ -4728,6 +4719,11 @@
 [ "column used by view",	"sys",	"functions",	"id",	"sys",	"dependency_columns_on_functions",	"VIEW"	]
 [ "column used by view",	"sys",	"functions",	"name",	"sys",	"dependency_columns_on_functions",	"VIEW"	]
 [ "column used by view",	"sys",	"functions",	"type",	"sys",	"dependency_columns_on_functions",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"name",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"number",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"storage",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"table_id",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"type_digits",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"columns",	"id",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"columns",	"name",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"columns",	"table_id",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
@@ -4735,6 +4731,7 @@
 [ "column used by view",	"sys",	"idxs",	"name",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"idxs",	"table_id",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"idxs",	"type",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
+[ "column used by view",	"sys",	"keys",	"id",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"keys",	"name",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"keys",	"table_id",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"objects",	"id",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
@@ -4743,6 +4740,15 @@
 [ "column used by view",	"sys",	"tables",	"id",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"tables",	"name",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"tables",	"schema_id",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
+[ "column used by view",	"sys",	"triggers",	"name",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
+[ "column used by view",	"sys",	"triggers",	"orientation",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
+[ "column used by view",	"sys",	"triggers",	"table_id",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
+[ "column used by view",	"sys",	"triggers",	"time",	"sys",	"dependency_columns_on_indexes",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"name",	"sys",	"dependency_columns_on_keys",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"table_id",	"sys",	"dependency_columns_on_keys",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"type",	"sys",	"dependency_columns_on_keys",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"type_digits",	"sys",	"dependency_columns_on_keys",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"type_scale",	"sys",	"dependency_columns_on_keys",	"VIEW"	]
 [ "column used by view",	"sys",	"columns",	"id",	"sys",	"dependency_columns_on_keys",	"VIEW"	]
 [ "column used by view",	"sys",	"columns",	"name",	"sys",	"dependency_columns_on_keys",	"VIEW"	]
 [ "column used by view",	"sys",	"columns",	"table_id",	"sys",	"dependency_columns_on_keys",	"VIEW"	]
@@ -4756,6 +4762,10 @@
 [ "column used by view",	"sys",	"tables",	"id",	"sys",	"dependency_columns_on_keys",	"VIEW"	]
 [ "column used by view",	"sys",	"tables",	"name",	"sys",	"dependency_columns_on_keys",	"VIEW"	]
 [ "column used by view",	"sys",	"tables",	"schema_id",	"sys",	"dependency_columns_on_keys",	"VIEW"	]
+[ "column used by view",	"sys",	"triggers",	"name",	"sys",	"dependency_columns_on_keys",	"VIEW"	]
+[ "column used by view",	"sys",	"triggers",	"orientation",	"sys",	"dependency_columns_on_keys",	"VIEW"	]
+[ "column used by view",	"sys",	"triggers",	"table_id",	"sys",	"dependency_columns_on_keys",	"VIEW"	]
+[ "column used by view",	"sys",	"triggers",	"time",	"sys",	"dependency_columns_on_keys",	"VIEW"	]
 [ "column used by view",	"sys",	"columns",	"id",	"sys",	"dependency_columns_on_procedures",	"VIEW"	]
 [ "column used by view",	"sys",	"columns",	"name",	"sys",	"dependency_columns_on_procedures",	"VIEW"	]
 [ "column used by view",	"sys",	"columns",	"table_id",	"sys",	"dependency_columns_on_procedures",	"VIEW"	]
@@ -4771,6 +4781,9 @@
 [ "column used by view",	"sys",	"dependencies",	"depend_id",	"sys",	"dependency_columns_on_triggers",	"VIEW"	]
 [ "column used by view",	"sys",	"dependencies",	"depend_type",	"sys",	"dependency_columns_on_triggers",	"VIEW"	]
 [ "column used by view",	"sys",	"dependencies",	"id",	"sys",	"dependency_columns_on_triggers",	"VIEW"	]
+[ "column used by view",	"sys",	"keys",	"name",	"sys",	"dependency_columns_on_triggers",	"VIEW"	]
+[ "column used by view",	"sys",	"keys",	"rkey",	"sys",	"dependency_columns_on_triggers",	"VIEW"	]
+[ "column used by view",	"sys",	"keys",	"type",	"sys",	"dependency_columns_on_triggers",	"VIEW"	]
 [ "column used by view",	"sys",	"tables",	"id",	"sys",	"dependency_columns_on_triggers",	"VIEW"	]
 [ "column used by view",	"sys",	"tables",	"name",	"sys",	"dependency_columns_on_triggers",	"VIEW"	]
 [ "column used by view",	"sys",	"tables",	"schema_id",	"sys",	"dependency_columns_on_triggers",	"VIEW"	]
@@ -4818,6 +4831,10 @@
 [ "column used by view",	"sys",	"functions",	"name",	"sys",	"dependency_functions_on_triggers",	"VIEW"	]
 [ "column used by view",	"sys",	"functions",	"schema_id",	"sys",	"dependency_functions_on_triggers",	"VIEW"	]
 [ "column used by view",	"sys",	"functions",	"type",	"sys",	"dependency_functions_on_triggers",	"VIEW"	]
+[ "column used by view",	"sys",	"keys",	"action",	"sys",	"dependency_functions_on_triggers",	"VIEW"	]
+[ "column used by view",	"sys",	"keys",	"name",	"sys",	"dependency_functions_on_triggers",	"VIEW"	]
+[ "column used by view",	"sys",	"keys",	"rkey",	"sys",	"dependency_functions_on_triggers",	"VIEW"	]
+[ "column used by view",	"sys",	"keys",	"type",	"sys",	"dependency_functions_on_triggers",	"VIEW"	]
 [ "column used by view",	"sys",	"triggers",	"id",	"sys",	"dependency_functions_on_triggers",	"VIEW"	]
 [ "column used by view",	"sys",	"triggers",	"name",	"sys",	"dependency_functions_on_triggers",	"VIEW"	]
 [ "column used by view",	"sys",	"triggers",	"table_id",	"sys",	"dependency_functions_on_triggers",	"VIEW"	]
@@ -4839,6 +4856,12 @@
 [ "column used by view",	"sys",	"tables",	"name",	"sys",	"dependency_functions_on_views",	"VIEW"	]
 [ "column used by view",	"sys",	"tables",	"schema_id",	"sys",	"dependency_functions_on_views",	"VIEW"	]
 [ "column used by view",	"sys",	"tables",	"type",	"sys",	"dependency_functions_on_views",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"default",	"sys",	"dependency_keys_on_foreignkeys",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"name",	"sys",	"dependency_keys_on_foreignkeys",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"table_id",	"sys",	"dependency_keys_on_foreignkeys",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"type",	"sys",	"dependency_keys_on_foreignkeys",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"type_digits",	"sys",	"dependency_keys_on_foreignkeys",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"type_scale",	"sys",	"dependency_keys_on_foreignkeys",	"VIEW"	]
 [ "column used by view",	"sys",	"keys",	"id",	"sys",	"dependency_keys_on_foreignkeys",	"VIEW"	]
 [ "column used by view",	"sys",	"keys",	"name",	"sys",	"dependency_keys_on_foreignkeys",	"VIEW"	]
 [ "column used by view",	"sys",	"keys",	"rkey",	"sys",	"dependency_keys_on_foreignkeys",	"VIEW"	]
@@ -4853,6 +4876,12 @@
 [ "column used by view",	"sys",	"schemas",	"name",	"sys",	"dependency_schemas_on_users",	"VIEW"	]
 [ "column used by view",	"sys",	"users",	"default_schema",	"sys",	"dependency_schemas_on_users",	"VIEW"	]
 [ "column used by view",	"sys",	"users",	"name",	"sys",	"dependency_schemas_on_users",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"default",	"sys",	"dependency_tables_on_foreignkeys",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"name",	"sys",	"dependency_tables_on_foreignkeys",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"table_id",	"sys",	"dependency_tables_on_foreignkeys",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"type",	"sys",	"dependency_tables_on_foreignkeys",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"type_digits",	"sys",	"dependency_tables_on_foreignkeys",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"type_scale",	"sys",	"dependency_tables_on_foreignkeys",	"VIEW"	]
 [ "column used by view",	"sys",	"keys",	"id",	"sys",	"dependency_tables_on_foreignkeys",	"VIEW"	]
 [ "column used by view",	"sys",	"keys",	"name",	"sys",	"dependency_tables_on_foreignkeys",	"VIEW"	]
 [ "column used by view",	"sys",	"keys",	"rkey",	"sys",	"dependency_tables_on_foreignkeys",	"VIEW"	]
@@ -4871,10 +4900,16 @@
 [ "column used by view",	"sys",	"tables",	"name",	"sys",	"dependency_tables_on_functions",	"VIEW"	]
 [ "column used by view",	"sys",	"tables",	"schema_id",	"sys",	"dependency_tables_on_functions",	"VIEW"	]
 [ "column used by view",	"sys",	"tables",	"type",	"sys",	"dependency_tables_on_functions",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"name",	"sys",	"dependency_tables_on_indexes",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"number",	"sys",	"dependency_tables_on_indexes",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"storage",	"sys",	"dependency_tables_on_indexes",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"table_id",	"sys",	"dependency_tables_on_indexes",	"VIEW"	]
+[ "column used by view",	"sys",	"_columns",	"type_digits",	"sys",	"dependency_tables_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"idxs",	"id",	"sys",	"dependency_tables_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"idxs",	"name",	"sys",	"dependency_tables_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"idxs",	"table_id",	"sys",	"dependency_tables_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"idxs",	"type",	"sys",	"dependency_tables_on_indexes",	"VIEW"	]
+[ "column used by view",	"sys",	"keys",	"id",	"sys",	"dependency_tables_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"keys",	"name",	"sys",	"dependency_tables_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"keys",	"table_id",	"sys",	"dependency_tables_on_indexes",	"VIEW"	]
 [ "column used by view",	"sys",	"tables",	"id",	"sys",	"dependency_tables_on_indexes",	"VIEW"	]
@@ -4893,6 +4928,10 @@
 [ "column used by view",	"sys",	"dependencies",	"depend_id",	"sys",	"dependency_tables_on_triggers",	"VIEW"	]
 [ "column used by view",	"sys",	"dependencies",	"depend_type",	"sys",	"dependency_tables_on_triggers",	"VIEW"	]
 [ "column used by view",	"sys",	"dependencies",	"id",	"sys",	"dependency_tables_on_triggers",	"VIEW"	]
+[ "column used by view",	"sys",	"keys",	"action",	"sys",	"dependency_tables_on_triggers",	"VIEW"	]
+[ "column used by view",	"sys",	"keys",	"name",	"sys",	"dependency_tables_on_triggers",	"VIEW"	]
+[ "column used by view",	"sys",	"keys",	"rkey",	"sys",	"dependency_tables_on_triggers",	"VIEW"	]
+[ "column used by view",	"sys",	"keys",	"type",	"sys",	"dependency_tables_on_triggers",	"VIEW"	]
 [ "column used by view",	"sys",	"tables",	"id",	"sys",	"dependency_tables_on_triggers",	"VIEW"	]
 [ "column used by view",	"sys",	"tables",	"name",	"sys",	"dependency_tables_on_triggers",	"VIEW"	]
 [ "column used by view",	"sys",	"tables",	"schema_id",	"sys",	"dependency_tables_on_triggers",	"VIEW"	]
@@ -5956,7 +5995,7 @@
 % %1,	name,	name,	time,	orientation,	event,	old_name,	new_name,	condition,	statement # name
 % char,	varchar,	varchar,	char,	char,	char,	varchar,	varchar,	varchar,	varchar # type
 % 12,	7,	21,	10,	9,	6,	0,	0,	0,	110 # length
-[ "sys.triggers",	"_tables",	"system_update_tables",	"AFTER",	"STATEMENT",	"UPDATE",	NULL,	NULL,	NULL,	"create trigger system_update_tables after update on sys._tables for each statement call sys_update_tables();"	]
+[ "sys.triggers",	NULL,	"system_update_tables",	"AFTER",	"STATEMENT",	"UPDATE",	NULL,	NULL,	NULL,	"create trigger system_update_tables after update on sys._tables for each statement call sys_update_tables();"	]
 [ "sys.triggers",	"schemas",	"system_update_schemas",	"AFTER",	"STATEMENT",	"UPDATE",	NULL,	NULL,	NULL,	"create trigger system_update_schemas after update on sys.schemas for each statement call sys_update_schemas();"	]
 % .%51,	.s,	.t,	.t,	.t,	.t,	.t,	. # table_name
 % %51,	name,	systemname,	sqlname,	digits,	scale,	radix,	eclass # name
@@ -6480,7 +6519,8 @@
 % .%2,	sys.%1,	sys.dependencies,	sys.dependencies # table_name
 % %2,	%1,	id,	depend_id # name
 % char,	bigint,	int,	int # type
-% 26,	1,	1,	1 # length
+% 26,	1,	4,	4 # length
+[ "duplicates in dependencies",	2,	5709,	5714	]
 % .%2,	sys.%1,	sys.auths # table_name
 % %2,	%1,	id # name
 % char,	bigint,	int # type
@@ -6836,11 +6876,13 @@
 % .%5,	sys.triggers,	sys.triggers,	sys.triggers,	sys.triggers,	sys.triggers,	sys.triggers,	sys.triggers,	sys.triggers,	sys.triggers,	sys.triggers,	sys.triggers # table_name
 % %5,	table_id,	id,	name,	table_id,	time,	orientation,	event,	old_name,	new_name,	condition,	statement # name
 % char,	int,	int,	varchar,	int,	smallint,	smallint,	smallint,	varchar,	varchar,	varchar,	varchar # type
-% 38,	1,	1,	0,	1,	1,	1,	1,	0,	0,	0,	0 # length
+% 38,	4,	5,	20,	4,	1,	1,	1,	0,	0,	0,	108 # length
+[ "missing reference in triggers table_id",	2050,	14755,	"system_update_tables",	2050,	1,	1,	2,	NULL,	NULL,	NULL,	"create trigger system_update_tables after update on sys._tables for each statement call sys_update_tables();"	]
 % .%14,	sys.triggers,	sys.triggers,	sys.triggers,	sys.triggers,	sys.triggers,	sys.triggers,	sys.triggers,	sys.triggers,	sys.triggers,	sys.triggers,	sys.triggers # table_name
 % %14,	table_id,	id,	name,	table_id,	time,	orientation,	event,	old_name,	new_name,	condition,	statement # name
 % char,	int,	int,	varchar,	int,	smallint,	smallint,	smallint,	varchar,	varchar,	varchar,	varchar # type
-% 38,	1,	1,	0,	1,	1,	1,	1,	0,	0,	0,	0 # length
+% 38,	4,	5,	20,	4,	1,	1,	1,	0,	0,	0,	108 # length
+[ "missing reference in triggers table_id",	2050,	14755,	"system_update_tables",	2050,	1,	1,	2,	NULL,	NULL,	NULL,	"create trigger system_update_tables after update on sys._tables for each statement call sys_update_tables();"	]
 % .%167,	sys.comments,	sys.comments,	sys.comments # table_name
 % %167,	id,	id,	remark # name
 % char,	int,	int,	varchar # type