--- test
+++ check.stable.out.int128
@@ -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"
@@ -790,8 +788,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
@@ -1044,7 +1040,7 @@
 create view sys.describe_indices as with it (id, idx) as (values (0, 'INDEX'), (4, 'IMPRINTS INDEX'), (5, 'ORDERED INDEX')) select i.name ind, s.name sch, t.name tbl, c.name col, it.idx tpe from sys.idxs as i left join sys.keys as k on i.name = k.name, sys.objects as kc, sys._columns as c, sys.schemas s, sys._tables as t, it where i.table_id = t.id and i.id = kc.id and kc.name = c.name and t.id = c.table_id and t.schema_id = s.id and k.type is null and i.type = it.id order by i.name, kc.nr;
 create view sys.describe_partition_tables as select m_sch, m_tbl, p_sch, p_tbl, case when p_raw_type is null then 'READ ONLY' when (p_raw_type = 'VALUES' and pvalues is null) or (p_raw_type = 'RANGE' and minimum is null and maximum is null and with_nulls) then 'FOR NULLS' else p_raw_type end as tpe, pvalues, minimum, maximum, with_nulls from (with tp("type", table_id) as (select ifthenelse((table_partitions."type" & 2) = 2, 'VALUES', 'RANGE'), table_partitions.table_id from sys.table_partitions), subq(m_tid, p_mid, "type", m_sch, m_tbl, p_sch, p_tbl) as (select m_t.id, p_m.id, m_t."type", m_s.name, m_t.name, p_s.name, p_m.name from sys.schemas m_s, sys._tables m_t, sys.dependencies d, sys.schemas p_s, sys._tables p_m where m_t."type" in (3, 6) and m_t.schema_id = m_s.id and m_s.name <> 'tmp' and m_t.system = false and m_t.id = d.depend_id and d.id = p_m.id and p_m.schema_id = p_s.id order by m_t.id, p_m.id) select subq.m_sch, subq.m_tbl, subq.p_sch, subq.p_tbl, tp."type" as p_raw_type, case when tp."type" = 'VALUES' then (select group_concat(vp.value, ',') from sys.value_partitions vp where vp.table_id = subq.p_mid) else null end as pvalues, case when tp."type" = 'RANGE' then (select minimum from sys.range_partitions rp where rp.table_id = subq.p_mid) else null end as minimum, case when tp."type" = 'RANGE' then (select maximum from sys.range_partitions rp where rp.table_id = subq.p_mid) else null end as maximum, case when tp."type" = 'VALUES' then exists(select vp.value from sys.value_partitions vp where vp.table_id = subq.p_mid and vp.value is null) else (select rp.with_nulls from sys.range_partitions rp where rp.table_id = subq.p_mid) end as with_nulls from subq left outer join tp on subq.m_tid = tp.table_id) as tmp_pi;
 create view sys.describe_privileges as select case when o.tpe is null and pc.privilege_code_name = 'SELECT' then 'COPY FROM' when o.tpe is null and pc.privilege_code_name = 'UPDATE' then 'COPY INTO' else o.nme end o_nme, coalesce(o.tpe, 'GLOBAL') o_tpe, pc.privilege_code_name p_nme, a.name a_nme, g.name g_nme, p.grantable grantable from sys.privileges p left join (select t.id, s.name || '.' || t.name , 'TABLE' from sys.schemas s, sys.tables t where s.id = t.schema_id union all select c.id, s.name || '.' || t.name || '.' || c.name, 'COLUMN' from sys.schemas s, sys.tables t, sys.columns c where s.id = t.schema_id and t.id = c.table_id union all select f.id, f.nme, f.tpe from sys.fully_qualified_functions f) o(id, nme, tpe) on o.id = p.obj_id, sys.privilege_codes pc, auths a, auths g where p.privileges = pc.privilege_code_id and p.auth_id = a.id and p.grantor = g.id;
-create view sys.describe_sequences as select s.name as sch, seq.name as seq, seq."start" s, peak_next_value_for(s.name, seq.name) as rs, seq."minvalue" mi, seq."maxvalue" ma, seq."increment" inc, seq."cacheinc" cache, seq."cycle" cycle from sys.sequences seq, sys.schemas s where s.id = seq.schema_id and s.name <> 'tmp' order by s.name, seq.name;
+create view sys.describe_sequences as select s.name as sch, seq.name as seq, seq."start" s, sys.peak_next_value_for(s.name, seq.name) as rs, seq."minvalue" mi, seq."maxvalue" ma, seq."increment" inc, seq."cacheinc" cache, seq."cycle" cycle from sys.sequences seq, sys.schemas s where s.id = seq.schema_id and s.name <> 'tmp' order by s.name, seq.name;
 create view sys.describe_tables as select t.id o, s.name sch, t.name tab, ts.table_type_name typ, (select ' (' || group_concat(sys.dq(c.name) || ' ' || sys.describe_type(c.type, c.type_digits, c.type_scale) || ifthenelse(c."null" = 'false', ' NOT NULL', '') , ', ') || ')' from sys._columns c where c.table_id = t.id) col, case ts.table_type_name when 'REMOTE TABLE' then sys.get_remote_table_expressions(s.name, t.name) when 'MERGE TABLE' then sys.get_merge_table_partition_expressions(t.id) when 'VIEW' then sys.schema_guard(s.name, t.name, t.query) else '' end opt from sys.schemas s, sys.table_types ts, sys.tables t where ts.table_type_name in ('TABLE', 'VIEW', 'MERGE TABLE', 'REMOTE TABLE', 'REPLICA TABLE') and t.system = false and s.id = t.schema_id and ts.table_type_id = t.type and s.name <> 'tmp';
 create view sys.describe_triggers as select s.name sch, t.name tab, tr.name tri, tr.statement def from sys.schemas s, sys.tables t, sys.triggers tr where s.id = t.schema_id and t.id = tr.table_id and not t.system;
 create view sys.describe_user_defined_types as select s.name sch, t.sqlname sql_tpe, t.systemname ext_tpe from sys.types t join sys.schemas s on t.schema_id = s.id where t.eclass = 18 and ((s.name = 'sys' and t.sqlname not in ('geometrya', 'mbr', 'url', 'inet', 'json', 'uuid', 'xml')) or (s.name <> 'sys'));
@@ -1178,21 +1174,21 @@
 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.replace(s,'"','""') || '"."' || sys.replace(t,'"','""') || '"'; end;
-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 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 hugeint, "limit" hugeint) returns table (value hugeint) external name generator.series;
 create function sys.generate_series(first hugeint, "limit" hugeint, stepsize hugeint) returns table (value hugeint) 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 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 ' || ifthenelse(bit_and(tp.type, 2) = 2, 'VALUES ', 'RANGE ') || 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;
@@ -1329,9 +1325,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;
@@ -1466,13 +1459,13 @@
 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 hugeint) 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 hugeint) returns double external name "sql"."stdev";
@@ -2010,7 +2003,7 @@
 [ "sys._tables",	"sys",	"describe_indices",	"create view sys.describe_indices as with it (id, idx) as (values (0, 'INDEX'), (4, 'IMPRINTS INDEX'), (5, 'ORDERED INDEX')) select i.name ind, s.name sch, t.name tbl, c.name col, it.idx tpe from sys.idxs as i left join sys.keys as k on i.name = k.name, sys.objects as kc, sys._columns as c, sys.schemas s, sys._tables as t, it where i.table_id = t.id and i.id = kc.id and kc.name = c.name and t.id = c.table_id and t.schema_id = s.id and k.type is null and i.type = it.id order by i.name, kc.nr;",	"VIEW",	true,	"COMMIT",	"WRITABLE"	]
 [ "sys._tables",	"sys",	"describe_partition_tables",	"create view sys.describe_partition_tables as select m_sch, m_tbl, p_sch, p_tbl, case when p_raw_type is null then 'READ ONLY' when (p_raw_type = 'VALUES' and pvalues is null) or (p_raw_type = 'RANGE' and minimum is null and maximum is null and with_nulls) then 'FOR NULLS' else p_raw_type end as tpe, pvalues, minimum, maximum, with_nulls from (with tp(\"type\", table_id) as (select ifthenelse((table_partitions.\"type\" & 2) = 2, 'VALUES', 'RANGE'), table_partitions.table_id from sys.table_partitions), subq(m_tid, p_mid, \"type\", m_sch, m_tbl, p_sch, p_tbl) as (select m_t.id, p_m.id, m_t.\"type\", m_s.name, m_t.name, p_s.name, p_m.name from sys.schemas m_s, sys._tables m_t, sys.dependencies d, sys.schemas p_s, sys._tables p_m where m_t.\"type\" in (3, 6) and m_t.schema_id = m_s.id and m_s.name <> 'tmp' and m_t.system = false and m_t.id = d.depend_id and d.id = p_m.id and p_m.schema_id = p_s.id order by m_t.id, p_m.id) select subq.m_sch, subq.m_tbl, subq.p_sch, subq.p_tbl, tp.\"type\" as p_raw_type, case when tp.\"type\" = 'VALUES' then (select group_concat(vp.value, ',') from sys.value_partitions vp where vp.table_id = subq.p_mid) else null end as pvalues, case when tp.\"type\" = 'RANGE' then (select minimum from sys.range_partitions rp where rp.table_id = subq.p_mid) else null end as minimum, case when tp.\"type\" = 'RANGE' then (select maximum from sys.range_partitions rp where rp.table_id = subq.p_mid) else null end as maximum, case when tp.\"type\" = 'VALUES' then exists(select vp.value from sys.value_partitions vp where vp.table_id = subq.p_mid and vp.value is null) else (select rp.with_nulls from sys.range_partitions rp where rp.table_id = subq.p_mid) end as with_nulls from subq left outer join tp on subq.m_tid = tp.table_id) as tmp_pi;",	"VIEW",	true,	"COMMIT",	"WRITABLE"	]
 [ "sys._tables",	"sys",	"describe_privileges",	"create view sys.describe_privileges as select case when o.tpe is null and pc.privilege_code_name = 'SELECT' then 'COPY FROM' when o.tpe is null and pc.privilege_code_name = 'UPDATE' then 'COPY INTO' else o.nme end o_nme, coalesce(o.tpe, 'GLOBAL') o_tpe, pc.privilege_code_name p_nme, a.name a_nme, g.name g_nme, p.grantable grantable from sys.privileges p left join (select t.id, s.name || '.' || t.name , 'TABLE' from sys.schemas s, sys.tables t where s.id = t.schema_id union all select c.id, s.name || '.' || t.name || '.' || c.name, 'COLUMN' from sys.schemas s, sys.tables t, sys.columns c where s.id = t.schema_id and t.id = c.table_id union all select f.id, f.nme, f.tpe from sys.fully_qualified_functions f) o(id, nme, tpe) on o.id = p.obj_id, sys.privilege_codes pc, auths a, auths g where p.privileges = pc.privilege_code_id and p.auth_id = a.id and p.grantor = g.id;",	"VIEW",	true,	"COMMIT",	"WRITABLE"	]
-[ "sys._tables",	"sys",	"describe_sequences",	"create view sys.describe_sequences as select s.name as sch, seq.name as seq, seq.\"start\" s, peak_next_value_for(s.name, seq.name) as rs, seq.\"minvalue\" mi, seq.\"maxvalue\" ma, seq.\"increment\" inc, seq.\"cacheinc\" cache, seq.\"cycle\" cycle from sys.sequences seq, sys.schemas s where s.id = seq.schema_id and s.name <> 'tmp' order by s.name, seq.name;",	"VIEW",	true,	"COMMIT",	"WRITABLE"	]
+[ "sys._tables",	"sys",	"describe_sequences",	"create view sys.describe_sequences as select s.name as sch, seq.name as seq, seq.\"start\" s, sys.peak_next_value_for(s.name, seq.name) as rs, seq.\"minvalue\" mi, seq.\"maxvalue\" ma, seq.\"increment\" inc, seq.\"cacheinc\" cache, seq.\"cycle\" cycle from sys.sequences seq, sys.schemas s where s.id = seq.schema_id and s.name <> 'tmp' order by s.name, seq.name;",	"VIEW",	true,	"COMMIT",	"WRITABLE"	]
 [ "sys._tables",	"sys",	"describe_tables",	"create view sys.describe_tables as select t.id o, s.name sch, t.name tab, ts.table_type_name typ, (select ' (' || group_concat(sys.dq(c.name) || ' ' || sys.describe_type(c.type, c.type_digits, c.type_scale) || ifthenelse(c.\"null\" = 'false', ' NOT NULL', '') , ', ') || ')' from sys._columns c where c.table_id = t.id) col, case ts.table_type_name when 'REMOTE TABLE' then sys.get_remote_table_expressions(s.name, t.name) when 'MERGE TABLE' then sys.get_merge_table_partition_expressions(t.id) when 'VIEW' then sys.schema_guard(s.name, t.name, t.query) else '' end opt from sys.schemas s, sys.table_types ts, sys.tables t where ts.table_type_name in ('TABLE', 'VIEW', 'MERGE TABLE', 'REMOTE TABLE', 'REPLICA TABLE') and t.system = false and s.id = t.schema_id and ts.table_type_id = t.type and s.name <> 'tmp';",	"VIEW",	true,	"COMMIT",	"WRITABLE"	]
 [ "sys._tables",	"sys",	"describe_triggers",	"create view sys.describe_triggers as select s.name sch, t.name tab, tr.name tri, tr.statement def from sys.schemas s, sys.tables t, sys.triggers tr where s.id = t.schema_id and t.id = tr.table_id and not t.system;",	"VIEW",	true,	"COMMIT",	"WRITABLE"	]
 [ "sys._tables",	"sys",	"describe_user_defined_types",	"create view sys.describe_user_defined_types as select s.name sch, t.sqlname sql_tpe, t.systemname ext_tpe from sys.types t join sys.schemas s on t.schema_id = s.id where t.eclass = 18 and ((s.name = 'sys' and t.sqlname not in ('geometrya', 'mbr', 'url', 'inet', 'json', 'uuid', 'xml')) or (s.name <> 'sys'));",	"VIEW",	true,	"COMMIT",	"WRITABLE"	]
@@ -3184,21 +3177,21 @@
 [ "sys.functions",	"sys",	"floor",	"SYSTEM",	"floor",	"mmath",	"Internal C",	"Scalar function",	false,	false,	false,	false,	"res_0",	"double",	53,	0,	"out",	"arg_1",	"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,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
 [ "sys.functions",	"sys",	"floor",	"SYSTEM",	"floor",	"mmath",	"Internal C",	"Scalar function",	false,	false,	false,	false,	"res_0",	"real",	24,	0,	"out",	"arg_1",	"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,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL,	NULL	]
 [ "sys.functions",	"sys",	"fqn",	"SYSTEM",	"create function sys.fqn(s string, t string) returns string begin return '\"' || sys.replace(s,'\"','\"\"') || '\".\"' || sys.replace(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	]
-[ "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 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 hugeint, \"limit\" hugeint) returns table (value hugeint) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"hugeint",	128,	0,	"out",	"first",	"hugeint",	128,	0,	"in",	"limit",	"hugeint",	128,	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 hugeint, \"limit\" hugeint, stepsize hugeint) returns table (value hugeint) external name generator.series;",	"generator",	"MAL",	"Function returning a table",	false,	false,	false,	true,	"value",	"hugeint",	128,	0,	"out",	"first",	"hugeint",	128,	0,	"in",	"limit",	"hugeint",	128,	0,	"in",	"stepsize",	"hugeint",	128,	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 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 ' || ifthenelse(bit_and(tp.type, 2) = 2, 'VALUES ', 'RANGE ') || 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	]
@@ -3792,9 +3785,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	]
@@ -4485,6 +4475,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"	]
@@ -5049,6 +5040,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"	]
@@ -5056,6 +5052,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"	]
@@ -5064,6 +5061,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"	]
@@ -5077,6 +5083,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"	]
@@ -5092,6 +5102,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"	]
@@ -5139,6 +5152,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"	]
@@ -5160,6 +5177,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"	]
@@ -5174,6 +5197,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"	]
@@ -5192,10 +5221,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"	]
@@ -5214,6 +5249,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"	]
@@ -6394,7 +6433,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
@@ -6916,7 +6955,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
@@ -7272,11 +7312,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,	14760,	"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,	14760,	"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();"	]
 % .%174,	sys.comments,	sys.comments,	sys.comments # table_name
 % %174,	id,	id,	remark # name
 % char,	int,	int,	varchar # type