Test upgrade.SQL.py (id 6af66b28c76c) (err)
upgrade.stable.out.int128.FILTERED 2020-09-17 19:56:23.033147545 +0200upgrade.test.out.FILTERED 2020-09-17 19:56:23.105146454 +0200
1 Statistics about stdout of test 'upgrade` in directory 'sql/test/testdb-upgrade`: 1 1 Statistics about stdout of test 'upgrade` in directory 'sql/test/testdb-upgrade`: 1
2 4216 lines, 53850 words, 342981 chars in lines not matching '^$|^(\| |)#|^=` 2 ! 2 4479 lines, 56991 words, 364174 chars in lines not matching '^$|^(\| |)#|^=` 2
3 = 4216 lines, 53850 words, 342981 chars in lines not matching '^$|^(\| |)#` 3 ! 3 = 4479 lines, 56991 words, 364174 chars in lines not matching '^$|^(\| |)#` 3
4 # 4252 lines, 53995 words, 344190 chars in all lines 4 ! 4 # 4517 lines, 57145 words, 365458 chars in all lines 4
5 5 5 5
..................
# MonetDB/GIS module loaded
47 insert into sys.types values (19, 'dbl', 'double', 53, 2, 2, 11, 2000); 47 48 insert into sys.types values (19, 'dbl', 'double', 53, 2, 2, 11, 2000); 48
48 insert into sys.types values (20, 'int', 'month_interval', 32, 0, 2, 8, 2000); 48 ! 49 insert into sys.types values (20, 'int', 'month_interval', 3, 0, 10, 8, 2000); 49
49 insert into sys.types values (21, 'lng', 'sec_interval', 13, 1, 10, 9, 2000); 49 ! 50 insert into sys.types values (21, 'lng', 'day_interval', 4, 0, 10, 9, 2000); 50
50 insert into sys.types values (22, 'daytime', 'time', 7, 0, 0, 12, 2000); 50 ! 51 insert into sys.types values (22, 'lng', 'sec_interval', 13, 1, 10, 9, 2000); 51
51 insert into sys.types values (23, 'daytime', 'timetz', 7, 1, 0, 13, 2000); 51 ! 52 insert into sys.types values (23, 'daytime', 'time', 7, 0, 0, 12, 2000); 52
52 insert into sys.types values (24, 'date', 'date', 0, 0, 0, 14, 2000); 52 ! 53 insert into sys.types values (24, 'daytime', 'timetz', 7, 1, 0, 13, 2000); 53
53 insert into sys.types values (25, 'timestamp', 'timestamp', 7, 0, 0, 15, 2000); 53 ! 54 insert into sys.types values (25, 'date', 'date', 0, 0, 0, 14, 2000); 54
54 insert into sys.types values (26, 'timestamp', 'timestamptz', 7, 1, 0, 16, 2000); 54 ! 55 insert into sys.types values (26, 'timestamp', 'timestamp', 7, 0, 0, 15, 2000); 55
55 insert into sys.types values (27, 'blob', 'blob', 0, 0, 0, 5, 2000); 55 ! 56 insert into sys.types values (27, 'timestamp', 'timestamptz', 7, 1, 0, 16, 2000); 56
56 insert into sys.types values (30, 'wkb', 'geometry', 0, 0, 0, 17, 2000); 56 ! 57 insert into sys.types values (28, 'blob', 'blob', 0, 0, 0, 5, 2000); 57
57 insert into sys.types values (31, 'wkba', 'geometrya', 0, 0, 0, 18, 2000); 57 ! 58 insert into sys.types values (31, 'wkb', 'geometry', 0, 0, 0, 17, 2000); 58
58 insert into sys.types values (32, 'mbr', 'mbr', 0, 0, 0, 18, 2000); 58 ! 59 insert into sys.types values (32, 'wkba', 'geometrya', 0, 0, 0, 18, 2000); 59
+ 60 insert into sys.types values (33, 'mbr', 'mbr', 0, 0, 0, 18, 2000); 60
59 delete from sys.functions where id < 2000; 59 61 delete from sys.functions where id < 2000; 61
60 delete from sys.args where func_id not in (select id from sys.functions); 60 62 delete from sys.args where func_id not in (select id from sys.functions); 62
61 insert into sys.functions values (28, 'length', 'nitems', 'blob', 0, 1, false, false, false, 2000, true, false); 61 ! 63 insert into sys.functions values (29, 'length', 'nitems', 'blob', 0, 1, false, false, false, 2000, true, false); 63
62 insert into sys.args values (9077, 28, 'res_0', 'int', 32, 0, 0, 0); 62 ! 64 insert into sys.args values (9077, 29, 'res_0', 'int', 32, 0, 0, 0); 64
63 insert into sys.args values (9078, 28, 'arg_1', 'blob', 0, 0, 1, 1); 63 ! 65 insert into sys.args values (9078, 29, 'arg_1', 'blob', 0, 0, 1, 1); 65
64 insert into sys.functions values (29, 'octet_length', 'nitems', 'blob', 0, 1, false, false, false, 2000, true, false); 64 ! 66 insert into sys.functions values (30, 'octet_length', 'nitems', 'blob', 0, 1, false, false, false, 2000, true, false); 66
65 insert into sys.args values (9079, 29, 'res_0', 'int', 32, 0, 0, 0); 65 ! 67 insert into sys.args values (9079, 30, 'res_0', 'int', 32, 0, 0, 0); 67
66 insert into sys.args values (9080, 29, 'arg_1', 'blob', 0, 0, 1, 1); 66 ! 68 insert into sys.args values (9080, 30, 'arg_1', 'blob', 0, 0, 1, 1); 68
67 insert into sys.functions values (33, 'mbr_overlap', 'mbrOverlaps', 'geom', 0, 1, false, false, false, 2000, true, true); 67 -
68 insert into sys.args values (9081, 33, 'res_0', 'boolean', 1, 0, 0, 0); 68 -
69 insert into sys.args values (9082, 33, 'arg_1', 'geometry', 0, 0, 1, 1); 69 -
70 insert into sys.args values (9083, 33, 'arg_2', 'geometry', 0, 0, 1, 2); 70 -
71 insert into sys.functions values (34, 'mbr_overlap', 'mbrOverlaps', 'geom', 0, 1, false, false, false, 2000, true, true); 71 69 insert into sys.functions values (34, 'mbr_overlap', 'mbrOverlaps', 'geom', 0, 1, false, false, false, 2000, true, true); 69
72 insert into sys.args values (9084, 34, 'res_0', 'boolean', 1, 0, 0, 0); 72 ! 70 insert into sys.args values (9081, 34, 'res_0', 'boolean', 1, 0, 0, 0); 70
73 insert into sys.args values (9085, 34, 'arg_1', 'mbr', 0, 0, 1, 1); 73 ! 71 insert into sys.args values (9082, 34, 'arg_1', 'geometry', 0, 0, 1, 1); 71
74 insert into sys.args values (9086, 34, 'arg_2', 'mbr', 0, 0, 1, 2); 74 ! 72 insert into sys.args values (9083, 34, 'arg_2', 'geometry', 0, 0, 1, 2); 72
75 insert into sys.functions values (35, 'mbr_above', 'mbrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 75 ! 73 insert into sys.functions values (35, 'mbr_overlap', 'mbrOverlaps', 'geom', 0, 1, false, false, false, 2000, true, true); 73
76 insert into sys.args values (9087, 35, 'res_0', 'boolean', 1, 0, 0, 0); 76 ! 74 insert into sys.args values (9084, 35, 'res_0', 'boolean', 1, 0, 0, 0); 74
77 insert into sys.args values (9088, 35, 'arg_1', 'geometry', 0, 0, 1, 1); 77 ! 75 insert into sys.args values (9085, 35, 'arg_1', 'mbr', 0, 0, 1, 1); 75
78 insert into sys.args values (9089, 35, 'arg_2', 'geometry', 0, 0, 1, 2); 78 ! 76 insert into sys.args values (9086, 35, 'arg_2', 'mbr', 0, 0, 1, 2); 76
79 insert into sys.functions values (36, 'mbr_above', 'mbrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 79 77 insert into sys.functions values (36, 'mbr_above', 'mbrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 77
80 insert into sys.args values (9090, 36, 'res_0', 'boolean', 1, 0, 0, 0); 80 ! 78 insert into sys.args values (9087, 36, 'res_0', 'boolean', 1, 0, 0, 0); 78
81 insert into sys.args values (9091, 36, 'arg_1', 'mbr', 0, 0, 1, 1); 81 ! 79 insert into sys.args values (9088, 36, 'arg_1', 'geometry', 0, 0, 1, 1); 79
82 insert into sys.args values (9092, 36, 'arg_2', 'mbr', 0, 0, 1, 2); 82 ! 80 insert into sys.args values (9089, 36, 'arg_2', 'geometry', 0, 0, 1, 2); 80
83 insert into sys.functions values (37, 'mbr_below', 'mbrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 83 ! 81 insert into sys.functions values (37, 'mbr_above', 'mbrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 81
84 insert into sys.args values (9093, 37, 'res_0', 'boolean', 1, 0, 0, 0); 84 ! 82 insert into sys.args values (9090, 37, 'res_0', 'boolean', 1, 0, 0, 0); 82
85 insert into sys.args values (9094, 37, 'arg_1', 'geometry', 0, 0, 1, 1); 85 ! 83 insert into sys.args values (9091, 37, 'arg_1', 'mbr', 0, 0, 1, 1); 83
86 insert into sys.args values (9095, 37, 'arg_2', 'geometry', 0, 0, 1, 2); 86 ! 84 insert into sys.args values (9092, 37, 'arg_2', 'mbr', 0, 0, 1, 2); 84
87 insert into sys.functions values (38, 'mbr_below', 'mbrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 87 85 insert into sys.functions values (38, 'mbr_below', 'mbrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 85
88 insert into sys.args values (9096, 38, 'res_0', 'boolean', 1, 0, 0, 0); 88 ! 86 insert into sys.args values (9093, 38, 'res_0', 'boolean', 1, 0, 0, 0); 86
89 insert into sys.args values (9097, 38, 'arg_1', 'mbr', 0, 0, 1, 1); 89 ! 87 insert into sys.args values (9094, 38, 'arg_1', 'geometry', 0, 0, 1, 1); 87
90 insert into sys.args values (9098, 38, 'arg_2', 'mbr', 0, 0, 1, 2); 90 ! 88 insert into sys.args values (9095, 38, 'arg_2', 'geometry', 0, 0, 1, 2); 88
91 insert into sys.functions values (39, 'mbr_right', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 91 ! 89 insert into sys.functions values (39, 'mbr_below', 'mbrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 89
92 insert into sys.args values (9099, 39, 'res_0', 'boolean', 1, 0, 0, 0); 92 ! 90 insert into sys.args values (9096, 39, 'res_0', 'boolean', 1, 0, 0, 0); 90
93 insert into sys.args values (9100, 39, 'arg_1', 'geometry', 0, 0, 1, 1); 93 ! 91 insert into sys.args values (9097, 39, 'arg_1', 'mbr', 0, 0, 1, 1); 91
94 insert into sys.args values (9101, 39, 'arg_2', 'geometry', 0, 0, 1, 2); 94 ! 92 insert into sys.args values (9098, 39, 'arg_2', 'mbr', 0, 0, 1, 2); 92
95 insert into sys.functions values (40, 'mbr_right', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 95 93 insert into sys.functions values (40, 'mbr_right', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 93
96 insert into sys.args values (9102, 40, 'res_0', 'boolean', 1, 0, 0, 0); 96 ! 94 insert into sys.args values (9099, 40, 'res_0', 'boolean', 1, 0, 0, 0); 94
97 insert into sys.args values (9103, 40, 'arg_1', 'mbr', 0, 0, 1, 1); 97 ! 95 insert into sys.args values (9100, 40, 'arg_1', 'geometry', 0, 0, 1, 1); 95
98 insert into sys.args values (9104, 40, 'arg_2', 'mbr', 0, 0, 1, 2); 98 ! 96 insert into sys.args values (9101, 40, 'arg_2', 'geometry', 0, 0, 1, 2); 96
99 insert into sys.functions values (41, 'mbr_left', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 99 ! 97 insert into sys.functions values (41, 'mbr_right', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 97
100 insert into sys.args values (9105, 41, 'res_0', 'boolean', 1, 0, 0, 0); 100 ! 98 insert into sys.args values (9102, 41, 'res_0', 'boolean', 1, 0, 0, 0); 98
101 insert into sys.args values (9106, 41, 'arg_1', 'geometry', 0, 0, 1, 1); 101 ! 99 insert into sys.args values (9103, 41, 'arg_1', 'mbr', 0, 0, 1, 1); 99
102 insert into sys.args values (9107, 41, 'arg_2', 'geometry', 0, 0, 1, 2); 102 ! 100 insert into sys.args values (9104, 41, 'arg_2', 'mbr', 0, 0, 1, 2); 100
103 insert into sys.functions values (42, 'mbr_left', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 103 101 insert into sys.functions values (42, 'mbr_left', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 101
104 insert into sys.args values (9108, 42, 'res_0', 'boolean', 1, 0, 0, 0); 104 ! 102 insert into sys.args values (9105, 42, 'res_0', 'boolean', 1, 0, 0, 0); 102
105 insert into sys.args values (9109, 42, 'arg_1', 'mbr', 0, 0, 1, 1); 105 ! 103 insert into sys.args values (9106, 42, 'arg_1', 'geometry', 0, 0, 1, 1); 103
106 insert into sys.args values (9110, 42, 'arg_2', 'mbr', 0, 0, 1, 2); 106 ! 104 insert into sys.args values (9107, 42, 'arg_2', 'geometry', 0, 0, 1, 2); 104
107 insert into sys.functions values (43, 'mbr_overlap_or_above', 'mbrOverlapOrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 107 ! 105 insert into sys.functions values (43, 'mbr_left', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 105
108 insert into sys.args values (9111, 43, 'res_0', 'boolean', 1, 0, 0, 0); 108 ! 106 insert into sys.args values (9108, 43, 'res_0', 'boolean', 1, 0, 0, 0); 106
109 insert into sys.args values (9112, 43, 'arg_1', 'geometry', 0, 0, 1, 1); 109 ! 107 insert into sys.args values (9109, 43, 'arg_1', 'mbr', 0, 0, 1, 1); 107
110 insert into sys.args values (9113, 43, 'arg_2', 'geometry', 0, 0, 1, 2); 110 ! 108 insert into sys.args values (9110, 43, 'arg_2', 'mbr', 0, 0, 1, 2); 108
111 insert into sys.functions values (44, 'mbr_overlap_or_above', 'mbrOverlapOrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 111 109 insert into sys.functions values (44, 'mbr_overlap_or_above', 'mbrOverlapOrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 109
112 insert into sys.args values (9114, 44, 'res_0', 'boolean', 1, 0, 0, 0); 112 ! 110 insert into sys.args values (9111, 44, 'res_0', 'boolean', 1, 0, 0, 0); 110
113 insert into sys.args values (9115, 44, 'arg_1', 'mbr', 0, 0, 1, 1); 113 ! 111 insert into sys.args values (9112, 44, 'arg_1', 'geometry', 0, 0, 1, 1); 111
114 insert into sys.args values (9116, 44, 'arg_2', 'mbr', 0, 0, 1, 2); 114 ! 112 insert into sys.args values (9113, 44, 'arg_2', 'geometry', 0, 0, 1, 2); 112
115 insert into sys.functions values (45, 'mbr_overlap_or_below', 'mbrOverlapOrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 115 ! 113 insert into sys.functions values (45, 'mbr_overlap_or_above', 'mbrOverlapOrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 113
116 insert into sys.args values (9117, 45, 'res_0', 'boolean', 1, 0, 0, 0); 116 ! 114 insert into sys.args values (9114, 45, 'res_0', 'boolean', 1, 0, 0, 0); 114
117 insert into sys.args values (9118, 45, 'arg_1', 'geometry', 0, 0, 1, 1); 117 ! 115 insert into sys.args values (9115, 45, 'arg_1', 'mbr', 0, 0, 1, 1); 115
118 insert into sys.args values (9119, 45, 'arg_2', 'geometry', 0, 0, 1, 2); 118 ! 116 insert into sys.args values (9116, 45, 'arg_2', 'mbr', 0, 0, 1, 2); 116
119 insert into sys.functions values (46, 'mbr_overlap_or_below', 'mbrOverlapOrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 119 117 insert into sys.functions values (46, 'mbr_overlap_or_below', 'mbrOverlapOrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 117
120 insert into sys.args values (9120, 46, 'res_0', 'boolean', 1, 0, 0, 0); 120 ! 118 insert into sys.args values (9117, 46, 'res_0', 'boolean', 1, 0, 0, 0); 118
121 insert into sys.args values (9121, 46, 'arg_1', 'mbr', 0, 0, 1, 1); 121 ! 119 insert into sys.args values (9118, 46, 'arg_1', 'geometry', 0, 0, 1, 1); 119
122 insert into sys.args values (9122, 46, 'arg_2', 'mbr', 0, 0, 1, 2); 122 ! 120 insert into sys.args values (9119, 46, 'arg_2', 'geometry', 0, 0, 1, 2); 120
123 insert into sys.functions values (47, 'mbr_overlap_or_right', 'mbrOverlapOrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 123 ! 121 insert into sys.functions values (47, 'mbr_overlap_or_below', 'mbrOverlapOrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 121
124 insert into sys.args values (9123, 47, 'res_0', 'boolean', 1, 0, 0, 0); 124 ! 122 insert into sys.args values (9120, 47, 'res_0', 'boolean', 1, 0, 0, 0); 122
125 insert into sys.args values (9124, 47, 'arg_1', 'geometry', 0, 0, 1, 1); 125 ! 123 insert into sys.args values (9121, 47, 'arg_1', 'mbr', 0, 0, 1, 1); 123
126 insert into sys.args values (9125, 47, 'arg_2', 'geometry', 0, 0, 1, 2); 126 ! 124 insert into sys.args values (9122, 47, 'arg_2', 'mbr', 0, 0, 1, 2); 124
127 insert into sys.functions values (48, 'mbr_overlap_or_right', 'mbrOverlapOrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 127 125 insert into sys.functions values (48, 'mbr_overlap_or_right', 'mbrOverlapOrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 125
128 insert into sys.args values (9126, 48, 'res_0', 'boolean', 1, 0, 0, 0); 128 ! 126 insert into sys.args values (9123, 48, 'res_0', 'boolean', 1, 0, 0, 0); 126
129 insert into sys.args values (9127, 48, 'arg_1', 'mbr', 0, 0, 1, 1); 129 ! 127 insert into sys.args values (9124, 48, 'arg_1', 'geometry', 0, 0, 1, 1); 127
130 insert into sys.args values (9128, 48, 'arg_2', 'mbr', 0, 0, 1, 2); 130 ! 128 insert into sys.args values (9125, 48, 'arg_2', 'geometry', 0, 0, 1, 2); 128
131 insert into sys.functions values (49, 'mbr_overlap_or_left', 'mbrOverlapOrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 131 ! 129 insert into sys.functions values (49, 'mbr_overlap_or_right', 'mbrOverlapOrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 129
132 insert into sys.args values (9129, 49, 'res_0', 'boolean', 1, 0, 0, 0); 132 ! 130 insert into sys.args values (9126, 49, 'res_0', 'boolean', 1, 0, 0, 0); 130
133 insert into sys.args values (9130, 49, 'arg_1', 'geometry', 0, 0, 1, 1); 133 ! 131 insert into sys.args values (9127, 49, 'arg_1', 'mbr', 0, 0, 1, 1); 131
134 insert into sys.args values (9131, 49, 'arg_2', 'geometry', 0, 0, 1, 2); 134 ! 132 insert into sys.args values (9128, 49, 'arg_2', 'mbr', 0, 0, 1, 2); 132
135 insert into sys.functions values (50, 'mbr_overlap_or_left', 'mbrOverlapOrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 135 133 insert into sys.functions values (50, 'mbr_overlap_or_left', 'mbrOverlapOrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 133
136 insert into sys.args values (9132, 50, 'res_0', 'boolean', 1, 0, 0, 0); 136 ! 134 insert into sys.args values (9129, 50, 'res_0', 'boolean', 1, 0, 0, 0); 134
137 insert into sys.args values (9133, 50, 'arg_1', 'mbr', 0, 0, 1, 1); 137 ! 135 insert into sys.args values (9130, 50, 'arg_1', 'geometry', 0, 0, 1, 1); 135
138 insert into sys.args values (9134, 50, 'arg_2', 'mbr', 0, 0, 1, 2); 138 ! 136 insert into sys.args values (9131, 50, 'arg_2', 'geometry', 0, 0, 1, 2); 136
139 insert into sys.functions values (51, 'mbr_contains', 'mbrContains', 'geom', 0, 1, false, false, false, 2000, true, true); 139 ! 137 insert into sys.functions values (51, 'mbr_overlap_or_left', 'mbrOverlapOrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 137
140 insert into sys.args values (9135, 51, 'res_0', 'boolean', 1, 0, 0, 0); 140 ! 138 insert into sys.args values (9132, 51, 'res_0', 'boolean', 1, 0, 0, 0); 138
141 insert into sys.args values (9136, 51, 'arg_1', 'geometry', 0, 0, 1, 1); 141 ! 139 insert into sys.args values (9133, 51, 'arg_1', 'mbr', 0, 0, 1, 1); 139
142 insert into sys.args values (9137, 51, 'arg_2', 'geometry', 0, 0, 1, 2); 142 ! 140 insert into sys.args values (9134, 51, 'arg_2', 'mbr', 0, 0, 1, 2); 140
143 insert into sys.functions values (52, 'mbr_contains', 'mbrContains', 'geom', 0, 1, false, false, false, 2000, true, true); 143 141 insert into sys.functions values (52, 'mbr_contains', 'mbrContains', 'geom', 0, 1, false, false, false, 2000, true, true); 141
144 insert into sys.args values (9138, 52, 'res_0', 'boolean', 1, 0, 0, 0); 144 ! 142 insert into sys.args values (9135, 52, 'res_0', 'boolean', 1, 0, 0, 0); 142
145 insert into sys.args values (9139, 52, 'arg_1', 'mbr', 0, 0, 1, 1); 145 ! 143 insert into sys.args values (9136, 52, 'arg_1', 'geometry', 0, 0, 1, 1); 143
146 insert into sys.args values (9140, 52, 'arg_2', 'mbr', 0, 0, 1, 2); 146 ! 144 insert into sys.args values (9137, 52, 'arg_2', 'geometry', 0, 0, 1, 2); 144
147 insert into sys.functions values (53, 'mbr_contained', 'mbrContained', 'geom', 0, 1, false, false, false, 2000, true, true); 147 ! 145 insert into sys.functions values (53, 'mbr_contains', 'mbrContains', 'geom', 0, 1, false, false, false, 2000, true, true); 145
148 insert into sys.args values (9141, 53, 'res_0', 'boolean', 1, 0, 0, 0); 148 ! 146 insert into sys.args values (9138, 53, 'res_0', 'boolean', 1, 0, 0, 0); 146
149 insert into sys.args values (9142, 53, 'arg_1', 'geometry', 0, 0, 1, 1); 149 ! 147 insert into sys.args values (9139, 53, 'arg_1', 'mbr', 0, 0, 1, 1); 147
150 insert into sys.args values (9143, 53, 'arg_2', 'geometry', 0, 0, 1, 2); 150 ! 148 insert into sys.args values (9140, 53, 'arg_2', 'mbr', 0, 0, 1, 2); 148
151 insert into sys.functions values (54, 'mbr_contained', 'mbrContained', 'geom', 0, 1, false, false, false, 2000, true, true); 151 149 insert into sys.functions values (54, 'mbr_contained', 'mbrContained', 'geom', 0, 1, false, false, false, 2000, true, true); 149
152 insert into sys.args values (9144, 54, 'res_0', 'boolean', 1, 0, 0, 0); 152 ! 150 insert into sys.args values (9141, 54, 'res_0', 'boolean', 1, 0, 0, 0); 150
153 insert into sys.args values (9145, 54, 'arg_1', 'mbr', 0, 0, 1, 1); 153 ! 151 insert into sys.args values (9142, 54, 'arg_1', 'geometry', 0, 0, 1, 1); 151
154 insert into sys.args values (9146, 54, 'arg_2', 'mbr', 0, 0, 1, 2); 154 ! 152 insert into sys.args values (9143, 54, 'arg_2', 'geometry', 0, 0, 1, 2); 152
155 insert into sys.functions values (55, 'mbr_equal', 'mbrEqual', 'geom', 0, 1, false, false, false, 2000, true, true); 155 ! 153 insert into sys.functions values (55, 'mbr_contained', 'mbrContained', 'geom', 0, 1, false, false, false, 2000, true, true); 153
156 insert into sys.args values (9147, 55, 'res_0', 'boolean', 1, 0, 0, 0); 156 ! 154 insert into sys.args values (9144, 55, 'res_0', 'boolean', 1, 0, 0, 0); 154
157 insert into sys.args values (9148, 55, 'arg_1', 'geometry', 0, 0, 1, 1); 157 ! 155 insert into sys.args values (9145, 55, 'arg_1', 'mbr', 0, 0, 1, 1); 155
158 insert into sys.args values (9149, 55, 'arg_2', 'geometry', 0, 0, 1, 2); 158 ! 156 insert into sys.args values (9146, 55, 'arg_2', 'mbr', 0, 0, 1, 2); 156
159 insert into sys.functions values (56, 'mbr_equal', 'mbrEqual', 'geom', 0, 1, false, false, false, 2000, true, true); 159 157 insert into sys.functions values (56, 'mbr_equal', 'mbrEqual', 'geom', 0, 1, false, false, false, 2000, true, true); 157
160 insert into sys.args values (9150, 56, 'res_0', 'boolean', 1, 0, 0, 0); 160 ! 158 insert into sys.args values (9147, 56, 'res_0', 'boolean', 1, 0, 0, 0); 158
161 insert into sys.args values (9151, 56, 'arg_1', 'mbr', 0, 0, 1, 1); 161 ! 159 insert into sys.args values (9148, 56, 'arg_1', 'geometry', 0, 0, 1, 1); 159
162 insert into sys.args values (9152, 56, 'arg_2', 'mbr', 0, 0, 1, 2); 162 ! 160 insert into sys.args values (9149, 56, 'arg_2', 'geometry', 0, 0, 1, 2); 160
163 insert into sys.functions values (57, 'mbr_distance', 'mbrDistance', 'geom', 0, 1, false, false, false, 2000, true, true); 163 ! 161 insert into sys.functions values (57, 'mbr_equal', 'mbrEqual', 'geom', 0, 1, false, false, false, 2000, true, true); 161
164 insert into sys.args values (9153, 57, 'res_0', 'double', 53, 0, 0, 0); 164 ! 162 insert into sys.args values (9150, 57, 'res_0', 'boolean', 1, 0, 0, 0); 162
165 insert into sys.args values (9154, 57, 'arg_1', 'geometry', 0, 0, 1, 1); 165 ! 163 insert into sys.args values (9151, 57, 'arg_1', 'mbr', 0, 0, 1, 1); 163
166 insert into sys.args values (9155, 57, 'arg_2', 'geometry', 0, 0, 1, 2); 166 ! 164 insert into sys.args values (9152, 57, 'arg_2', 'mbr', 0, 0, 1, 2); 164
167 insert into sys.functions values (58, 'mbr_distance', 'mbrDistance', 'geom', 0, 1, false, false, false, 2000, true, true); 167 165 insert into sys.functions values (58, 'mbr_distance', 'mbrDistance', 'geom', 0, 1, false, false, false, 2000, true, true); 165
168 insert into sys.args values (9156, 58, 'res_0', 'double', 53, 0, 0, 0); 168 ! 166 insert into sys.args values (9153, 58, 'res_0', 'double', 53, 0, 0, 0); 166
169 insert into sys.args values (9157, 58, 'arg_1', 'mbr', 0, 0, 1, 1); 169 ! 167 insert into sys.args values (9154, 58, 'arg_1', 'geometry', 0, 0, 1, 1); 167
170 insert into sys.args values (9158, 58, 'arg_2', 'mbr', 0, 0, 1, 2); 170 ! 168 insert into sys.args values (9155, 58, 'arg_2', 'geometry', 0, 0, 1, 2); 168
171 insert into sys.functions values (59, 'left_shift', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 171 ! 169 insert into sys.functions values (59, 'mbr_distance', 'mbrDistance', 'geom', 0, 1, false, false, false, 2000, true, true); 169
172 insert into sys.args values (9159, 59, 'res_0', 'boolean', 1, 0, 0, 0); 172 ! 170 insert into sys.args values (9156, 59, 'res_0', 'double', 53, 0, 0, 0); 170
173 insert into sys.args values (9160, 59, 'arg_1', 'geometry', 0, 0, 1, 1); 173 ! 171 insert into sys.args values (9157, 59, 'arg_1', 'mbr', 0, 0, 1, 1); 171
174 insert into sys.args values (9161, 59, 'arg_2', 'geometry', 0, 0, 1, 2); 174 ! 172 insert into sys.args values (9158, 59, 'arg_2', 'mbr', 0, 0, 1, 2); 172
175 insert into sys.functions values (60, 'left_shift', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 175 173 insert into sys.functions values (60, 'left_shift', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 173
176 insert into sys.args values (9162, 60, 'res_0', 'boolean', 1, 0, 0, 0); 176 ! 174 insert into sys.args values (9159, 60, 'res_0', 'boolean', 1, 0, 0, 0); 174
177 insert into sys.args values (9163, 60, 'arg_1', 'mbr', 0, 0, 1, 1); 177 ! 175 insert into sys.args values (9160, 60, 'arg_1', 'geometry', 0, 0, 1, 1); 175
178 insert into sys.args values (9164, 60, 'arg_2', 'mbr', 0, 0, 1, 2); 178 ! 176 insert into sys.args values (9161, 60, 'arg_2', 'geometry', 0, 0, 1, 2); 176
179 insert into sys.functions values (61, 'right_shift', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 179 ! 177 insert into sys.functions values (61, 'left_shift', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 177
180 insert into sys.args values (9165, 61, 'res_0', 'boolean', 1, 0, 0, 0); 180 ! 178 insert into sys.args values (9162, 61, 'res_0', 'boolean', 1, 0, 0, 0); 178
181 insert into sys.args values (9166, 61, 'arg_1', 'geometry', 0, 0, 1, 1); 181 ! 179 insert into sys.args values (9163, 61, 'arg_1', 'mbr', 0, 0, 1, 1); 179
182 insert into sys.args values (9167, 61, 'arg_2', 'geometry', 0, 0, 1, 2); 182 ! 180 insert into sys.args values (9164, 61, 'arg_2', 'mbr', 0, 0, 1, 2); 180
183 insert into sys.functions values (62, 'right_shift', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 183 181 insert into sys.functions values (62, 'right_shift', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 181
184 insert into sys.args values (9168, 62, 'res_0', 'boolean', 1, 0, 0, 0); 184 ! 182 insert into sys.args values (9165, 62, 'res_0', 'boolean', 1, 0, 0, 0); 182
185 insert into sys.args values (9169, 62, 'arg_1', 'mbr', 0, 0, 1, 1); 185 ! 183 insert into sys.args values (9166, 62, 'arg_1', 'geometry', 0, 0, 1, 1); 183
186 insert into sys.args values (9170, 62, 'arg_2', 'mbr', 0, 0, 1, 2); 186 ! 184 insert into sys.args values (9167, 62, 'arg_2', 'geometry', 0, 0, 1, 2); 184
187 insert into sys.functions values (63, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 187 ! 185 insert into sys.functions values (63, 'right_shift', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 185
188 insert into sys.args values (9171, 63, 'res_0', 'tinyint', 8, 0, 0, 0); 188 ! 186 insert into sys.args values (9168, 63, 'res_0', 'boolean', 1, 0, 0, 0); 186
189 insert into sys.args values (9172, 63, 'arg_1', 'any', 0, 0, 1, 1); 189 ! 187 insert into sys.args values (9169, 63, 'arg_1', 'mbr', 0, 0, 1, 1); 187
+ 188 insert into sys.args values (9170, 63, 'arg_2', 'mbr', 0, 0, 1, 2); 188
190 insert into sys.functions values (64, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 190 189 insert into sys.functions values (64, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 189
191 insert into sys.args values (9173, 64, 'res_0', 'smallint', 16, 0, 0, 0); 191 ! 190 insert into sys.args values (9171, 64, 'res_0', 'tinyint', 8, 0, 0, 0); 190
192 insert into sys.args values (9174, 64, 'arg_1', 'any', 0, 0, 1, 1); 192 ! 191 insert into sys.args values (9172, 64, 'arg_1', 'any', 0, 0, 1, 1); 191
193 insert into sys.functions values (65, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 193 192 insert into sys.functions values (65, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 192
194 insert into sys.args values (9175, 65, 'res_0', 'int', 32, 0, 0, 0); 194 ! 193 insert into sys.args values (9173, 65, 'res_0', 'smallint', 16, 0, 0, 0); 193
195 insert into sys.args values (9176, 65, 'arg_1', 'any', 0, 0, 1, 1); 195 ! 194 insert into sys.args values (9174, 65, 'arg_1', 'any', 0, 0, 1, 1); 194
196 insert into sys.functions values (66, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 196 195 insert into sys.functions values (66, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 195
197 insert into sys.args values (9177, 66, 'res_0', 'bigint', 64, 0, 0, 0); 197 ! 196 insert into sys.args values (9175, 66, 'res_0', 'int', 32, 0, 0, 0); 196
198 insert into sys.args values (9178, 66, 'arg_1', 'any', 0, 0, 1, 1); 198 ! 197 insert into sys.args values (9176, 66, 'arg_1', 'any', 0, 0, 1, 1); 197
199 insert into sys.functions values (67, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 199 198 insert into sys.functions values (67, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 198
200 insert into sys.args values (9179, 67, 'res_0', 'hugeint', 128, 0, 0, 0); 200 ! 199 insert into sys.args values (9177, 67, 'res_0', 'bigint', 64, 0, 0, 0); 199
201 insert into sys.args values (9180, 67, 'arg_1', 'any', 0, 0, 1, 1); 201 ! 200 insert into sys.args values (9178, 67, 'arg_1', 'any', 0, 0, 1, 1); 200
202 insert into sys.functions values (68, 'not_unique', 'not_unique', 'aggr', 0, 3, false, false, false, 2000, true, true); 202 ! 201 insert into sys.functions values (68, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 201
203 insert into sys.args values (9181, 68, 'res_0', 'boolean', 1, 0, 0, 0); 203 ! 202 insert into sys.args values (9179, 68, 'res_0', 'hugeint', 128, 0, 0, 0); 202
204 insert into sys.args values (9182, 68, 'arg_1', 'oid', 63, 0, 1, 1); 204 ! 203 insert into sys.args values (9180, 68, 'arg_1', 'any', 0, 0, 1, 1); 203
205 insert into sys.functions values (69, 'hash', 'hash', 'mkey', 0, 1, false, false, false, 2000, true, true); 205 ! 204 insert into sys.functions values (69, 'not_unique', 'not_unique', 'aggr', 0, 3, false, false, false, 2000, true, true); 204
206 insert into sys.args values (9183, 69, 'res_0', 'bigint', 64, 0, 0, 0); 206 ! 205 insert into sys.args values (9181, 69, 'res_0', 'boolean', 1, 0, 0, 0); 205
207 insert into sys.args values (9184, 69, 'arg_1', 'any', 0, 0, 1, 1); 207 ! 206 insert into sys.args values (9182, 69, 'arg_1', 'oid', 63, 0, 1, 1); 206
208 insert into sys.functions values (70, 'rotate_xor_hash', 'rotate_xor_hash', 'calc', 0, 1, false, false, false, 2000, true, true); 208 ! 207 insert into sys.functions values (70, 'hash', 'hash', 'mkey', 0, 1, false, false, false, 2000, true, true); 207
209 insert into sys.args values (9185, 70, 'res_0', 'bigint', 64, 0, 0, 0); 209 ! 208 insert into sys.args values (9183, 70, 'res_0', 'bigint', 64, 0, 0, 0); 208
210 insert into sys.args values (9186, 70, 'arg_1', 'bigint', 64, 0, 1, 1); 210 ! 209 insert into sys.args values (9184, 70, 'arg_1', 'any', 0, 0, 1, 1); 209
211 insert into sys.args values (9187, 70, 'arg_2', 'int', 32, 0, 1, 2); 211 ! 210 insert into sys.functions values (71, 'rotate_xor_hash', 'rotate_xor_hash', 'calc', 0, 1, false, false, false, 2000, true, true); 210
212 insert into sys.args values (9188, 70, 'arg_3', 'any', 0, 0, 1, 3); 212 ! 211 insert into sys.args values (9185, 71, 'res_0', 'bigint', 64, 0, 0, 0); 211
213 insert into sys.functions values (71, '=', '=', 'calc', 0, 1, false, false, false, 2000, true, false); 213 ! 212 insert into sys.args values (9186, 71, 'arg_1', 'bigint', 64, 0, 1, 1); 212
214 insert into sys.args values (9189, 71, 'res_0', 'boolean', 1, 0, 0, 0); 214 ! 213 insert into sys.args values (9187, 71, 'arg_2', 'int', 32, 0, 1, 2); 213
215 insert into sys.args values (9190, 71, 'arg_1', 'any', 0, 0, 1, 1); 215 ! 214 insert into sys.args values (9188, 71, 'arg_3', 'any', 0, 0, 1, 3); 214
216 insert into sys.args values (9191, 71, 'arg_2', 'any', 0, 0, 1, 2); 216 ! 215 insert into sys.functions values (72, '=', '=', 'calc', 0, 1, false, false, false, 2000, true, false); 215
217 insert into sys.functions values (72, '<>', '!=', 'calc', 0, 1, false, false, false, 2000, true, false); 217 ! 216 insert into sys.args values (9189, 72, 'res_0', 'boolean', 1, 0, 0, 0); 216
218 insert into sys.args values (9192, 72, 'res_0', 'boolean', 1, 0, 0, 0); 218 ! 217 insert into sys.args values (9190, 72, 'arg_1', 'any', 0, 0, 1, 1); 217
219 insert into sys.args values (9193, 72, 'arg_1', 'any', 0, 0, 1, 1); 219 ! 218 insert into sys.args values (9191, 72, 'arg_2', 'any', 0, 0, 1, 2); 218
220 insert into sys.args values (9194, 72, 'arg_2', 'any', 0, 0, 1, 2); 220 ! 219 insert into sys.functions values (73, '<>', '!=', 'calc', 0, 1, false, false, false, 2000, true, false); 219
221 insert into sys.functions values (73, 'isnull', 'isnil', 'calc', 0, 1, false, false, false, 2000, true, true); 221 ! 220 insert into sys.args values (9192, 73, 'res_0', 'boolean', 1, 0, 0, 0); 220
222 insert into sys.args values (9195, 73, 'res_0', 'boolean', 1, 0, 0, 0); 222 ! 221 insert into sys.args values (9193, 73, 'arg_1', 'any', 0, 0, 1, 1); 221
223 insert into sys.args values (9196, 73, 'arg_1', 'any', 0, 0, 1, 1); 223 ! 222 insert into sys.args values (9194, 73, 'arg_2', 'any', 0, 0, 1, 2); 222
224 insert into sys.functions values (74, 'isnotnull', 'isnotnil', 'calc', 0, 1, false, false, false, 2000, true, true); 224 ! 223 insert into sys.functions values (74, 'isnull', 'isnil', 'calc', 0, 1, false, false, false, 2000, true, true); 223
225 insert into sys.args values (9197, 74, 'res_0', 'boolean', 1, 0, 0, 0); 225 ! 224 insert into sys.args values (9195, 74, 'res_0', 'boolean', 1, 0, 0, 0); 224
226 insert into sys.args values (9198, 74, 'arg_1', 'any', 0, 0, 1, 1); 226 ! 225 insert into sys.args values (9196, 74, 'arg_1', 'any', 0, 0, 1, 1); 225
227 insert into sys.functions values (75, '>', '>', 'calc', 0, 1, false, false, false, 2000, true, false); 227 ! 226 insert into sys.functions values (75, 'isnotnull', 'isnotnil', 'calc', 0, 1, false, false, false, 2000, true, true); 226
228 insert into sys.args values (9199, 75, 'res_0', 'boolean', 1, 0, 0, 0); 228 ! 227 insert into sys.args values (9197, 75, 'res_0', 'boolean', 1, 0, 0, 0); 227
229 insert into sys.args values (9200, 75, 'arg_1', 'any', 0, 0, 1, 1); 229 ! 228 insert into sys.args values (9198, 75, 'arg_1', 'any', 0, 0, 1, 1); 228
230 insert into sys.args values (9201, 75, 'arg_2', 'any', 0, 0, 1, 2); 230 - 229 insert into sys.functions values (76, '>', '>', 'calc', 0, 1, false, false, false, 2000, true, false); 229
231 insert into sys.functions values (76, '>=', '>=', 'calc', 0, 1, false, false, false, 2000, true, false); 231 -
232 insert into sys.args values (9202, 76, 'res_0', 'boolean', 1, 0, 0, 0); 232 ! 230 insert into sys.args values (9199, 76, 'res_0', 'boolean', 1, 0, 0, 0); 230
233 insert into sys.args values (9203, 76, 'arg_1', 'any', 0, 0, 1, 1); 233 ! 231 insert into sys.args values (9200, 76, 'arg_1', 'any', 0, 0, 1, 1); 231
234 insert into sys.args values (9204, 76, 'arg_2', 'any', 0, 0, 1, 2); 234 ! 232 insert into sys.args values (9201, 76, 'arg_2', 'any', 0, 0, 1, 2); 232
235 insert into sys.functions values (77, '<', '<', 'calc', 0, 1, false, false, false, 2000, true, false); 235 ! 233 insert into sys.functions values (77, '>=', '>=', 'calc', 0, 1, false, false, false, 2000, true, false); 233
236 insert into sys.args values (9205, 77, 'res_0', 'boolean', 1, 0, 0, 0); 236 ! 234 insert into sys.args values (9202, 77, 'res_0', 'boolean', 1, 0, 0, 0); 234
237 insert into sys.args values (9206, 77, 'arg_1', 'any', 0, 0, 1, 1); 237 ! 235 insert into sys.args values (9203, 77, 'arg_1', 'any', 0, 0, 1, 1); 235
238 insert into sys.args values (9207, 77, 'arg_2', 'any', 0, 0, 1, 2); 238 ! 236 insert into sys.args values (9204, 77, 'arg_2', 'any', 0, 0, 1, 2); 236
239 insert into sys.functions values (78, '<=', '<=', 'calc', 0, 1, false, false, false, 2000, true, false); 239 - 237 insert into sys.functions values (78, '<', '<', 'calc', 0, 1, false, false, false, 2000, true, false); 237
240 insert into sys.args values (9208, 78, 'res_0', 'boolean', 1, 0, 0, 0); 240 ! 238 insert into sys.args values (9205, 78, 'res_0', 'boolean', 1, 0, 0, 0); 238
241 insert into sys.args values (9209, 78, 'arg_1', 'any', 0, 0, 1, 1); 241 ! 239 insert into sys.args values (9206, 78, 'arg_1', 'any', 0, 0, 1, 1); 239
242 insert into sys.args values (9210, 78, 'arg_2', 'any', 0, 0, 1, 2); 242 ! 240 insert into sys.args values (9207, 78, 'arg_2', 'any', 0, 0, 1, 2); 240
243 insert into sys.functions values (79, 'between', 'between', 'calc', 0, 1, false, false, false, 2000, true, false); 243 ! 241 insert into sys.functions values (79, '<=', '<=', 'calc', 0, 1, false, false, false, 2000, true, false); 241
244 insert into sys.args values (9211, 79, 'res_0', 'boolean', 1, 0, 0, 0); 244 ! 242 insert into sys.args values (9208, 79, 'res_0', 'boolean', 1, 0, 0, 0); 242
+ 243 insert into sys.args values (9209, 79, 'arg_1', 'any', 0, 0, 1, 1); 243
245 insert into sys.args values (9212, 79, 'arg_1', 'any', 0, 0, 1, 1); 245 ! 244 insert into sys.args values (9210, 79, 'arg_2', 'any', 0, 0, 1, 2); 244
246 insert into sys.args values (9213, 79, 'arg_2', 'any', 0, 0, 1, 2); 246 ! 245 insert into sys.functions values (80, 'between', 'between', 'calc', 0, 1, false, false, false, 2000, true, false); 245
247 insert into sys.args values (9214, 79, 'arg_3', 'any', 0, 0, 1, 3); 247 ! 246 insert into sys.args values (9211, 80, 'res_0', 'boolean', 1, 0, 0, 0); 246
248 insert into sys.args values (9215, 79, 'arg_4', 'boolean', 1, 0, 1, 4); 248 ! 247 insert into sys.args values (9212, 80, 'arg_1', 'any', 0, 0, 1, 1); 247
249 insert into sys.args values (9216, 79, 'arg_5', 'boolean', 1, 0, 1, 5); 249 ! 248 insert into sys.args values (9213, 80, 'arg_2', 'any', 0, 0, 1, 2); 248
250 insert into sys.args values (9217, 79, 'arg_6', 'boolean', 1, 0, 1, 6); 250 ! 249 insert into sys.args values (9214, 80, 'arg_3', 'any', 0, 0, 1, 3); 249
251 insert into sys.args values (9218, 79, 'arg_7', 'boolean', 1, 0, 1, 7); 251 ! 250 insert into sys.args values (9215, 80, 'arg_4', 'boolean', 1, 0, 1, 4); 250
252 insert into sys.args values (9219, 79, 'arg_8', 'boolean', 1, 0, 1, 8); 252 ! 251 insert into sys.args values (9216, 80, 'arg_5', 'boolean', 1, 0, 1, 5); 251
253 insert into sys.functions values (80, 'zero_or_one', 'zero_or_one', 'aggr', 0, 3, false, false, false, 2000, true, true); 253 ! 252 insert into sys.args values (9217, 80, 'arg_6', 'boolean', 1, 0, 1, 6); 252
254 insert into sys.args values (9220, 80, 'res_0', 'any', 0, 0, 0, 0); 254 ! 253 insert into sys.args values (9218, 80, 'arg_7', 'boolean', 1, 0, 1, 7); 253
255 insert into sys.args values (9221, 80, 'arg_1', 'any', 0, 0, 1, 1); 255 ! 254 insert into sys.args values (9219, 80, 'arg_8', 'boolean', 1, 0, 1, 8); 254
256 insert into sys.functions values (81, 'all', 'all', 'aggr', 0, 3, false, false, false, 2000, true, true); 256 ! 255 insert into sys.functions values (81, 'zero_or_one', 'zero_or_one', 'aggr', 0, 3, false, false, false, 2000, true, true); 255
257 insert into sys.args values (9222, 81, 'res_0', 'any', 0, 0, 0, 0); 257 ! 256 insert into sys.args values (9220, 81, 'res_0', 'any', 0, 0, 0, 0); 256
258 insert into sys.args values (9223, 81, 'arg_1', 'any', 0, 0, 1, 1); 258 ! 257 insert into sys.args values (9221, 81, 'arg_1', 'any', 0, 0, 1, 1); 257
259 insert into sys.functions values (82, 'null', 'null', 'aggr', 0, 3, false, false, false, 2000, true, true); 259 ! 258 insert into sys.functions values (82, 'all', 'all', 'aggr', 0, 3, false, false, false, 2000, true, true); 258
260 insert into sys.args values (9224, 82, 'res_0', 'boolean', 1, 0, 0, 0); 260 ! 259 insert into sys.args values (9222, 82, 'res_0', 'any', 0, 0, 0, 0); 259
261 insert into sys.args values (9225, 82, 'arg_1', 'any', 0, 0, 1, 1); 261 ! 260 insert into sys.args values (9223, 82, 'arg_1', 'any', 0, 0, 1, 1); 260
262 insert into sys.functions values (83, 'any', 'any', 'sql', 0, 1, false, false, false, 2000, true, true); 262 ! 261 insert into sys.functions values (83, 'null', 'null', 'aggr', 0, 3, false, false, false, 2000, true, true); 261
263 insert into sys.args values (9226, 83, 'res_0', 'boolean', 1, 0, 0, 0); 263 ! 262 insert into sys.args values (9224, 83, 'res_0', 'boolean', 1, 0, 0, 0); 262
264 insert into sys.args values (9227, 83, 'arg_1', 'boolean', 1, 0, 1, 1); 264 ! 263 insert into sys.args values (9225, 83, 'arg_1', 'any', 0, 0, 1, 1); 263
265 insert into sys.args values (9228, 83, 'arg_2', 'boolean', 1, 0, 1, 2); 265 ! 264 insert into sys.functions values (84, 'any', 'any', 'sql', 0, 1, false, false, false, 2000, true, true); 264
266 insert into sys.args values (9229, 83, 'arg_3', 'boolean', 1, 0, 1, 3); 266 ! 265 insert into sys.args values (9226, 84, 'res_0', 'boolean', 1, 0, 0, 0); 265
267 insert into sys.functions values (84, 'all', 'all', 'sql', 0, 1, false, false, false, 2000, true, true); 267 ! 266 insert into sys.args values (9227, 84, 'arg_1', 'boolean', 1, 0, 1, 1); 266
268 insert into sys.args values (9230, 84, 'res_0', 'boolean', 1, 0, 0, 0); 268 ! 267 insert into sys.args values (9228, 84, 'arg_2', 'boolean', 1, 0, 1, 2); 267
269 insert into sys.args values (9231, 84, 'arg_1', 'boolean', 1, 0, 1, 1); 269 ! 268 insert into sys.args values (9229, 84, 'arg_3', 'boolean', 1, 0, 1, 3); 268
270 insert into sys.args values (9232, 84, 'arg_2', 'boolean', 1, 0, 1, 2); 270 ! 269 insert into sys.functions values (85, 'all', 'all', 'sql', 0, 1, false, false, false, 2000, true, true); 269
271 insert into sys.args values (9233, 84, 'arg_3', 'boolean', 1, 0, 1, 3); 271 ! 270 insert into sys.args values (9230, 85, 'res_0', 'boolean', 1, 0, 0, 0); 270
272 insert into sys.functions values (85, 'anyequal', 'anyequal', 'aggr', 0, 3, false, false, false, 2000, true, true); 272 ! 271 insert into sys.args values (9231, 85, 'arg_1', 'boolean', 1, 0, 1, 1); 271
273 insert into sys.args values (9234, 85, 'res_0', 'boolean', 1, 0, 0, 0); 273 ! 272 insert into sys.args values (9232, 85, 'arg_2', 'boolean', 1, 0, 1, 2); 272
274 insert into sys.args values (9235, 85, 'arg_1', 'any', 0, 0, 1, 1); 274 ! 273 insert into sys.args values (9233, 85, 'arg_3', 'boolean', 1, 0, 1, 3); 273
275 insert into sys.functions values (86, 'allnotequal', 'allnotequal', 'aggr', 0, 3, false, false, false, 2000, true, true); 275 ! 274 insert into sys.functions values (86, 'anyequal', 'anyequal', 'aggr', 0, 3, false, false, false, 2000, true, true); 274
276 insert into sys.args values (9236, 86, 'res_0', 'boolean', 1, 0, 0, 0); 276 ! 275 insert into sys.args values (9234, 86, 'res_0', 'boolean', 1, 0, 0, 0); 275
277 insert into sys.args values (9237, 86, 'arg_1', 'any', 0, 0, 1, 1); 277 ! 276 insert into sys.args values (9235, 86, 'arg_1', 'any', 0, 0, 1, 1); 276
278 insert into sys.functions values (87, 'sql_anyequal', 'anyequal', 'aggr', 0, 1, false, false, false, 2000, true, true); 278 ! 277 insert into sys.functions values (87, 'allnotequal', 'allnotequal', 'aggr', 0, 3, false, false, false, 2000, true, true); 277
279 insert into sys.args values (9238, 87, 'res_0', 'boolean', 1, 0, 0, 0); 279 ! 278 insert into sys.args values (9236, 87, 'res_0', 'boolean', 1, 0, 0, 0); 278
280 insert into sys.args values (9239, 87, 'arg_1', 'any', 0, 0, 1, 1); 280 ! 279 insert into sys.args values (9237, 87, 'arg_1', 'any', 0, 0, 1, 1); 279
281 insert into sys.args values (9240, 87, 'arg_2', 'any', 0, 0, 1, 2); 281 ! 280 insert into sys.functions values (88, 'sql_anyequal', 'anyequal', 'aggr', 0, 1, false, false, false, 2000, true, true); 280
282 insert into sys.functions values (88, 'sql_not_anyequal', 'not_anyequal', 'aggr', 0, 1, false, false, false, 2000, true, true); 282 ! 281 insert into sys.args values (9238, 88, 'res_0', 'boolean', 1, 0, 0, 0); 281
283 insert into sys.args values (9241, 88, 'res_0', 'boolean', 1, 0, 0, 0); 283 ! 282 insert into sys.args values (9239, 88, 'arg_1', 'any', 0, 0, 1, 1); 282
284 insert into sys.args values (9242, 88, 'arg_1', 'any', 0, 0, 1, 1); 284 ! 283 insert into sys.args values (9240, 88, 'arg_2', 'any', 0, 0, 1, 2); 283
285 insert into sys.args values (9243, 88, 'arg_2', 'any', 0, 0, 1, 2); 285 ! 284 insert into sys.functions values (89, 'sql_not_anyequal', 'not_anyequal', 'aggr', 0, 1, false, false, false, 2000, true, true); 284
286 insert into sys.functions values (89, 'exist', 'exist', 'aggr', 0, 3, false, false, false, 2000, true, true); 286 ! 285 insert into sys.args values (9241, 89, 'res_0', 'boolean', 1, 0, 0, 0); 285
287 insert into sys.args values (9244, 89, 'res_0', 'boolean', 1, 0, 0, 0); 287 ! 286 insert into sys.args values (9242, 89, 'arg_1', 'any', 0, 0, 1, 1); 286
288 insert into sys.args values (9245, 89, 'arg_1', 'any', 0, 0, 1, 1); 288 ! 287 insert into sys.args values (9243, 89, 'arg_2', 'any', 0, 0, 1, 2); 287
289 insert into sys.functions values (90, 'not_exist', 'not_exist', 'aggr', 0, 3, false, false, false, 2000, true, true); 289 - 288 insert into sys.functions values (90, 'exist', 'exist', 'aggr', 0, 3, false, false, false, 2000, true, true); 288
290 insert into sys.args values (9246, 90, 'res_0', 'boolean', 1, 0, 0, 0); 290 ! 289 insert into sys.args values (9244, 90, 'res_0', 'boolean', 1, 0, 0, 0); 289
291 insert into sys.args values (9247, 90, 'arg_1', 'any', 0, 0, 1, 1); 291 ! 290 insert into sys.args values (9245, 90, 'arg_1', 'any', 0, 0, 1, 1); 290
292 insert into sys.functions values (91, 'sql_exists', 'exist', 'aggr', 0, 1, false, false, false, 2000, true, true); 292 ! 291 insert into sys.functions values (91, 'not_exist', 'not_exist', 'aggr', 0, 3, false, false, false, 2000, true, true); 291
293 insert into sys.args values (9248, 91, 'res_0', 'boolean', 1, 0, 0, 0); 293 ! 292 insert into sys.args values (9246, 91, 'res_0', 'boolean', 1, 0, 0, 0); 292
294 insert into sys.args values (9249, 91, 'arg_1', 'any', 0, 0, 1, 1); 294 ! 293 insert into sys.args values (9247, 91, 'arg_1', 'any', 0, 0, 1, 1); 293
295 insert into sys.functions values (92, 'sql_not_exists', 'not_exist', 'aggr', 0, 1, false, false, false, 2000, true, true); 295 - 294 insert into sys.functions values (92, 'sql_exists', 'exist', 'aggr', 0, 1, false, false, false, 2000, true, true); 294
296 insert into sys.args values (9250, 92, 'res_0', 'boolean', 1, 0, 0, 0); 296 ! 295 insert into sys.args values (9248, 92, 'res_0', 'boolean', 1, 0, 0, 0); 295
297 insert into sys.args values (9251, 92, 'arg_1', 'any', 0, 0, 1, 1); 297 ! 296 insert into sys.args values (9249, 92, 'arg_1', 'any', 0, 0, 1, 1); 296
298 insert into sys.functions values (93, 'identity', 'identity', 'calc', 0, 1, false, false, false, 2000, true, true); 298 ! 297 insert into sys.functions values (93, 'sql_not_exists', 'not_exist', 'aggr', 0, 1, false, false, false, 2000, true, true); 297
299 insert into sys.args values (9252, 93, 'res_0', 'oid', 63, 0, 0, 0); 299 ! 298 insert into sys.args values (9250, 93, 'res_0', 'boolean', 1, 0, 0, 0); 298
300 insert into sys.args values (9253, 93, 'arg_1', 'any', 0, 0, 1, 1); 300 ! 299 insert into sys.args values (9251, 93, 'arg_1', 'any', 0, 0, 1, 1); 299
301 insert into sys.functions values (94, 'rowid', 'identity', 'calc', 0, 1, false, false, false, 2000, true, true); 301 ! 300 insert into sys.functions values (94, 'identity', 'identity', 'calc', 0, 1, false, false, false, 2000, true, true); 300
302 insert into sys.args values (9254, 94, 'res_0', 'int', 32, 0, 0, 0); 302 ! 301 insert into sys.args values (9252, 94, 'res_0', 'oid', 63, 0, 0, 0); 301
303 insert into sys.args values (9255, 94, 'arg_1', 'any', 0, 0, 1, 1); 303 ! 302 insert into sys.args values (9253, 94, 'arg_1', 'any', 0, 0, 1, 1); 302
304 insert into sys.functions values (95, 'rowid', 'rowid', 'calc', 0, 1, false, false, false, 2000, true, true); 304 ! 303 insert into sys.functions values (95, 'rowid', 'identity', 'calc', 0, 1, false, false, false, 2000, true, true); 303
305 insert into sys.args values (9256, 95, 'res_0', 'oid', 63, 0, 0, 0); 305 ! 304 insert into sys.args values (9254, 95, 'res_0', 'int', 32, 0, 0, 0); 304
306 insert into sys.args values (9257, 95, 'arg_1', 'any', 0, 0, 1, 1); 306 ! 305 insert into sys.args values (9255, 95, 'arg_1', 'any', 0, 0, 1, 1); 305
307 insert into sys.args values (9258, 95, 'arg_2', 'varchar', 0, 0, 1, 2); 307 ! 306 insert into sys.functions values (96, 'rowid', 'rowid', 'calc', 0, 1, false, false, false, 2000, true, true); 306
308 insert into sys.args values (9259, 95, 'arg_3', 'varchar', 0, 0, 1, 3); 308 ! 307 insert into sys.args values (9256, 96, 'res_0', 'oid', 63, 0, 0, 0); 307
309 insert into sys.functions values (96, 'min', 'min', 'aggr', 0, 3, false, false, false, 2000, true, false); 309 ! 308 insert into sys.args values (9257, 96, 'arg_1', 'any', 0, 0, 1, 1); 308
310 insert into sys.args values (9260, 96, 'res_0', 'any', 0, 0, 0, 0); 310 ! 309 insert into sys.args values (9258, 96, 'arg_2', 'varchar', 0, 0, 1, 2); 309
311 insert into sys.args values (9261, 96, 'arg_1', 'any', 0, 0, 1, 1); 311 ! 310 insert into sys.args values (9259, 96, 'arg_3', 'varchar', 0, 0, 1, 3); 310
312 insert into sys.functions values (97, 'max', 'max', 'aggr', 0, 3, false, false, false, 2000, true, false); 312 ! 311 insert into sys.functions values (97, 'min', 'min', 'aggr', 0, 3, false, false, false, 2000, true, false); 311
313 insert into sys.args values (9262, 97, 'res_0', 'any', 0, 0, 0, 0); 313 ! 312 insert into sys.args values (9260, 97, 'res_0', 'any', 0, 0, 0, 0); 312
314 insert into sys.args values (9263, 97, 'arg_1', 'any', 0, 0, 1, 1); 314 ! 313 insert into sys.args values (9261, 97, 'arg_1', 'any', 0, 0, 1, 1); 313
315 insert into sys.functions values (98, 'sql_min', 'min', 'calc', 0, 1, false, false, false, 2000, true, false); 315 ! 314 insert into sys.functions values (98, 'max', 'max', 'aggr', 0, 3, false, false, false, 2000, true, false); 314
316 insert into sys.args values (9264, 98, 'res_0', 'any', 0, 0, 0, 0); 316 ! 315 insert into sys.args values (9262, 98, 'res_0', 'any', 0, 0, 0, 0); 315
317 insert into sys.args values (9265, 98, 'arg_1', 'any', 0, 0, 1, 1); 317 ! 316 insert into sys.args values (9263, 98, 'arg_1', 'any', 0, 0, 1, 1); 316
318 insert into sys.args values (9266, 98, 'arg_2', 'any', 0, 0, 1, 2); 318 ! 317 insert into sys.functions values (99, 'sql_min', 'min', 'calc', 0, 1, false, false, false, 2000, true, false); 317
319 insert into sys.functions values (99, 'sql_max', 'max', 'calc', 0, 1, false, false, false, 2000, true, false); 319 -
320 insert into sys.args values (9267, 99, 'res_0', 'any', 0, 0, 0, 0); 320 ! 318 insert into sys.args values (9264, 99, 'res_0', 'any', 0, 0, 0, 0); 318
321 insert into sys.args values (9268, 99, 'arg_1', 'any', 0, 0, 1, 1); 321 ! 319 insert into sys.args values (9265, 99, 'arg_1', 'any', 0, 0, 1, 1); 319
322 insert into sys.args values (9269, 99, 'arg_2', 'any', 0, 0, 1, 2); 322 ! 320 insert into sys.args values (9266, 99, 'arg_2', 'any', 0, 0, 1, 2); 320
323 insert into sys.functions values (100, 'least', 'min_no_nil', 'calc', 0, 1, false, false, false, 2000, true, true); 323 ! 321 insert into sys.functions values (100, 'sql_max', 'max', 'calc', 0, 1, false, false, false, 2000, true, false); 321
324 insert into sys.args values (9270, 100, 'res_0', 'any', 0, 0, 0, 0); 324 ! 322 insert into sys.args values (9267, 100, 'res_0', 'any', 0, 0, 0, 0); 322
325 insert into sys.args values (9271, 100, 'arg_1', 'any', 0, 0, 1, 1); 325 ! 323 insert into sys.args values (9268, 100, 'arg_1', 'any', 0, 0, 1, 1); 323
326 insert into sys.args values (9272, 100, 'arg_2', 'any', 0, 0, 1, 2); 326 ! 324 insert into sys.args values (9269, 100, 'arg_2', 'any', 0, 0, 1, 2); 324
327 insert into sys.functions values (101, 'greatest', 'max_no_nil', 'calc', 0, 1, false, false, false, 2000, true, true); 327 ! 325 insert into sys.functions values (101, 'least', 'min_no_nil', 'calc', 0, 1, false, false, false, 2000, true, true); 325
328 insert into sys.args values (9273, 101, 'res_0', 'any', 0, 0, 0, 0); 328 ! 326 insert into sys.args values (9270, 101, 'res_0', 'any', 0, 0, 0, 0); 326
329 insert into sys.args values (9274, 101, 'arg_1', 'any', 0, 0, 1, 1); 329 ! 327 insert into sys.args values (9271, 101, 'arg_1', 'any', 0, 0, 1, 1); 327
330 insert into sys.args values (9275, 101, 'arg_2', 'any', 0, 0, 1, 2); 330 ! 328 insert into sys.args values (9272, 101, 'arg_2', 'any', 0, 0, 1, 2); 328
331 insert into sys.functions values (102, 'ifthenelse', 'ifthenelse', 'calc', 0, 1, false, false, false, 2000, true, true); 331 ! 329 insert into sys.functions values (102, 'greatest', 'max_no_nil', 'calc', 0, 1, false, false, false, 2000, true, true); 329
+ 330 insert into sys.args values (9273, 102, 'res_0', 'any', 0, 0, 0, 0); 330
332 insert into sys.args values (9276, 102, 'res_0', 'any', 0, 0, 0, 0); 332 ! 331 insert into sys.args values (9274, 102, 'arg_1', 'any', 0, 0, 1, 1); 331
333 insert into sys.args values (9277, 102, 'arg_1', 'boolean', 1, 0, 1, 1); 333 ! 332 insert into sys.args values (9275, 102, 'arg_2', 'any', 0, 0, 1, 2); 332
334 insert into sys.args values (9278, 102, 'arg_2', 'any', 0, 0, 1, 2); 334 ! 333 insert into sys.functions values (103, 'ifthenelse', 'ifthenelse', 'calc', 0, 1, false, false, false, 2000, true, true); 333
335 insert into sys.args values (9279, 102, 'arg_3', 'any', 0, 0, 1, 3); 335 ! 334 insert into sys.args values (9276, 103, 'res_0', 'any', 0, 0, 0, 0); 334
336 insert into sys.functions values (103, 'nullif', '', '', 0, 1, false, false, false, 2000, true, true); 336 ! 335 insert into sys.args values (9277, 103, 'arg_1', 'boolean', 1, 0, 1, 1); 335
337 insert into sys.args values (9280, 103, 'res_0', 'any', 0, 0, 0, 0); 337 ! 336 insert into sys.args values (9278, 103, 'arg_2', 'any', 0, 0, 1, 2); 336
338 insert into sys.args values (9281, 103, 'arg_1', 'any', 0, 0, 1, 1); 338 ! 337 insert into sys.args values (9279, 103, 'arg_3', 'any', 0, 0, 1, 3); 337
339 insert into sys.args values (9282, 103, 'arg_2', 'any', 0, 0, 1, 2); 339 ! 338 insert into sys.functions values (104, 'nullif', '', '', 0, 1, false, false, false, 2000, true, true); 338
340 insert into sys.functions values (104, 'coalesce', '', '', 0, 1, false, false, false, 2000, true, true); 340 ! 339 insert into sys.args values (9280, 104, 'res_0', 'any', 0, 0, 0, 0); 339
341 insert into sys.args values (9283, 104, 'res_0', 'any', 0, 0, 0, 0); 341 ! 340 insert into sys.args values (9281, 104, 'arg_1', 'any', 0, 0, 1, 1); 340
342 insert into sys.args values (9284, 104, 'arg_1', 'any', 0, 0, 1, 1); 342 ! 341 insert into sys.args values (9282, 104, 'arg_2', 'any', 0, 0, 1, 2); 341
343 insert into sys.args values (9285, 104, 'arg_2', 'any', 0, 0, 1, 2); 343 ! 342 insert into sys.functions values (105, 'coalesce', '', '', 0, 1, false, false, false, 2000, true, true); 342
344 insert into sys.functions values (105, 'star', '', '', 0, 1, false, false, false, 2000, true, true); 344 ! 343 insert into sys.args values (9283, 105, 'res_0', 'any', 0, 0, 0, 0); 343
345 insert into sys.args values (9286, 105, 'res_0', 'any', 0, 0, 0, 0); 345 ! 344 insert into sys.args values (9284, 105, 'arg_1', 'any', 0, 0, 1, 1); 344
346 insert into sys.functions values (106, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 346 ! 345 insert into sys.args values (9285, 105, 'arg_2', 'any', 0, 0, 1, 2); 345
347 insert into sys.args values (9287, 106, 'res_0', 'hugeint', 128, 0, 0, 0); 347 ! 346 insert into sys.functions values (106, 'star', '', '', 0, 1, false, false, false, 2000, true, true); 346
348 insert into sys.args values (9288, 106, 'arg_1', 'tinyint', 8, 0, 1, 1); 348 ! 347 insert into sys.args values (9286, 106, 'res_0', 'any', 0, 0, 0, 0); 347
349 insert into sys.functions values (107, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 349 348 insert into sys.functions values (107, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 348
350 insert into sys.args values (9289, 107, 'res_0', 'hugeint', 128, 0, 0, 0); 350 ! 349 insert into sys.args values (9287, 107, 'res_0', 'hugeint', 128, 0, 0, 0); 349
351 insert into sys.args values (9290, 107, 'arg_1', 'smallint', 16, 0, 1, 1); 351 ! 350 insert into sys.args values (9288, 107, 'arg_1', 'tinyint', 8, 0, 1, 1); 350
352 insert into sys.functions values (108, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 352 351 insert into sys.functions values (108, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 351
353 insert into sys.args values (9291, 108, 'res_0', 'hugeint', 128, 0, 0, 0); 353 ! 352 insert into sys.args values (9289, 108, 'res_0', 'hugeint', 128, 0, 0, 0); 352
354 insert into sys.args values (9292, 108, 'arg_1', 'int', 32, 0, 1, 1); 354 ! 353 insert into sys.args values (9290, 108, 'arg_1', 'smallint', 16, 0, 1, 1); 353
355 insert into sys.functions values (109, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 355 354 insert into sys.functions values (109, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 354
356 insert into sys.args values (9293, 109, 'res_0', 'hugeint', 128, 0, 0, 0); 356 ! 355 insert into sys.args values (9291, 109, 'res_0', 'hugeint', 128, 0, 0, 0); 355
357 insert into sys.args values (9294, 109, 'arg_1', 'hugeint', 128, 0, 1, 1); 357 ! 356 insert into sys.args values (9292, 109, 'arg_1', 'int', 32, 0, 1, 1); 356
358 insert into sys.functions values (110, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 358 357 insert into sys.functions values (110, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 357
359 insert into sys.args values (9295, 110, 'res_0', 'bigint', 64, 0, 0, 0); 359 ! 358 insert into sys.args values (9293, 110, 'res_0', 'hugeint', 128, 0, 0, 0); 358
360 insert into sys.args values (9296, 110, 'arg_1', 'bigint', 64, 0, 1, 1); 360 ! 359 insert into sys.args values (9294, 110, 'arg_1', 'hugeint', 128, 0, 1, 1); 359
361 insert into sys.functions values (111, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 361 360 insert into sys.functions values (111, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 360
362 insert into sys.args values (9297, 111, 'res_0', 'decimal', 38, 0, 0, 0); 362 ! 361 insert into sys.args values (9295, 111, 'res_0', 'bigint', 64, 0, 0, 0); 361
363 insert into sys.args values (9298, 111, 'arg_1', 'decimal', 2, 0, 1, 1); 363 ! 362 insert into sys.args values (9296, 111, 'arg_1', 'bigint', 64, 0, 1, 1); 362
364 insert into sys.functions values (112, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 364 363 insert into sys.functions values (112, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 363
365 insert into sys.args values (9299, 112, 'res_0', 'decimal', 38, 0, 0, 0); 365 ! 364 insert into sys.args values (9297, 112, 'res_0', 'decimal', 38, 0, 0, 0); 364
366 insert into sys.args values (9300, 112, 'arg_1', 'decimal', 4, 0, 1, 1); 366 ! 365 insert into sys.args values (9298, 112, 'arg_1', 'decimal', 2, 0, 1, 1); 365
367 insert into sys.functions values (113, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 367 366 insert into sys.functions values (113, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 366
368 insert into sys.args values (9301, 113, 'res_0', 'decimal', 38, 0, 0, 0); 368 ! 367 insert into sys.args values (9299, 113, 'res_0', 'decimal', 38, 0, 0, 0); 367
369 insert into sys.args values (9302, 113, 'arg_1', 'decimal', 9, 0, 1, 1); 369 ! 368 insert into sys.args values (9300, 113, 'arg_1', 'decimal', 4, 0, 1, 1); 368
370 insert into sys.functions values (114, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 370 369 insert into sys.functions values (114, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 369
371 insert into sys.args values (9303, 114, 'res_0', 'decimal', 38, 0, 0, 0); 371 ! 370 insert into sys.args values (9301, 114, 'res_0', 'decimal', 38, 0, 0, 0); 370
372 insert into sys.args values (9304, 114, 'arg_1', 'decimal', 18, 0, 1, 1); 372 ! 371 insert into sys.args values (9302, 114, 'arg_1', 'decimal', 9, 0, 1, 1); 371
373 insert into sys.functions values (115, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 373 372 insert into sys.functions values (115, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 372
374 insert into sys.args values (9305, 115, 'res_0', 'decimal', 38, 0, 0, 0); 374 ! 373 insert into sys.args values (9303, 115, 'res_0', 'decimal', 38, 0, 0, 0); 373
375 insert into sys.args values (9306, 115, 'arg_1', 'decimal', 38, 0, 1, 1); 375 ! 374 insert into sys.args values (9304, 115, 'arg_1', 'decimal', 18, 0, 1, 1); 374
376 insert into sys.functions values (116, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 376 ! 375 insert into sys.functions values (116, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 375
377 insert into sys.args values (9307, 116, 'res_0', 'hugeint', 128, 0, 0, 0); 377 ! 376 insert into sys.args values (9305, 116, 'res_0', 'decimal', 38, 0, 0, 0); 376
378 insert into sys.args values (9308, 116, 'arg_1', 'tinyint', 8, 0, 1, 1); 378 ! 377 insert into sys.args values (9306, 116, 'arg_1', 'decimal', 38, 0, 1, 1); 377
379 insert into sys.functions values (117, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 379 378 insert into sys.functions values (117, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 378
380 insert into sys.args values (9309, 117, 'res_0', 'hugeint', 128, 0, 0, 0); 380 ! 379 insert into sys.args values (9307, 117, 'res_0', 'hugeint', 128, 0, 0, 0); 379
381 insert into sys.args values (9310, 117, 'arg_1', 'smallint', 16, 0, 1, 1); 381 ! 380 insert into sys.args values (9308, 117, 'arg_1', 'tinyint', 8, 0, 1, 1); 380
382 insert into sys.functions values (118, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 382 381 insert into sys.functions values (118, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 381
383 insert into sys.args values (9311, 118, 'res_0', 'hugeint', 128, 0, 0, 0); 383 ! 382 insert into sys.args values (9309, 118, 'res_0', 'hugeint', 128, 0, 0, 0); 382
384 insert into sys.args values (9312, 118, 'arg_1', 'int', 32, 0, 1, 1); 384 ! 383 insert into sys.args values (9310, 118, 'arg_1', 'smallint', 16, 0, 1, 1); 383
385 insert into sys.functions values (119, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 385 384 insert into sys.functions values (119, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 384
386 insert into sys.args values (9313, 119, 'res_0', 'hugeint', 128, 0, 0, 0); 386 ! 385 insert into sys.args values (9311, 119, 'res_0', 'hugeint', 128, 0, 0, 0); 385
387 insert into sys.args values (9314, 119, 'arg_1', 'bigint', 64, 0, 1, 1); 387 ! 386 insert into sys.args values (9312, 119, 'arg_1', 'int', 32, 0, 1, 1); 386
388 insert into sys.functions values (120, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 388 387 insert into sys.functions values (120, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 387
389 insert into sys.args values (9315, 120, 'res_0', 'hugeint', 128, 0, 0, 0); 389 ! 388 insert into sys.args values (9313, 120, 'res_0', 'hugeint', 128, 0, 0, 0); 388
390 insert into sys.args values (9316, 120, 'arg_1', 'hugeint', 128, 0, 1, 1); 390 ! 389 insert into sys.args values (9314, 120, 'arg_1', 'bigint', 64, 0, 1, 1); 389
391 insert into sys.functions values (121, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 391 ! 390 insert into sys.functions values (121, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 390
392 insert into sys.args values (9317, 121, 'res_0', 'tinyint', 8, 0, 0, 0); 392 ! 391 insert into sys.args values (9315, 121, 'res_0', 'hugeint', 128, 0, 0, 0); 391
393 insert into sys.args values (9318, 121, 'arg_1', 'tinyint', 8, 0, 1, 1); 393 ! 392 insert into sys.args values (9316, 121, 'arg_1', 'hugeint', 128, 0, 1, 1); 392
394 insert into sys.args values (9319, 121, 'arg_2', 'tinyint', 8, 0, 1, 2); 394 -
395 insert into sys.functions values (122, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 395 393 insert into sys.functions values (122, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 393
396 insert into sys.args values (9320, 122, 'res_0', 'smallint', 16, 0, 0, 0); 396 ! 394 insert into sys.args values (9317, 122, 'res_0', 'tinyint', 8, 0, 0, 0); 394
397 insert into sys.args values (9321, 122, 'arg_1', 'smallint', 16, 0, 1, 1); 397 ! 395 insert into sys.args values (9318, 122, 'arg_1', 'tinyint', 8, 0, 1, 1); 395
398 insert into sys.args values (9322, 122, 'arg_2', 'smallint', 16, 0, 1, 2); 398 ! 396 insert into sys.args values (9319, 122, 'arg_2', 'tinyint', 8, 0, 1, 2); 396
399 insert into sys.functions values (123, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 399 397 insert into sys.functions values (123, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 397
400 insert into sys.args values (9323, 123, 'res_0', 'int', 32, 0, 0, 0); 400 ! 398 insert into sys.args values (9320, 123, 'res_0', 'smallint', 16, 0, 0, 0); 398
401 insert into sys.args values (9324, 123, 'arg_1', 'int', 32, 0, 1, 1); 401 ! 399 insert into sys.args values (9321, 123, 'arg_1', 'smallint', 16, 0, 1, 1); 399
402 insert into sys.args values (9325, 123, 'arg_2', 'int', 32, 0, 1, 2); 402 ! 400 insert into sys.args values (9322, 123, 'arg_2', 'smallint', 16, 0, 1, 2); 400
403 insert into sys.functions values (124, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 403 401 insert into sys.functions values (124, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 401
404 insert into sys.args values (9326, 124, 'res_0', 'bigint', 64, 0, 0, 0); 404 ! 402 insert into sys.args values (9323, 124, 'res_0', 'int', 32, 0, 0, 0); 402
405 insert into sys.args values (9327, 124, 'arg_1', 'bigint', 64, 0, 1, 1); 405 ! 403 insert into sys.args values (9324, 124, 'arg_1', 'int', 32, 0, 1, 1); 403
406 insert into sys.args values (9328, 124, 'arg_2', 'bigint', 64, 0, 1, 2); 406 ! 404 insert into sys.args values (9325, 124, 'arg_2', 'int', 32, 0, 1, 2); 404
407 insert into sys.functions values (125, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 407 405 insert into sys.functions values (125, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 405
408 insert into sys.args values (9329, 125, 'res_0', 'hugeint', 128, 0, 0, 0); 408 ! 406 insert into sys.args values (9326, 125, 'res_0', 'bigint', 64, 0, 0, 0); 406
409 insert into sys.args values (9330, 125, 'arg_1', 'hugeint', 128, 0, 1, 1); 409 ! 407 insert into sys.args values (9327, 125, 'arg_1', 'bigint', 64, 0, 1, 1); 407
410 insert into sys.args values (9331, 125, 'arg_2', 'hugeint', 128, 0, 1, 2); 410 ! 408 insert into sys.args values (9328, 125, 'arg_2', 'bigint', 64, 0, 1, 2); 408
411 insert into sys.functions values (126, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 411 409 insert into sys.functions values (126, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 409
412 insert into sys.args values (9332, 126, 'res_0', 'decimal', 2, 0, 0, 0); 412 ! 410 insert into sys.args values (9329, 126, 'res_0', 'hugeint', 128, 0, 0, 0); 410
413 insert into sys.args values (9333, 126, 'arg_1', 'decimal', 2, 0, 1, 1); 413 ! 411 insert into sys.args values (9330, 126, 'arg_1', 'hugeint', 128, 0, 1, 1); 411
414 insert into sys.args values (9334, 126, 'arg_2', 'decimal', 2, 0, 1, 2); 414 ! 412 insert into sys.args values (9331, 126, 'arg_2', 'hugeint', 128, 0, 1, 2); 412
415 insert into sys.functions values (127, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 415 413 insert into sys.functions values (127, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 413
416 insert into sys.args values (9335, 127, 'res_0', 'decimal', 4, 0, 0, 0); 416 ! 414 insert into sys.args values (9332, 127, 'res_0', 'decimal', 2, 0, 0, 0); 414
417 insert into sys.args values (9336, 127, 'arg_1', 'decimal', 4, 0, 1, 1); 417 ! 415 insert into sys.args values (9333, 127, 'arg_1', 'decimal', 2, 0, 1, 1); 415
418 insert into sys.args values (9337, 127, 'arg_2', 'decimal', 4, 0, 1, 2); 418 ! 416 insert into sys.args values (9334, 127, 'arg_2', 'decimal', 2, 0, 1, 2); 416
419 insert into sys.functions values (128, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 419 417 insert into sys.functions values (128, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 417
420 insert into sys.args values (9338, 128, 'res_0', 'decimal', 9, 0, 0, 0); 420 ! 418 insert into sys.args values (9335, 128, 'res_0', 'decimal', 4, 0, 0, 0); 418
421 insert into sys.args values (9339, 128, 'arg_1', 'decimal', 9, 0, 1, 1); 421 ! 419 insert into sys.args values (9336, 128, 'arg_1', 'decimal', 4, 0, 1, 1); 419
422 insert into sys.args values (9340, 128, 'arg_2', 'decimal', 9, 0, 1, 2); 422 ! 420 insert into sys.args values (9337, 128, 'arg_2', 'decimal', 4, 0, 1, 2); 420
423 insert into sys.functions values (129, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 423 421 insert into sys.functions values (129, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 421
424 insert into sys.args values (9341, 129, 'res_0', 'decimal', 18, 0, 0, 0); 424 ! 422 insert into sys.args values (9338, 129, 'res_0', 'decimal', 9, 0, 0, 0); 422
425 insert into sys.args values (9342, 129, 'arg_1', 'decimal', 18, 0, 1, 1); 425 ! 423 insert into sys.args values (9339, 129, 'arg_1', 'decimal', 9, 0, 1, 1); 423
426 insert into sys.args values (9343, 129, 'arg_2', 'decimal', 18, 0, 1, 2); 426 ! 424 insert into sys.args values (9340, 129, 'arg_2', 'decimal', 9, 0, 1, 2); 424
427 insert into sys.functions values (130, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 427 425 insert into sys.functions values (130, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 425
428 insert into sys.args values (9344, 130, 'res_0', 'decimal', 38, 0, 0, 0); 428 ! 426 insert into sys.args values (9341, 130, 'res_0', 'decimal', 18, 0, 0, 0); 426
429 insert into sys.args values (9345, 130, 'arg_1', 'decimal', 38, 0, 1, 1); 429 ! 427 insert into sys.args values (9342, 130, 'arg_1', 'decimal', 18, 0, 1, 1); 427
430 insert into sys.args values (9346, 130, 'arg_2', 'decimal', 38, 0, 1, 2); 430 ! 428 insert into sys.args values (9343, 130, 'arg_2', 'decimal', 18, 0, 1, 2); 428
431 insert into sys.functions values (131, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 431 429 insert into sys.functions values (131, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 429
432 insert into sys.args values (9347, 131, 'res_0', 'real', 24, 0, 0, 0); 432 ! 430 insert into sys.args values (9344, 131, 'res_0', 'decimal', 38, 0, 0, 0); 430
433 insert into sys.args values (9348, 131, 'arg_1', 'real', 24, 0, 1, 1); 433 ! 431 insert into sys.args values (9345, 131, 'arg_1', 'decimal', 38, 0, 1, 1); 431
434 insert into sys.args values (9349, 131, 'arg_2', 'real', 24, 0, 1, 2); 434 ! 432 insert into sys.args values (9346, 131, 'arg_2', 'decimal', 38, 0, 1, 2); 432
435 insert into sys.functions values (132, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 435 433 insert into sys.functions values (132, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 433
436 insert into sys.args values (9350, 132, 'res_0', 'double', 53, 0, 0, 0); 436 ! 434 insert into sys.args values (9347, 132, 'res_0', 'real', 24, 0, 0, 0); 434
437 insert into sys.args values (9351, 132, 'arg_1', 'double', 53, 0, 1, 1); 437 ! 435 insert into sys.args values (9348, 132, 'arg_1', 'real', 24, 0, 1, 1); 435
438 insert into sys.args values (9352, 132, 'arg_2', 'double', 53, 0, 1, 2); 438 ! 436 insert into sys.args values (9349, 132, 'arg_2', 'real', 24, 0, 1, 2); 436
439 insert into sys.functions values (133, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 439 ! 437 insert into sys.functions values (133, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 437
440 insert into sys.args values (9353, 133, 'res_0', 'real', 24, 0, 0, 0); 440 ! 438 insert into sys.args values (9350, 133, 'res_0', 'double', 53, 0, 0, 0); 438
441 insert into sys.args values (9354, 133, 'arg_1', 'real', 24, 0, 1, 1); 441 ! 439 insert into sys.args values (9351, 133, 'arg_1', 'double', 53, 0, 1, 1); 439
insert into sys. + 440 insert into sys.args values (9352, 133, 'arg_2', 'double', 53, 0, 1, 2); 440
442 functions values (134, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 442 ! 441 insert into sys.functions values (134, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 441
443 insert into sys.args values (9355, 134, 'res_0', 'real', 24, 0, 0, 0); 443 ! 442 insert into sys.args values (9353, 134, 'res_0', 'real', 24, 0, 0, 0); 442
444 insert into sys.args values (9356, 134, 'arg_1', 'real', 24, 0, 1, 1); 444 ! 443 insert into sys.args values (9354, 134, 'arg_1', 'real', 24, 0, 1, 1); 443
445 insert into sys.functions values (135, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 445 ! 444 insert into sys.functions values (135, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 444
446 insert into sys.args values (9357, 135, 'res_0', 'double', 53, 0, 0, 0); 446 ! 445 insert into sys.args values (9355, 135, 'res_0', 'real', 24, 0, 0, 0); 445
447 insert into sys.args values (9358, 135, 'arg_1', 'double', 53, 0, 1, 1); 447 ! 446 insert into sys.args values (9356, 135, 'arg_1', 'real', 24, 0, 1, 1); 446
448 insert into sys.functions values (136, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 448 ! 447 insert into sys.functions values (136, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 447
449 insert into sys.args values (9359, 136, 'res_0', 'double', 53, 0, 0, 0); 449 ! 448 insert into sys.args values (9357, 136, 'res_0', 'double', 53, 0, 0, 0); 448
450 insert into sys.args values (9360, 136, 'arg_1', 'double', 53, 0, 1, 1); 450 ! 449 insert into sys.args values (9358, 136, 'arg_1', 'double', 53, 0, 1, 1); 449
451 insert into sys.functions values (137, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 451 ! 450 insert into sys.functions values (137, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 450
452 insert into sys.args values (9361, 137, 'res_0', 'month_interval', 32, 0, 0, 0); 452 ! 451 insert into sys.args values (9359, 137, 'res_0', 'double', 53, 0, 0, 0); 451
453 insert into sys.args values (9362, 137, 'arg_1', 'month_interval', 32, 0, 1, 1); 453 ! 452 insert into sys.args values (9360, 137, 'arg_1', 'double', 53, 0, 1, 1); 452
454 insert into sys.functions values (138, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 454 453 insert into sys.functions values (138, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 453
455 insert into sys.args values (9363, 138, 'res_0', 'sec_interval', 13, 0, 0, 0); 455 ! 454 insert into sys.args values (9361, 138, 'res_0', 'month_interval', 3, 0, 0, 0); 454
456 insert into sys.args values (9364, 138, 'arg_1', 'sec_interval', 13, 0, 1, 1); 456 ! 455 insert into sys.args values (9362, 138, 'arg_1', 'month_interval', 3, 0, 1, 1); 455
457 insert into sys.functions values (139, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 457 ! 456 insert into sys.functions values (139, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 456
458 insert into sys.args values (9365, 139, 'res_0', 'double', 53, 0, 0, 0); 458 ! 457 insert into sys.args values (9363, 139, 'res_0', 'day_interval', 4, 0, 0, 0); 457
459 insert into sys.args values (9366, 139, 'arg_1', 'double', 53, 0, 1, 1); 459 ! 458 insert into sys.args values (9364, 139, 'arg_1', 'day_interval', 4, 0, 1, 1); 458
460 insert into sys.functions values (140, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 460 ! 459 insert into sys.functions values (140, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 459
461 insert into sys.args values (9367, 140, 'res_0', 'double', 53, 0, 0, 0); 461 ! 460 insert into sys.args values (9365, 140, 'res_0', 'sec_interval', 13, 0, 0, 0); 460
462 insert into sys.args values (9368, 140, 'arg_1', 'tinyint', 8, 0, 1, 1); 462 ! 461 insert into sys.args values (9366, 140, 'arg_1', 'sec_interval', 13, 0, 1, 1); 461
463 insert into sys.functions values (141, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 463 462 insert into sys.functions values (141, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 462
464 insert into sys.args values (9369, 141, 'res_0', 'double', 53, 0, 0, 0); 464 ! 463 insert into sys.args values (9367, 141, 'res_0', 'double', 53, 0, 0, 0); 463
465 insert into sys.args values (9370, 141, 'arg_1', 'smallint', 16, 0, 1, 1); 465 ! 464 insert into sys.args values (9368, 141, 'arg_1', 'double', 53, 0, 1, 1); 464
466 insert into sys.functions values (142, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 466 465 insert into sys.functions values (142, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 465
467 insert into sys.args values (9371, 142, 'res_0', 'double', 53, 0, 0, 0); 467 ! 466 insert into sys.args values (9369, 142, 'res_0', 'double', 53, 0, 0, 0); 466
468 insert into sys.args values (9372, 142, 'arg_1', 'int', 32, 0, 1, 1); 468 ! 467 insert into sys.args values (9370, 142, 'arg_1', 'tinyint', 8, 0, 1, 1); 467
469 insert into sys.functions values (143, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 469 468 insert into sys.functions values (143, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 468
470 insert into sys.args values (9373, 143, 'res_0', 'double', 53, 0, 0, 0); 470 ! 469 insert into sys.args values (9371, 143, 'res_0', 'double', 53, 0, 0, 0); 469
471 insert into sys.args values (9374, 143, 'arg_1', 'bigint', 64, 0, 1, 1); 471 ! 470 insert into sys.args values (9372, 143, 'arg_1', 'smallint', 16, 0, 1, 1); 470
472 insert into sys.functions values (144, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 472 471 insert into sys.functions values (144, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 471
473 insert into sys.args values (9375, 144, 'res_0', 'double', 53, 0, 0, 0); 473 ! 472 insert into sys.args values (9373, 144, 'res_0', 'double', 53, 0, 0, 0); 472
474 insert into sys.args values (9376, 144, 'arg_1', 'hugeint', 128, 0, 1, 1); 474 ! 473 insert into sys.args values (9374, 144, 'arg_1', 'int', 32, 0, 1, 1); 473
475 insert into sys.functions values (145, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 475 474 insert into sys.functions values (145, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 474
476 insert into sys.args values (9377, 145, 'res_0', 'double', 53, 0, 0, 0); 476 ! 475 insert into sys.args values (9375, 145, 'res_0', 'double', 53, 0, 0, 0); 475
477 insert into sys.args values (9378, 145, 'arg_1', 'real', 24, 0, 1, 1); 477 ! 476 insert into sys.args values (9376, 145, 'arg_1', 'bigint', 64, 0, 1, 1); 476
478 insert into sys.functions values (146, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 478 477 insert into sys.functions values (146, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 477
479 insert into sys.args values (9379, 146, 'res_0', 'decimal', 2, 0, 0, 0); 479 ! 478 insert into sys.args values (9377, 146, 'res_0', 'double', 53, 0, 0, 0); 478
480 insert into sys.args values (9380, 146, 'arg_1', 'decimal', 2, 0, 1, 1); 480 ! 479 insert into sys.args values (9378, 146, 'arg_1', 'hugeint', 128, 0, 1, 1); 479
481 insert into sys.functions values (147, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 481 480 insert into sys.functions values (147, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 480
482 insert into sys.args values (9381, 147, 'res_0', 'decimal', 4, 0, 0, 0); 482 ! 481 insert into sys.args values (9379, 147, 'res_0', 'double', 53, 0, 0, 0); 481
483 insert into sys.args values (9382, 147, 'arg_1', 'decimal', 4, 0, 1, 1); 483 ! 482 insert into sys.args values (9380, 147, 'arg_1', 'real', 24, 0, 1, 1); 482
484 insert into sys.functions values (148, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 484 483 insert into sys.functions values (148, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 483
485 insert into sys.args values (9383, 148, 'res_0', 'decimal', 9, 0, 0, 0); 485 ! 484 insert into sys.args values (9381, 148, 'res_0', 'decimal', 2, 0, 0, 0); 484
486 insert into sys.args values (9384, 148, 'arg_1', 'decimal', 9, 0, 1, 1); 486 ! 485 insert into sys.args values (9382, 148, 'arg_1', 'decimal', 2, 0, 1, 1); 485
487 insert into sys.functions values (149, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 487 486 insert into sys.functions values (149, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 486
488 insert into sys.args values (9385, 149, 'res_0', 'decimal', 18, 0, 0, 0); 488 ! 487 insert into sys.args values (9383, 149, 'res_0', 'decimal', 4, 0, 0, 0); 487
489 insert into sys.args values (9386, 149, 'arg_1', 'decimal', 18, 0, 1, 1); 489 ! 488 insert into sys.args values (9384, 149, 'arg_1', 'decimal', 4, 0, 1, 1); 488
490 insert into sys.functions values (150, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 490 489 insert into sys.functions values (150, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 489
491 insert into sys.args values (9387, 150, 'res_0', 'decimal', 38, 0, 0, 0); 491 ! 490 insert into sys.args values (9385, 150, 'res_0', 'decimal', 9, 0, 0, 0); 490
492 insert into sys.args values (9388, 150, 'arg_1', 'decimal', 38, 0, 1, 1); 492 ! 491 insert into sys.args values (9386, 150, 'arg_1', 'decimal', 9, 0, 1, 1); 491
493 insert into sys.functions values (151, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 493 492 insert into sys.functions values (151, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 492
494 insert into sys.args values (9389, 151, 'res_0', 'month_interval', 32, 0, 0, 0); 494 ! 493 insert into sys.args values (9387, 151, 'res_0', 'decimal', 18, 0, 0, 0); 493
495 insert into sys.args values (9390, 151, 'arg_1', 'month_interval', 32, 0, 1, 1); 495 ! 494 insert into sys.args values (9388, 151, 'arg_1', 'decimal', 18, 0, 1, 1); 494
496 insert into sys.functions values (152, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 496 495 insert into sys.functions values (152, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 495
497 insert into sys.args values (9391, 152, 'res_0', 'sec_interval', 13, 0, 0, 0); 497 ! 496 insert into sys.args values (9389, 152, 'res_0', 'decimal', 38, 0, 0, 0); 496
498 insert into sys.args values (9392, 152, 'arg_1', 'sec_interval', 13, 0, 1, 1); 498 ! 497 insert into sys.args values (9390, 152, 'arg_1', 'decimal', 38, 0, 1, 1); 497
499 insert into sys.functions values (153, 'count_no_nil', 'count_no_nil', 'aggr', 0, 3, false, false, false, 2000, true, true); 499 ! 498 insert into sys.functions values (153, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 498
500 insert into sys.args values (9393, 153, 'res_0', 'bigint', 64, 0, 0, 0); 500 ! 499 insert into sys.args values (9391, 153, 'res_0', 'month_interval', 3, 0, 0, 0); 499
insert into sys. + 500 insert into sys.args values (9392, 153, 'arg_1', 'month_interval', 3, 0, 1, 1); 500
501 functions values (154, 'count', 'count', 'aggr', 0, 3, false, false, false, 2000, true, true); 501 ! 501 insert into sys.functions values (154, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 501
502 insert into sys.args values (9394, 154, 'res_0', 'bigint', 64, 0, 0, 0); 502 ! 502 insert into sys.args values (9393, 154, 'res_0', 'day_interval', 4, 0, 0, 0); 502
503 insert into sys.args values (9395, 154, 'arg_1', 'any', 0, 0, 1, 1); 503 ! 503 insert into sys.args values (9394, 154, 'arg_1', 'day_interval', 4, 0, 1, 1); 503
504 insert into sys.functions values (155, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 504 ! 504 insert into sys.functions values (155, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 504
505 insert into sys.args values (9396, 155, 'res_0', 'char', 0, 0, 0, 0); 505 ! 505 insert into sys.args values (9395, 155, 'res_0', 'sec_interval', 13, 0, 0, 0); 505
506 insert into sys.args values (9397, 155, 'arg_1', 'char', 0, 0, 1, 1); 506 ! 506 insert into sys.args values (9396, 155, 'arg_1', 'sec_interval', 13, 0, 1, 1); 506
507 insert into sys.functions values (156, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 507 ! 507 insert into sys.functions values (156, 'count_no_nil', 'count_no_nil', 'aggr', 0, 3, false, false, false, 2000, true, true); 507
508 insert into sys.args values (9398, 156, 'res_0', 'char', 0, 0, 0, 0); 508 -
509 insert into sys.args values (9399, 156, 'arg_1', 'char', 0, 0, 1, 1); 509 ! 508 insert into sys.args values (9397, 156, 'res_0', 'bigint', 64, 0, 0, 0); 508
510 insert into sys.args values (9400, 156, 'arg_2', 'char', 0, 0, 1, 2); 510 ! 509 insert into sys.functions values (157, 'count', 'count', 'aggr', 0, 3, false, false, false, 2000, true, true); 509
511 insert into sys.functions values (157, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 511 -
512 insert into sys.args values (9401, 157, 'res_0', 'varchar', 0, 0, 0, 0); 512 ! 510 insert into sys.args values (9398, 157, 'res_0', 'bigint', 64, 0, 0, 0); 510
513 insert into sys.args values (9402, 157, 'arg_1', 'varchar', 0, 0, 1, 1); 513 ! 511 insert into sys.args values (9399, 157, 'arg_1', 'any', 0, 0, 1, 1); 511
514 insert into sys.functions values (158, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 514 512 insert into sys.functions values (158, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 512
515 insert into sys.args values (9403, 158, 'res_0', 'varchar', 0, 0, 0, 0); 515 ! 513 insert into sys.args values (9400, 158, 'res_0', 'char', 0, 0, 0, 0); 513
516 insert into sys.args values (9404, 158, 'arg_1', 'varchar', 0, 0, 1, 1); 516 ! 514 insert into sys.args values (9401, 158, 'arg_1', 'char', 0, 0, 1, 1); 514
+ 515 insert into sys.functions values (159, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 515
517 insert into sys.args values (9405, 158, 'arg_2', 'varchar', 0, 0, 1, 2); 517 ! 516 insert into sys.args values (9402, 159, 'res_0', 'char', 0, 0, 0, 0); 516
518 insert into sys.functions values (159, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 518 -
519 insert into sys.args values (9406, 159, 'res_0', 'clob', 0, 0, 0, 0); 519 ! 517 insert into sys.args values (9403, 159, 'arg_1', 'char', 0, 0, 1, 1); 517
520 insert into sys.args values (9407, 159, 'arg_1', 'clob', 0, 0, 1, 1); 520 ! 518 insert into sys.args values (9404, 159, 'arg_2', 'char', 0, 0, 1, 2); 518
521 insert into sys.functions values (160, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 521 519 insert into sys.functions values (160, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 519
522 insert into sys.args values (9408, 160, 'res_0', 'clob', 0, 0, 0, 0); 522 ! 520 insert into sys.args values (9405, 160, 'res_0', 'varchar', 0, 0, 0, 0); 520
523 insert into sys.args values (9409, 160, 'arg_1', 'clob', 0, 0, 1, 1); 523 ! 521 insert into sys.args values (9406, 160, 'arg_1', 'varchar', 0, 0, 1, 1); 521
524 insert into sys.args values (9410, 160, 'arg_2', 'clob', 0, 0, 1, 2); 524 ! 522 insert into sys.functions values (161, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 522
525 insert into sys.functions values (161, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 525 ! 523 insert into sys.args values (9407, 161, 'res_0', 'varchar', 0, 0, 0, 0); 523
526 insert into sys.args values (9411, 161, 'res_0', 'boolean', 1, 0, 0, 0); 526 ! 524 insert into sys.args values (9408, 161, 'arg_1', 'varchar', 0, 0, 1, 1); 524
527 insert into sys.args values (9412, 161, 'arg_1', 'any', 0, 0, 1, 1); 527 ! 525 insert into sys.args values (9409, 161, 'arg_2', 'varchar', 0, 0, 1, 2); 525
528 insert into sys.functions values (162, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 528 ! 526 insert into sys.functions values (162, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 526
529 insert into sys.args values (9413, 162, 'res_0', 'boolean', 1, 0, 0, 0); 529 ! 527 insert into sys.args values (9410, 162, 'res_0', 'clob', 0, 0, 0, 0); 527
530 insert into sys.args values (9414, 162, 'arg_1', 'boolean', 1, 0, 1, 1); 530 ! 528 insert into sys.args values (9411, 162, 'arg_1', 'clob', 0, 0, 1, 1); 528
531 insert into sys.args values (9415, 162, 'arg_2', 'any', 0, 0, 1, 2); 531 ! 529 insert into sys.functions values (163, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 529
532 insert into sys.functions values (163, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 532 ! 530 insert into sys.args values (9412, 163, 'res_0', 'clob', 0, 0, 0, 0); 530
533 insert into sys.args values (9416, 163, 'res_0', 'bigint', 64, 0, 0, 0); 533 ! 531 insert into sys.args values (9413, 163, 'arg_1', 'clob', 0, 0, 1, 1); 531
534 insert into sys.args values (9417, 163, 'arg_1', 'any', 0, 0, 1, 1); 534 ! 532 insert into sys.args values (9414, 163, 'arg_2', 'clob', 0, 0, 1, 2); 532
535 insert into sys.args values (9418, 163, 'arg_2', 'int', 32, 0, 1, 2); 535 ! 533 insert into sys.functions values (164, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 533
536 insert into sys.args values (9419, 163, 'arg_3', 'int', 32, 0, 1, 3); 536 ! 534 insert into sys.args values (9415, 164, 'res_0', 'boolean', 1, 0, 0, 0); 534
537 insert into sys.args values (9420, 163, 'arg_4', 'int', 32, 0, 1, 4); 537 ! 535 insert into sys.args values (9416, 164, 'arg_1', 'any', 0, 0, 1, 1); 535
538 insert into sys.args values (9421, 163, 'arg_5', 'tinyint', 8, 0, 1, 5); 538 ! 536 insert into sys.functions values (165, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 536
539 insert into sys.functions values (164, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 539 -
540 insert into sys.args values (9422, 164, 'res_0', 'bigint', 64, 0, 0, 0); 540 ! 537 insert into sys.args values (9417, 165, 'res_0', 'boolean', 1, 0, 0, 0); 537
541 insert into sys.args values (9423, 164, 'arg_1', 'boolean', 1, 0, 1, 1); 541 ! 538 insert into sys.args values (9418, 165, 'arg_1', 'boolean', 1, 0, 1, 1); 538
542 insert into sys.args values (9424, 164, 'arg_2', 'any', 0, 0, 1, 2); 542 ! 539 insert into sys.args values (9419, 165, 'arg_2', 'any', 0, 0, 1, 2); 539
543 insert into sys.args values (9425, 164, 'arg_3', 'int', 32, 0, 1, 3); 543 -
544 insert into sys.args values (9426, 164, 'arg_4', 'int', 32, 0, 1, 4); 544 -
545 insert into sys.args values (9427, 164, 'arg_5', 'int', 32, 0, 1, 5); 545 -
546 insert into sys.args values (9428, 164, 'arg_6', 'tinyint', 8, 0, 1, 6); 546 -
547 insert into sys.functions values (165, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 547 -
548 insert into sys.args values (9429, 165, 'res_0', 'bigint', 64, 0, 0, 0); 548 -
549 insert into sys.args values (9430, 165, 'arg_1', 'any', 0, 0, 1, 1); 549 -
550 insert into sys.args values (9431, 165, 'arg_2', 'int', 32, 0, 1, 2); 550 -
551 insert into sys.args values (9432, 165, 'arg_3', 'int', 32, 0, 1, 3); 551 -
552 insert into sys.args values (9433, 165, 'arg_4', 'int', 32, 0, 1, 4); 552 -
553 insert into sys.args values (9434, 165, 'arg_5', 'smallint', 16, 0, 1, 5); 553 -
554 insert into sys.functions values (166, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 554 540 insert into sys.functions values (166, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 540
555 insert into sys.args values (9435, 166, 'res_0', 'bigint', 64, 0, 0, 0); 555 ! 541 insert into sys.args values (9420, 166, 'res_0', 'bigint', 64, 0, 0, 0); 541
556 insert into sys.args values (9436, 166, 'arg_1', 'boolean', 1, 0, 1, 1); 556 ! 542 insert into sys.args values (9421, 166, 'arg_1', 'any', 0, 0, 1, 1); 542
557 insert into sys.args values (9437, 166, 'arg_2', 'any', 0, 0, 1, 2); 557 ! 543 insert into sys.args values (9422, 166, 'arg_2', 'int', 32, 0, 1, 2); 543
558 insert into sys.args values (9438, 166, 'arg_3', 'int', 32, 0, 1, 3); 558 ! 544 insert into sys.args values (9423, 166, 'arg_3', 'int', 32, 0, 1, 3); 544
559 insert into sys.args values (9439, 166, 'arg_4', 'int', 32, 0, 1, 4); 559 ! 545 insert into sys.args values (9424, 166, 'arg_4', 'int', 32, 0, 1, 4); 545
560 insert into sys.args values (9440, 166, 'arg_5', 'int', 32, 0, 1, 5); 560 ! 546 insert into sys.args values (9425, 166, 'arg_5', 'tinyint', 8, 0, 1, 5); 546
561 insert into sys.args values (9441, 166, 'arg_6', 'smallint', 16, 0, 1, 6); 561 -
562 insert into sys.functions values (167, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 562 547 insert into sys.functions values (167, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 547
563 insert into sys.args values (9442, 167, 'res_0', 'bigint', 64, 0, 0, 0); 563 ! 548 insert into sys.args values (9426, 167, 'res_0', 'bigint', 64, 0, 0, 0); 548
564 insert into sys.args values (9443, 167, 'arg_1', 'any', 0, 0, 1, 1); 564 ! 549 insert into sys.args values (9427, 167, 'arg_1', 'boolean', 1, 0, 1, 1); 549
565 insert into sys.args values (9444, 167, 'arg_2', 'int', 32, 0, 1, 2); 565 ! 550 insert into sys.args values (9428, 167, 'arg_2', 'any', 0, 0, 1, 2); 550
566 insert into sys.args values (9445, 167, 'arg_3', 'int', 32, 0, 1, 3); 566 ! 551 insert into sys.args values (9429, 167, 'arg_3', 'int', 32, 0, 1, 3); 551
567 insert into sys.args values (9446, 167, 'arg_4', 'int', 32, 0, 1, 4); 567 ! 552 insert into sys.args values (9430, 167, 'arg_4', 'int', 32, 0, 1, 4); 552
568 insert into sys.args values (9447, 167, 'arg_5', 'int', 32, 0, 1, 5); 568 ! 553 insert into sys.args values (9431, 167, 'arg_5', 'int', 32, 0, 1, 5); 553
+ 554 insert into sys.args values (9432, 167, 'arg_6', 'tinyint', 8, 0, 1, 6); 554
569 insert into sys.functions values (168, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 569 555 insert into sys.functions values (168, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 555
570 insert into sys.args values (9448, 168, 'res_0', 'bigint', 64, 0, 0, 0); 570 ! 556 insert into sys.args values (9433, 168, 'res_0', 'bigint', 64, 0, 0, 0); 556
571 insert into sys.args values (9449, 168, 'arg_1', 'boolean', 1, 0, 1, 1); 571 ! 557 insert into sys.args values (9434, 168, 'arg_1', 'any', 0, 0, 1, 1); 557
572 insert into sys.args values (9450, 168, 'arg_2', 'any', 0, 0, 1, 2); 572 ! 558 insert into sys.args values (9435, 168, 'arg_2', 'int', 32, 0, 1, 2); 558
573 insert into sys.args values (9451, 168, 'arg_3', 'int', 32, 0, 1, 3); 573 ! 559 insert into sys.args values (9436, 168, 'arg_3', 'int', 32, 0, 1, 3); 559
574 insert into sys.args values (9452, 168, 'arg_4', 'int', 32, 0, 1, 4); 574 ! 560 insert into sys.args values (9437, 168, 'arg_4', 'int', 32, 0, 1, 4); 560
575 insert into sys.args values (9453, 168, 'arg_5', 'int', 32, 0, 1, 5); 575 ! 561 insert into sys.args values (9438, 168, 'arg_5', 'smallint', 16, 0, 1, 5); 561
576 insert into sys.args values (9454, 168, 'arg_6', 'int', 32, 0, 1, 6); 576 -
577 insert into sys.functions values (169, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 577 562 insert into sys.functions values (169, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 562
578 insert into sys.args values (9455, 169, 'res_0', 'bigint', 64, 0, 0, 0); 578 ! 563 insert into sys.args values (9439, 169, 'res_0', 'bigint', 64, 0, 0, 0); 563
579 insert into sys.args values (9456, 169, 'arg_1', 'any', 0, 0, 1, 1); 579 ! 564 insert into sys.args values (9440, 169, 'arg_1', 'boolean', 1, 0, 1, 1); 564
580 insert into sys.args values (9457, 169, 'arg_2', 'int', 32, 0, 1, 2); 580 ! 565 insert into sys.args values (9441, 169, 'arg_2', 'any', 0, 0, 1, 2); 565
581 insert into sys.args values (9458, 169, 'arg_3', 'int', 32, 0, 1, 3); 581 ! 566 insert into sys.args values (9442, 169, 'arg_3', 'int', 32, 0, 1, 3); 566
582 insert into sys.args values (9459, 169, 'arg_4', 'int', 32, 0, 1, 4); 582 ! 567 insert into sys.args values (9443, 169, 'arg_4', 'int', 32, 0, 1, 4); 567
583 insert into sys.args values (9460, 169, 'arg_5', 'bigint', 64, 0, 1, 5); 583 ! 568 insert into sys.args values (9444, 169, 'arg_5', 'int', 32, 0, 1, 5); 568
+ 569 insert into sys.args values (9445, 169, 'arg_6', 'smallint', 16, 0, 1, 6); 569
584 insert into sys.functions values (170, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 584 570 insert into sys.functions values (170, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 570
585 insert into sys.args values (9461, 170, 'res_0', 'bigint', 64, 0, 0, 0); 585 ! 571 insert into sys.args values (9446, 170, 'res_0', 'bigint', 64, 0, 0, 0); 571
586 insert into sys.args values (9462, 170, 'arg_1', 'boolean', 1, 0, 1, 1); 586 ! 572 insert into sys.args values (9447, 170, 'arg_1', 'any', 0, 0, 1, 1); 572
587 insert into sys.args values (9463, 170, 'arg_2', 'any', 0, 0, 1, 2); 587 ! 573 insert into sys.args values (9448, 170, 'arg_2', 'int', 32, 0, 1, 2); 573
588 insert into sys.args values (9464, 170, 'arg_3', 'int', 32, 0, 1, 3); 588 ! 574 insert into sys.args values (9449, 170, 'arg_3', 'int', 32, 0, 1, 3); 574
589 insert into sys.args values (9465, 170, 'arg_4', 'int', 32, 0, 1, 4); 589 ! 575 insert into sys.args values (9450, 170, 'arg_4', 'int', 32, 0, 1, 4); 575
590 insert into sys.args values (9466, 170, 'arg_5', 'int', 32, 0, 1, 5); 590 ! 576 insert into sys.args values (9451, 170, 'arg_5', 'int', 32, 0, 1, 5); 576
591 insert into sys.args values (9467, 170, 'arg_6', 'bigint', 64, 0, 1, 6); 591 -
592 insert into sys.functions values (171, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 592 577 insert into sys.functions values (171, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 577
593 insert into sys.args values (9468, 171, 'res_0', 'bigint', 64, 0, 0, 0); 593 ! 578 insert into sys.args values (9452, 171, 'res_0', 'bigint', 64, 0, 0, 0); 578
594 insert into sys.args values (9469, 171, 'arg_1', 'any', 0, 0, 1, 1); 594 ! 579 insert into sys.args values (9453, 171, 'arg_1', 'boolean', 1, 0, 1, 1); 579
595 insert into sys.args values (9470, 171, 'arg_2', 'int', 32, 0, 1, 2); 595 ! 580 insert into sys.args values (9454, 171, 'arg_2', 'any', 0, 0, 1, 2); 580
596 insert into sys.args values (9471, 171, 'arg_3', 'int', 32, 0, 1, 3); 596 ! 581 insert into sys.args values (9455, 171, 'arg_3', 'int', 32, 0, 1, 3); 581
597 insert into sys.args values (9472, 171, 'arg_4', 'int', 32, 0, 1, 4); 597 ! 582 insert into sys.args values (9456, 171, 'arg_4', 'int', 32, 0, 1, 4); 582
598 insert into sys.args values (9473, 171, 'arg_5', 'real', 24, 0, 1, 5); 598 ! 583 insert into sys.args values (9457, 171, 'arg_5', 'int', 32, 0, 1, 5); 583
+ 584 insert into sys.args values (9458, 171, 'arg_6', 'int', 32, 0, 1, 6); 584
599 insert into sys.functions values (172, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 599 585 insert into sys.functions values (172, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 585
600 insert into sys.args values (9474, 172, 'res_0', 'bigint', 64, 0, 0, 0); 600 ! 586 insert into sys.args values (9459, 172, 'res_0', 'bigint', 64, 0, 0, 0); 586
601 insert into sys.args values (9475, 172, 'arg_1', 'boolean', 1, 0, 1, 1); 601 ! 587 insert into sys.args values (9460, 172, 'arg_1', 'any', 0, 0, 1, 1); 587
602 insert into sys.args values (9476, 172, 'arg_2', 'any', 0, 0, 1, 2); 602 ! 588 insert into sys.args values (9461, 172, 'arg_2', 'int', 32, 0, 1, 2); 588
603 insert into sys.args values (9477, 172, 'arg_3', 'int', 32, 0, 1, 3); 603 ! 589 insert into sys.args values (9462, 172, 'arg_3', 'int', 32, 0, 1, 3); 589
604 insert into sys.args values (9478, 172, 'arg_4', 'int', 32, 0, 1, 4); 604 ! 590 insert into sys.args values (9463, 172, 'arg_4', 'int', 32, 0, 1, 4); 590
605 insert into sys.args values (9479, 172, 'arg_5', 'int', 32, 0, 1, 5); 605 ! 591 insert into sys.args values (9464, 172, 'arg_5', 'bigint', 64, 0, 1, 5); 591
606 insert into sys.args values (9480, 172, 'arg_6', 'real', 24, 0, 1, 6); 606 -
607 insert into sys.functions values (173, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 607 592 insert into sys.functions values (173, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 592
608 insert into sys.args values (9481, 173, 'res_0', 'bigint', 64, 0, 0, 0); 608 ! 593 insert into sys.args values (9465, 173, 'res_0', 'bigint', 64, 0, 0, 0); 593
609 insert into sys.args values (9482, 173, 'arg_1', 'any', 0, 0, 1, 1); 609 ! 594 insert into sys.args values (9466, 173, 'arg_1', 'boolean', 1, 0, 1, 1); 594
610 insert into sys.args values (9483, 173, 'arg_2', 'int', 32, 0, 1, 2); 610 ! 595 insert into sys.args values (9467, 173, 'arg_2', 'any', 0, 0, 1, 2); 595
611 insert into sys.args values (9484, 173, 'arg_3', 'int', 32, 0, 1, 3); 611 ! 596 insert into sys.args values (9468, 173, 'arg_3', 'int', 32, 0, 1, 3); 596
612 insert into sys.args values (9485, 173, 'arg_4', 'int', 32, 0, 1, 4); 612 ! 597 insert into sys.args values (9469, 173, 'arg_4', 'int', 32, 0, 1, 4); 597
613 insert into sys.args values (9486, 173, 'arg_5', 'double', 53, 0, 1, 5); 613 ! 598 insert into sys.args values (9470, 173, 'arg_5', 'int', 32, 0, 1, 5); 598
+ 599 insert into sys.args values (9471, 173, 'arg_6', 'bigint', 64, 0, 1, 6); 599
614 insert into sys.functions values (174, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 614 600 insert into sys.functions values (174, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 600
615 insert into sys.args values (9487, 174, 'res_0', 'bigint', 64, 0, 0, 0); 615 ! 601 insert into sys.args values (9472, 174, 'res_0', 'bigint', 64, 0, 0, 0); 601
616 insert into sys.args values (9488, 174, 'arg_1', 'boolean', 1, 0, 1, 1); 616 ! 602 insert into sys.args values (9473, 174, 'arg_1', 'any', 0, 0, 1, 1); 602
617 insert into sys.args values (9489, 174, 'arg_2', 'any', 0, 0, 1, 2); 617 ! 603 insert into sys.args values (9474, 174, 'arg_2', 'int', 32, 0, 1, 2); 603
618 insert into sys.args values (9490, 174, 'arg_3', 'int', 32, 0, 1, 3); 618 ! 604 insert into sys.args values (9475, 174, 'arg_3', 'int', 32, 0, 1, 3); 604
619 insert into sys.args values (9491, 174, 'arg_4', 'int', 32, 0, 1, 4); 619 ! 605 insert into sys.args values (9476, 174, 'arg_4', 'int', 32, 0, 1, 4); 605
620 insert into sys.args values (9492, 174, 'arg_5', 'int', 32, 0, 1, 5); 620 ! 606 insert into sys.args values (9477, 174, 'arg_5', 'real', 24, 0, 1, 5); 606
621 insert into sys.args values (9493, 174, 'arg_6', 'double', 53, 0, 1, 6); 621 -
622 insert into sys.functions values (175, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 622 607 insert into sys.functions values (175, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 607
623 insert into sys.args values (9494, 175, 'res_0', 'bigint', 64, 0, 0, 0); 623 ! 608 insert into sys.args values (9478, 175, 'res_0', 'bigint', 64, 0, 0, 0); 608
624 insert into sys.args values (9495, 175, 'arg_1', 'any', 0, 0, 1, 1); 624 ! 609 insert into sys.args values (9479, 175, 'arg_1', 'boolean', 1, 0, 1, 1); 609
625 insert into sys.args values (9496, 175, 'arg_2', 'int', 32, 0, 1, 2); 625 ! 610 insert into sys.args values (9480, 175, 'arg_2', 'any', 0, 0, 1, 2); 610
626 insert into sys.args values (9497, 175, 'arg_3', 'int', 32, 0, 1, 3); 626 ! 611 insert into sys.args values (9481, 175, 'arg_3', 'int', 32, 0, 1, 3); 611
627 insert into sys.args values (9498, 175, 'arg_4', 'int', 32, 0, 1, 4); 627 ! 612 insert into sys.args values (9482, 175, 'arg_4', 'int', 32, 0, 1, 4); 612
628 insert into sys.args values (9499, 175, 'arg_5', 'hugeint', 128, 0, 1, 5); 628 ! 613 insert into sys.args values (9483, 175, 'arg_5', 'int', 32, 0, 1, 5); 613
+ 614 insert into sys.args values (9484, 175, 'arg_6', 'real', 24, 0, 1, 6); 614
629 insert into sys.functions values (176, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 629 615 insert into sys.functions values (176, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 615
630 insert into sys.args values (9500, 176, 'res_0', 'bigint', 64, 0, 0, 0); 630 ! 616 insert into sys.args values (9485, 176, 'res_0', 'bigint', 64, 0, 0, 0); 616
631 insert into sys.args values (9501, 176, 'arg_1', 'boolean', 1, 0, 1, 1); 631 ! 617 insert into sys.args values (9486, 176, 'arg_1', 'any', 0, 0, 1, 1); 617
632 insert into sys.args values (9502, 176, 'arg_2', 'any', 0, 0, 1, 2); 632 ! 618 insert into sys.args values (9487, 176, 'arg_2', 'int', 32, 0, 1, 2); 618
633 insert into sys.args values (9503, 176, 'arg_3', 'int', 32, 0, 1, 3); 633 ! 619 insert into sys.args values (9488, 176, 'arg_3', 'int', 32, 0, 1, 3); 619
634 insert into sys.args values (9504, 176, 'arg_4', 'int', 32, 0, 1, 4); 634 ! 620 insert into sys.args values (9489, 176, 'arg_4', 'int', 32, 0, 1, 4); 620
635 insert into sys.args values (9505, 176, 'arg_5', 'int', 32, 0, 1, 5); 635 ! 621 insert into sys.args values (9490, 176, 'arg_5', 'double', 53, 0, 1, 5); 621
636 insert into sys.args values (9506, 176, 'arg_6', 'hugeint', 128, 0, 1, 6); 636 -
637 insert into sys.functions values (177, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 637 622 insert into sys.functions values (177, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 622
638 insert into sys.args values (9507, 177, 'res_0', 'bigint', 64, 0, 0, 0); 638 ! 623 insert into sys.args values (9491, 177, 'res_0', 'bigint', 64, 0, 0, 0); 623
639 insert into sys.args values (9508, 177, 'arg_1', 'any', 0, 0, 1, 1); 639 ! 624 insert into sys.args values (9492, 177, 'arg_1', 'boolean', 1, 0, 1, 1); 624
640 insert into sys.args values (9509, 177, 'arg_2', 'int', 32, 0, 1, 2); 640 ! 625 insert into sys.args values (9493, 177, 'arg_2', 'any', 0, 0, 1, 2); 625
641 insert into sys.args values (9510, 177, 'arg_3', 'int', 32, 0, 1, 3); 641 ! 626 insert into sys.args values (9494, 177, 'arg_3', 'int', 32, 0, 1, 3); 626
642 insert into sys.args values (9511, 177, 'arg_4', 'int', 32, 0, 1, 4); 642 ! 627 insert into sys.args values (9495, 177, 'arg_4', 'int', 32, 0, 1, 4); 627
643 insert into sys.args values (9512, 177, 'arg_5', 'decimal', 2, 0, 1, 5); 643 ! 628 insert into sys.args values (9496, 177, 'arg_5', 'int', 32, 0, 1, 5); 628
+ 629 insert into sys.args values (9497, 177, 'arg_6', 'double', 53, 0, 1, 6); 629
644 insert into sys.functions values (178, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 644 630 insert into sys.functions values (178, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 630
645 insert into sys.args values (9513, 178, 'res_0', 'bigint', 64, 0, 0, 0); 645 ! 631 insert into sys.args values (9498, 178, 'res_0', 'bigint', 64, 0, 0, 0); 631
646 insert into sys.args values (9514, 178, 'arg_1', 'boolean', 1, 0, 1, 1); 646 ! 632 insert into sys.args values (9499, 178, 'arg_1', 'any', 0, 0, 1, 1); 632
647 insert into sys.args values (9515, 178, 'arg_2', 'any', 0, 0, 1, 2); 647 ! 633 insert into sys.args values (9500, 178, 'arg_2', 'int', 32, 0, 1, 2); 633
648 insert into sys.args values (9516, 178, 'arg_3', 'int', 32, 0, 1, 3); 648 ! 634 insert into sys.args values (9501, 178, 'arg_3', 'int', 32, 0, 1, 3); 634
649 insert into sys.args values (9517, 178, 'arg_4', 'int', 32, 0, 1, 4); 649 ! 635 insert into sys.args values (9502, 178, 'arg_4', 'int', 32, 0, 1, 4); 635
650 insert into sys.args values (9518, 178, 'arg_5', 'int', 32, 0, 1, 5); 650 ! 636 insert into sys.args values (9503, 178, 'arg_5', 'hugeint', 128, 0, 1, 5); 636
651 insert into sys.args values (9519, 178, 'arg_6', 'decimal', 2, 0, 1, 6); 651 -
652 insert into sys.functions values (179, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 652 637 insert into sys.functions values (179, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 637
653 insert into sys.args values (9520, 179, 'res_0', 'bigint', 64, 0, 0, 0); 653 ! 638 insert into sys.args values (9504, 179, 'res_0', 'bigint', 64, 0, 0, 0); 638
654 insert into sys.args values (9521, 179, 'arg_1', 'any', 0, 0, 1, 1); 654 ! 639 insert into sys.args values (9505, 179, 'arg_1', 'boolean', 1, 0, 1, 1); 639
655 insert into sys.args values (9522, 179, 'arg_2', 'int', 32, 0, 1, 2); 655 ! 640 insert into sys.args values (9506, 179, 'arg_2', 'any', 0, 0, 1, 2); 640
656 insert into sys.args values (9523, 179, 'arg_3', 'int', 32, 0, 1, 3); 656 ! 641 insert into sys.args values (9507, 179, 'arg_3', 'int', 32, 0, 1, 3); 641
657 insert into sys.args values (9524, 179, 'arg_4', 'int', 32, 0, 1, 4); 657 ! 642 insert into sys.args values (9508, 179, 'arg_4', 'int', 32, 0, 1, 4); 642
658 insert into sys.args values (9525, 179, 'arg_5', 'decimal', 4, 0, 1, 5); 658 ! 643 insert into sys.args values (9509, 179, 'arg_5', 'int', 32, 0, 1, 5); 643
+ 644 insert into sys.args values (9510, 179, 'arg_6', 'hugeint', 128, 0, 1, 6); 644
659 insert into sys.functions values (180, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 659 645 insert into sys.functions values (180, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 645
660 insert into sys.args values (9526, 180, 'res_0', 'bigint', 64, 0, 0, 0); 660 ! 646 insert into sys.args values (9511, 180, 'res_0', 'bigint', 64, 0, 0, 0); 646
661 insert into sys.args values (9527, 180, 'arg_1', 'boolean', 1, 0, 1, 1); 661 ! 647 insert into sys.args values (9512, 180, 'arg_1', 'any', 0, 0, 1, 1); 647
662 insert into sys.args values (9528, 180, 'arg_2', 'any', 0, 0, 1, 2); 662 ! 648 insert into sys.args values (9513, 180, 'arg_2', 'int', 32, 0, 1, 2); 648
663 insert into sys.args values (9529, 180, 'arg_3', 'int', 32, 0, 1, 3); 663 ! 649 insert into sys.args values (9514, 180, 'arg_3', 'int', 32, 0, 1, 3); 649
664 insert into sys.args values (9530, 180, 'arg_4', 'int', 32, 0, 1, 4); 664 ! 650 insert into sys.args values (9515, 180, 'arg_4', 'int', 32, 0, 1, 4); 650
665 insert into sys.args values (9531, 180, 'arg_5', 'int', 32, 0, 1, 5); 665 ! 651 insert into sys.args values (9516, 180, 'arg_5', 'decimal', 2, 0, 1, 5); 651
666 insert into sys.args values (9532, 180, 'arg_6', 'decimal', 4, 0, 1, 6); 666 -
667 insert into sys.functions values (181, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 667 652 insert into sys.functions values (181, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 652
668 insert into sys.args values (9533, 181, 'res_0', 'bigint', 64, 0, 0, 0); 668 ! 653 insert into sys.args values (9517, 181, 'res_0', 'bigint', 64, 0, 0, 0); 653
669 insert into sys.args values (9534, 181, 'arg_1', 'any', 0, 0, 1, 1); 669 ! 654 insert into sys.args values (9518, 181, 'arg_1', 'boolean', 1, 0, 1, 1); 654
670 insert into sys.args values (9535, 181, 'arg_2', 'int', 32, 0, 1, 2); 670 ! 655 insert into sys.args values (9519, 181, 'arg_2', 'any', 0, 0, 1, 2); 655
671 insert into sys.args values (9536, 181, 'arg_3', 'int', 32, 0, 1, 3); 671 ! 656 insert into sys.args values (9520, 181, 'arg_3', 'int', 32, 0, 1, 3); 656
672 insert into sys.args values (9537, 181, 'arg_4', 'int', 32, 0, 1, 4); 672 ! 657 insert into sys.args values (9521, 181, 'arg_4', 'int', 32, 0, 1, 4); 657
673 insert into sys.args values (9538, 181, 'arg_5', 'decimal', 9, 0, 1, 5); 673 ! 658 insert into sys.args values (9522, 181, 'arg_5', 'int', 32, 0, 1, 5); 658
+ 659 insert into sys.args values (9523, 181, 'arg_6', 'decimal', 2, 0, 1, 6); 659
674 insert into sys.functions values (182, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 674 660 insert into sys.functions values (182, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 660
675 insert into sys.args values (9539, 182, 'res_0', 'bigint', 64, 0, 0, 0); 675 ! 661 insert into sys.args values (9524, 182, 'res_0', 'bigint', 64, 0, 0, 0); 661
676 insert into sys.args values (9540, 182, 'arg_1', 'boolean', 1, 0, 1, 1); 676 ! 662 insert into sys.args values (9525, 182, 'arg_1', 'any', 0, 0, 1, 1); 662
677 insert into sys.args values (9541, 182, 'arg_2', 'any', 0, 0, 1, 2); 677 ! 663 insert into sys.args values (9526, 182, 'arg_2', 'int', 32, 0, 1, 2); 663
678 insert into sys.args values (9542, 182, 'arg_3', 'int', 32, 0, 1, 3); 678 ! 664 insert into sys.args values (9527, 182, 'arg_3', 'int', 32, 0, 1, 3); 664
679 insert into sys.args values (9543, 182, 'arg_4', 'int', 32, 0, 1, 4); 679 ! 665 insert into sys.args values (9528, 182, 'arg_4', 'int', 32, 0, 1, 4); 665
680 insert into sys.args values (9544, 182, 'arg_5', 'int', 32, 0, 1, 5); 680 ! 666 insert into sys.args values (9529, 182, 'arg_5', 'decimal', 4, 0, 1, 5); 666
681 insert into sys.args values (9545, 182, 'arg_6', 'decimal', 9, 0, 1, 6); 681 -
682 insert into sys.functions values (183, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 682 667 insert into sys.functions values (183, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 667
683 insert into sys.args values (9546, 183, 'res_0', 'bigint', 64, 0, 0, 0); 683 ! 668 insert into sys.args values (9530, 183, 'res_0', 'bigint', 64, 0, 0, 0); 668
684 insert into sys.args values (9547, 183, 'arg_1', 'any', 0, 0, 1, 1); 684 ! 669 insert into sys.args values (9531, 183, 'arg_1', 'boolean', 1, 0, 1, 1); 669
685 insert into sys.args values (9548, 183, 'arg_2', 'int', 32, 0, 1, 2); 685 ! 670 insert into sys.args values (9532, 183, 'arg_2', 'any', 0, 0, 1, 2); 670
686 insert into sys.args values (9549, 183, 'arg_3', 'int', 32, 0, 1, 3); 686 ! 671 insert into sys.args values (9533, 183, 'arg_3', 'int', 32, 0, 1, 3); 671
687 insert into sys.args values (9550, 183, 'arg_4', 'int', 32, 0, 1, 4); 687 ! 672 insert into sys.args values (9534, 183, 'arg_4', 'int', 32, 0, 1, 4); 672
688 insert into sys.args values (9551, 183, 'arg_5', 'decimal', 18, 0, 1, 5); 688 ! 673 insert into sys.args values (9535, 183, 'arg_5', 'int', 32, 0, 1, 5); 673
+ 674 insert into sys.args values (9536, 183, 'arg_6', 'decimal', 4, 0, 1, 6); 674
689 insert into sys.functions values (184, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 689 675 insert into sys.functions values (184, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 675
690 insert into sys.args values (9552, 184, 'res_0', 'bigint', 64, 0, 0, 0); 690 ! 676 insert into sys.args values (9537, 184, 'res_0', 'bigint', 64, 0, 0, 0); 676
691 insert into sys.args values (9553, 184, 'arg_1', 'boolean', 1, 0, 1, 1); 691 ! 677 insert into sys.args values (9538, 184, 'arg_1', 'any', 0, 0, 1, 1); 677
692 insert into sys.args values (9554, 184, 'arg_2', 'any', 0, 0, 1, 2); 692 ! 678 insert into sys.args values (9539, 184, 'arg_2', 'int', 32, 0, 1, 2); 678
693 insert into sys.args values (9555, 184, 'arg_3', 'int', 32, 0, 1, 3); 693 ! 679 insert into sys.args values (9540, 184, 'arg_3', 'int', 32, 0, 1, 3); 679
694 insert into sys.args values (9556, 184, 'arg_4', 'int', 32, 0, 1, 4); 694 ! 680 insert into sys.args values (9541, 184, 'arg_4', 'int', 32, 0, 1, 4); 680
695 insert into sys.args values (9557, 184, 'arg_5', 'int', 32, 0, 1, 5); 695 ! 681 insert into sys.args values (9542, 184, 'arg_5', 'decimal', 9, 0, 1, 5); 681
696 insert into sys.args values (9558, 184, 'arg_6', 'decimal', 18, 0, 1, 6); 696 -
697 insert into sys.functions values (185, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 697 682 insert into sys.functions values (185, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 682
698 insert into sys.args values (9559, 185, 'res_0', 'bigint', 64, 0, 0, 0); 698 ! 683 insert into sys.args values (9543, 185, 'res_0', 'bigint', 64, 0, 0, 0); 683
699 insert into sys.args values (9560, 185, 'arg_1', 'any', 0, 0, 1, 1); 699 ! 684 insert into sys.args values (9544, 185, 'arg_1', 'boolean', 1, 0, 1, 1); 684
700 insert into sys.args values (9561, 185, 'arg_2', 'int', 32, 0, 1, 2); 700 ! 685 insert into sys.args values (9545, 185, 'arg_2', 'any', 0, 0, 1, 2); 685
701 insert into sys.args values (9562, 185, 'arg_3', 'int', 32, 0, 1, 3); 701 ! 686 insert into sys.args values (9546, 185, 'arg_3', 'int', 32, 0, 1, 3); 686
702 insert into sys.args values (9563, 185, 'arg_4', 'int', 32, 0, 1, 4); 702 ! 687 insert into sys.args values (9547, 185, 'arg_4', 'int', 32, 0, 1, 4); 687
703 insert into sys.args values (9564, 185, 'arg_5', 'decimal', 38, 0, 1, 5); 703 ! 688 insert into sys.args values (9548, 185, 'arg_5', 'int', 32, 0, 1, 5); 688
+ 689 insert into sys.args values (9549, 185, 'arg_6', 'decimal', 9, 0, 1, 6); 689
704 insert into sys.functions values (186, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 704 690 insert into sys.functions values (186, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 690
705 insert into sys.args values (9565, 186, 'res_0', 'bigint', 64, 0, 0, 0); 705 ! 691 insert into sys.args values (9550, 186, 'res_0', 'bigint', 64, 0, 0, 0); 691
706 insert into sys.args values (9566, 186, 'arg_1', 'boolean', 1, 0, 1, 1); 706 ! 692 insert into sys.args values (9551, 186, 'arg_1', 'any', 0, 0, 1, 1); 692
707 insert into sys.args values (9567, 186, 'arg_2', 'any', 0, 0, 1, 2); 707 ! 693 insert into sys.args values (9552, 186, 'arg_2', 'int', 32, 0, 1, 2); 693
708 insert into sys.args values (9568, 186, 'arg_3', 'int', 32, 0, 1, 3); 708 ! 694 insert into sys.args values (9553, 186, 'arg_3', 'int', 32, 0, 1, 3); 694
709 insert into sys.args values (9569, 186, 'arg_4', 'int', 32, 0, 1, 4); 709 ! 695 insert into sys.args values (9554, 186, 'arg_4', 'int', 32, 0, 1, 4); 695
710 insert into sys.args values (9570, 186, 'arg_5', 'int', 32, 0, 1, 5); 710 ! 696 insert into sys.args values (9555, 186, 'arg_5', 'decimal', 18, 0, 1, 5); 696
711 insert into sys.args values (9571, 186, 'arg_6', 'decimal', 38, 0, 1, 6); 711 -
712 insert into sys.functions values (187, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 712 697 insert into sys.functions values (187, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 697
713 insert into sys.args values (9572, 187, 'res_0', 'bigint', 64, 0, 0, 0); 713 ! 698 insert into sys.args values (9556, 187, 'res_0', 'bigint', 64, 0, 0, 0); 698
714 insert into sys.args values (9573, 187, 'arg_1', 'any', 0, 0, 1, 1); 714 ! 699 insert into sys.args values (9557, 187, 'arg_1', 'boolean', 1, 0, 1, 1); 699
715 insert into sys.args values (9574, 187, 'arg_2', 'int', 32, 0, 1, 2); 715 ! 700 insert into sys.args values (9558, 187, 'arg_2', 'any', 0, 0, 1, 2); 700
716 insert into sys.args values (9575, 187, 'arg_3', 'int', 32, 0, 1, 3); 716 ! 701 insert into sys.args values (9559, 187, 'arg_3', 'int', 32, 0, 1, 3); 701
717 insert into sys.args values (9576, 187, 'arg_4', 'int', 32, 0, 1, 4); 717 ! 702 insert into sys.args values (9560, 187, 'arg_4', 'int', 32, 0, 1, 4); 702
718 insert into sys.args values (9577, 187, 'arg_5', 'month_interval', 32, 0, 1, 5); 718 ! 703 insert into sys.args values (9561, 187, 'arg_5', 'int', 32, 0, 1, 5); 703
+ 704 insert into sys.args values (9562, 187, 'arg_6', 'decimal', 18, 0, 1, 6); 704
719 insert into sys.functions values (188, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 719 705 insert into sys.functions values (188, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 705
720 insert into sys.args values (9578, 188, 'res_0', 'bigint', 64, 0, 0, 0); 720 ! 706 insert into sys.args values (9563, 188, 'res_0', 'bigint', 64, 0, 0, 0); 706
721 insert into sys.args values (9579, 188, 'arg_1', 'boolean', 1, 0, 1, 1); 721 ! 707 insert into sys.args values (9564, 188, 'arg_1', 'any', 0, 0, 1, 1); 707
722 insert into sys.args values (9580, 188, 'arg_2', 'any', 0, 0, 1, 2); 722 ! 708 insert into sys.args values (9565, 188, 'arg_2', 'int', 32, 0, 1, 2); 708
723 insert into sys.args values (9581, 188, 'arg_3', 'int', 32, 0, 1, 3); 723 ! 709 insert into sys.args values (9566, 188, 'arg_3', 'int', 32, 0, 1, 3); 709
724 insert into sys.args values (9582, 188, 'arg_4', 'int', 32, 0, 1, 4); 724 ! 710 insert into sys.args values (9567, 188, 'arg_4', 'int', 32, 0, 1, 4); 710
725 insert into sys.args values (9583, 188, 'arg_5', 'int', 32, 0, 1, 5); 725 ! 711 insert into sys.args values (9568, 188, 'arg_5', 'decimal', 38, 0, 1, 5); 711
726 insert into sys.args values (9584, 188, 'arg_6', 'month_interval', 32, 0, 1, 6); 726 -
727 insert into sys.functions values (189, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 727 712 insert into sys.functions values (189, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 712
728 insert into sys.args values (9585, 189, 'res_0', 'bigint', 64, 0, 0, 0); 728 ! 713 insert into sys.args values (9569, 189, 'res_0', 'bigint', 64, 0, 0, 0); 713
729 insert into sys.args values (9586, 189, 'arg_1', 'any', 0, 0, 1, 1); 729 ! 714 insert into sys.args values (9570, 189, 'arg_1', 'boolean', 1, 0, 1, 1); 714
730 insert into sys.args values (9587, 189, 'arg_2', 'int', 32, 0, 1, 2); 730 ! 715 insert into sys.args values (9571, 189, 'arg_2', 'any', 0, 0, 1, 2); 715
731 insert into sys.args values (9588, 189, 'arg_3', 'int', 32, 0, 1, 3); 731 ! 716 insert into sys.args values (9572, 189, 'arg_3', 'int', 32, 0, 1, 3); 716
732 insert into sys.args values (9589, 189, 'arg_4', 'int', 32, 0, 1, 4); 732 ! 717 insert into sys.args values (9573, 189, 'arg_4', 'int', 32, 0, 1, 4); 717
733 insert into sys.args values (9590, 189, 'arg_5', 'sec_interval', 13, 0, 1, 5); 733 ! 718 insert into sys.args values (9574, 189, 'arg_5', 'int', 32, 0, 1, 5); 718
+ 719 insert into sys.args values (9575, 189, 'arg_6', 'decimal', 38, 0, 1, 6); 719
734 insert into sys.functions values (190, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 734 720 insert into sys.functions values (190, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 720
735 insert into sys.args values (9591, 190, 'res_0', 'bigint', 64, 0, 0, 0); 735 ! 721 insert into sys.args values (9576, 190, 'res_0', 'bigint', 64, 0, 0, 0); 721
736 insert into sys.args values (9592, 190, 'arg_1', 'boolean', 1, 0, 1, 1); 736 ! 722 insert into sys.args values (9577, 190, 'arg_1', 'any', 0, 0, 1, 1); 722
737 insert into sys.args values (9593, 190, 'arg_2', 'any', 0, 0, 1, 2); 737 ! 723 insert into sys.args values (9578, 190, 'arg_2', 'int', 32, 0, 1, 2); 723
738 insert into sys.args values (9594, 190, 'arg_3', 'int', 32, 0, 1, 3); 738 ! 724 insert into sys.args values (9579, 190, 'arg_3', 'int', 32, 0, 1, 3); 724
739 insert into sys.args values (9595, 190, 'arg_4', 'int', 32, 0, 1, 4); 739 ! 725 insert into sys.args values (9580, 190, 'arg_4', 'int', 32, 0, 1, 4); 725
740 insert into sys.args values (9596, 190, 'arg_5', 'int', 32, 0, 1, 5); 740 ! 726 insert into sys.args values (9581, 190, 'arg_5', 'month_interval', 3, 0, 1, 5); 726
741 insert into sys.args values (9597, 190, 'arg_6', 'sec_interval', 13, 0, 1, 6); 741 ! 727 insert into sys.functions values (191, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 727
742 insert into sys.functions values (191, 'rank', 'rank', 'sql', 0, 6, false, false, false, 2000, true, true); 742 ! 728 insert into sys.args values (9582, 191, 'res_0', 'bigint', 64, 0, 0, 0); 728
743 insert into sys.args values (9598, 191, 'res_0', 'int', 32, 0, 0, 0); 743 ! 729 insert into sys.args values (9583, 191, 'arg_1', 'boolean', 1, 0, 1, 1); 729
744 insert into sys.args values (9599, 191, 'arg_1', 'any', 0, 0, 1, 1); 744 ! 730 insert into sys.args values (9584, 191, 'arg_2', 'any', 0, 0, 1, 2); 730
745 insert into sys.args values (9600, 191, 'arg_2', 'boolean', 1, 0, 1, 2); 745 ! 731 insert into sys.args values (9585, 191, 'arg_3', 'int', 32, 0, 1, 3); 731
746 insert into sys.args values (9601, 191, 'arg_3', 'boolean', 1, 0, 1, 3); 746 ! 732 insert into sys.args values (9586, 191, 'arg_4', 'int', 32, 0, 1, 4); 732
747 insert into sys.functions values (192, 'dense_rank', 'dense_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 747 ! 733 insert into sys.args values (9587, 191, 'arg_5', 'int', 32, 0, 1, 5); 733
748 insert into sys.args values (9602, 192, 'res_0', 'int', 32, 0, 0, 0); 748 ! 734 insert into sys.args values (9588, 191, 'arg_6', 'month_interval', 3, 0, 1, 6); 734
749 insert into sys.args values (9603, 192, 'arg_1', 'any', 0, 0, 1, 1); 749 ! 735 insert into sys.functions values (192, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 735
750 insert into sys.args values (9604, 192, 'arg_2', 'boolean', 1, 0, 1, 2); 750 ! 736 insert into sys.args values (9589, 192, 'res_0', 'bigint', 64, 0, 0, 0); 736
751 insert into sys.args values (9605, 192, 'arg_3', 'boolean', 1, 0, 1, 3); 751 ! 737 insert into sys.args values (9590, 192, 'arg_1', 'any', 0, 0, 1, 1); 737
752 insert into sys.functions values (193, 'row_number', 'row_number', 'sql', 0, 6, false, false, false, 2000, true, true); 752 ! 738 insert into sys.args values (9591, 192, 'arg_2', 'int', 32, 0, 1, 2); 738
753 insert into sys.args values (9606, 193, 'res_0', 'int', 32, 0, 0, 0); 753 ! 739 insert into sys.args values (9592, 192, 'arg_3', 'int', 32, 0, 1, 3); 739
754 insert into sys.args values (9607, 193, 'arg_1', 'any', 0, 0, 1, 1); 754 ! 740 insert into sys.args values (9593, 192, 'arg_4', 'int', 32, 0, 1, 4); 740
755 insert into sys.args values (9608, 193, 'arg_2', 'boolean', 1, 0, 1, 2); 755 ! 741 insert into sys.args values (9594, 192, 'arg_5', 'day_interval', 4, 0, 1, 5); 741
756 insert into sys.args values (9609, 193, 'arg_3', 'boolean', 1, 0, 1, 3); 756 ! 742 insert into sys.functions values (193, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 742
757 insert into sys.functions values (194, 'percent_rank', 'percent_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 757 ! 743 insert into sys.args values (9595, 193, 'res_0', 'bigint', 64, 0, 0, 0); 743
758 insert into sys.args values (9610, 194, 'res_0', 'double', 53, 0, 0, 0); 758 ! 744 insert into sys.args values (9596, 193, 'arg_1', 'boolean', 1, 0, 1, 1); 744
759 insert into sys.args values (9611, 194, 'arg_1', 'any', 0, 0, 1, 1); 759 ! 745 insert into sys.args values (9597, 193, 'arg_2', 'any', 0, 0, 1, 2); 745
760 insert into sys.args values (9612, 194, 'arg_2', 'boolean', 1, 0, 1, 2); 760 ! 746 insert into sys.args values (9598, 193, 'arg_3', 'int', 32, 0, 1, 3); 746
761 insert into sys.args values (9613, 194, 'arg_3', 'boolean', 1, 0, 1, 3); 761 ! 747 insert into sys.args values (9599, 193, 'arg_4', 'int', 32, 0, 1, 4); 747
762 insert into sys.functions values (195, 'cume_dist', 'cume_dist', 'sql', 0, 6, false, false, false, 2000, true, true); 762 ! 748 insert into sys.args values (9600, 193, 'arg_5', 'int', 32, 0, 1, 5); 748
763 insert into sys.args values (9614, 195, 'res_0', 'double', 53, 0, 0, 0); 763 ! 749 insert into sys.args values (9601, 193, 'arg_6', 'day_interval', 4, 0, 1, 6); 749
764 insert into sys.args values (9615, 195, 'arg_1', 'any', 0, 0, 1, 1); 764 ! 750 insert into sys.functions values (194, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 750
765 insert into sys.args values (9616, 195, 'arg_2', 'boolean', 1, 0, 1, 2); 765 ! 751 insert into sys.args values (9602, 194, 'res_0', 'bigint', 64, 0, 0, 0); 751
766 insert into sys.args values (9617, 195, 'arg_3', 'boolean', 1, 0, 1, 3); 766 ! 752 insert into sys.args values (9603, 194, 'arg_1', 'any', 0, 0, 1, 1); 752
767 insert into sys.functions values (196, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 767 ! 753 insert into sys.args values (9604, 194, 'arg_2', 'int', 32, 0, 1, 2); 753
768 insert into sys.args values (9618, 196, 'res_0', 'tinyint', 8, 0, 0, 0); 768 ! 754 insert into sys.args values (9605, 194, 'arg_3', 'int', 32, 0, 1, 3); 754
769 insert into sys.args values (9619, 196, 'arg_1', 'any', 0, 0, 1, 1); 769 ! 755 insert into sys.args values (9606, 194, 'arg_4', 'int', 32, 0, 1, 4); 755
770 insert into sys.args values (9620, 196, 'arg_2', 'tinyint', 8, 0, 1, 2); 770 ! 756 insert into sys.args values (9607, 194, 'arg_5', 'sec_interval', 13, 0, 1, 5); 756
771 insert into sys.args values (9621, 196, 'arg_3', 'boolean', 1, 0, 1, 3); 771 ! 757 insert into sys.functions values (195, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 757
772 insert into sys.args values (9622, 196, 'arg_4', 'boolean', 1, 0, 1, 4); 772 ! 758 insert into sys.args values (9608, 195, 'res_0', 'bigint', 64, 0, 0, 0); 758
773 insert into sys.functions values (197, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 773 ! 759 insert into sys.args values (9609, 195, 'arg_1', 'boolean', 1, 0, 1, 1); 759
774 insert into sys.args values (9623, 197, 'res_0', 'smallint', 16, 0, 0, 0); 774 ! 760 insert into sys.args values (9610, 195, 'arg_2', 'any', 0, 0, 1, 2); 760
775 insert into sys.args values (9624, 197, 'arg_1', 'any', 0, 0, 1, 1); 775 ! 761 insert into sys.args values (9611, 195, 'arg_3', 'int', 32, 0, 1, 3); 761
776 insert into sys.args values (9625, 197, 'arg_2', 'smallint', 16, 0, 1, 2); 776 ! 762 insert into sys.args values (9612, 195, 'arg_4', 'int', 32, 0, 1, 4); 762
777 insert into sys.args values (9626, 197, 'arg_3', 'boolean', 1, 0, 1, 3); 777 ! 763 insert into sys.args values (9613, 195, 'arg_5', 'int', 32, 0, 1, 5); 763
778 insert into sys.args values (9627, 197, 'arg_4', 'boolean', 1, 0, 1, 4); 778 ! 764 insert into sys.args values (9614, 195, 'arg_6', 'sec_interval', 13, 0, 1, 6); 764
779 insert into sys.functions values (198, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 779 ! 765 insert into sys.functions values (196, 'rank', 'rank', 'sql', 0, 6, false, false, false, 2000, true, true); 765
780 insert into sys.args values (9628, 198, 'res_0', 'int', 32, 0, 0, 0); 780 ! 766 insert into sys.args values (9615, 196, 'res_0', 'int', 32, 0, 0, 0); 766
781 insert into sys.args values (9629, 198, 'arg_1', 'any', 0, 0, 1, 1); 781 ! 767 insert into sys.args values (9616, 196, 'arg_1', 'any', 0, 0, 1, 1); 767
782 insert into sys.args values (9630, 198, 'arg_2', 'int', 32, 0, 1, 2); 782 ! 768 insert into sys.args values (9617, 196, 'arg_2', 'boolean', 1, 0, 1, 2); 768
783 insert into sys.args values (9631, 198, 'arg_3', 'boolean', 1, 0, 1, 3); 783 ! 769 insert into sys.args values (9618, 196, 'arg_3', 'boolean', 1, 0, 1, 3); 769
784 insert into sys.args values (9632, 198, 'arg_4', 'boolean', 1, 0, 1, 4); 784 ! 770 insert into sys.functions values (197, 'dense_rank', 'dense_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 770
785 insert into sys.functions values (199, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 785 ! 771 insert into sys.args values (9619, 197, 'res_0', 'int', 32, 0, 0, 0); 771
786 insert into sys.args values (9633, 199, 'res_0', 'bigint', 64, 0, 0, 0); 786 ! 772 insert into sys.args values (9620, 197, 'arg_1', 'any', 0, 0, 1, 1); 772
787 insert into sys.args values (9634, 199, 'arg_1', 'any', 0, 0, 1, 1); 787 ! 773 insert into sys.args values (9621, 197, 'arg_2', 'boolean', 1, 0, 1, 2); 773
788 insert into sys.args values (9635, 199, 'arg_2', 'bigint', 64, 0, 1, 2); 788 ! 774 insert into sys.args values (9622, 197, 'arg_3', 'boolean', 1, 0, 1, 3); 774
789 insert into sys.args values (9636, 199, 'arg_3', 'boolean', 1, 0, 1, 3); 789 ! 775 insert into sys.functions values (198, 'row_number', 'row_number', 'sql', 0, 6, false, false, false, 2000, true, true); 775
790 insert into sys.args values (9637, 199, 'arg_4', 'boolean', 1, 0, 1, 4); 790 ! 776 insert into sys.args values (9623, 198, 'res_0', 'int', 32, 0, 0, 0); 776
791 insert into sys.functions values (200, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 791 ! 777 insert into sys.args values (9624, 198, 'arg_1', 'any', 0, 0, 1, 1); 777
792 insert into sys.args values (9638, 200, 'res_0', 'hugeint', 128, 0, 0, 0); 792 ! 778 insert into sys.args values (9625, 198, 'arg_2', 'boolean', 1, 0, 1, 2); 778
793 insert into sys.args values (9639, 200, 'arg_1', 'any', 0, 0, 1, 1); 793 ! 779 insert into sys.args values (9626, 198, 'arg_3', 'boolean', 1, 0, 1, 3); 779
794 insert into sys.args values (9640, 200, 'arg_2', 'hugeint', 128, 0, 1, 2); 794 ! 780 insert into sys.functions values (199, 'percent_rank', 'percent_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 780
795 insert into sys.args values (9641, 200, 'arg_3', 'boolean', 1, 0, 1, 3); 795 ! 781 insert into sys.args values (9627, 199, 'res_0', 'double', 53, 0, 0, 0); 781
796 insert into sys.args values (9642, 200, 'arg_4', 'boolean', 1, 0, 1, 4); 796 ! 782 insert into sys.args values (9628, 199, 'arg_1', 'any', 0, 0, 1, 1); 782
insert into sys. + 783 insert into sys.args values (9629, 199, 'arg_2', 'boolean', 1, 0, 1, 2); 783
+ 784 insert into sys.args values (9630, 199, 'arg_3', 'boolean', 1, 0, 1, 3); 784
797 functions values (201, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 797 ! 785 insert into sys.functions values (200, 'cume_dist', 'cume_dist', 'sql', 0, 6, false, false, false, 2000, true, true); 785
798 insert into sys.args values (9643, 201, 'res_0', 'any', 0, 0, 0, 0); 798 ! 786 insert into sys.args values (9631, 200, 'res_0', 'double', 53, 0, 0, 0); 786
799 insert into sys.args values (9644, 201, 'arg_1', 'any', 0, 0, 1, 1); 799 ! 787 insert into sys.args values (9632, 200, 'arg_1', 'any', 0, 0, 1, 1); 787
800 insert into sys.args values (9645, 201, 'arg_2', 'boolean', 1, 0, 1, 2); 800 ! 788 insert into sys.args values (9633, 200, 'arg_2', 'boolean', 1, 0, 1, 2); 788
801 insert into sys.args values (9646, 201, 'arg_3', 'boolean', 1, 0, 1, 3); 801 ! 789 insert into sys.args values (9634, 200, 'arg_3', 'boolean', 1, 0, 1, 3); 789
802 insert into sys.functions values (202, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 802 ! 790 insert into sys.functions values (201, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 790
803 insert into sys.args values (9647, 202, 'res_0', 'any', 0, 0, 0, 0); 803 ! 791 insert into sys.args values (9635, 201, 'res_0', 'tinyint', 8, 0, 0, 0); 791
804 insert into sys.args values (9648, 202, 'arg_1', 'any', 0, 0, 1, 1); 804 ! 792 insert into sys.args values (9636, 201, 'arg_1', 'any', 0, 0, 1, 1); 792
805 insert into sys.args values (9649, 202, 'arg_2', 'tinyint', 8, 0, 1, 2); 805 ! 793 insert into sys.args values (9637, 201, 'arg_2', 'tinyint', 8, 0, 1, 2); 793
806 insert into sys.args values (9650, 202, 'arg_3', 'boolean', 1, 0, 1, 3); 806 ! 794 insert into sys.args values (9638, 201, 'arg_3', 'boolean', 1, 0, 1, 3); 794
807 insert into sys.args values (9651, 202, 'arg_4', 'boolean', 1, 0, 1, 4); 807 ! 795 insert into sys.args values (9639, 201, 'arg_4', 'boolean', 1, 0, 1, 4); 795
808 insert into sys.functions values (203, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 808 ! 796 insert into sys.functions values (202, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 796
809 insert into sys.args values (9652, 203, 'res_0', 'any', 0, 0, 0, 0); 809 ! 797 insert into sys.args values (9640, 202, 'res_0', 'smallint', 16, 0, 0, 0); 797
810 insert into sys.args values (9653, 203, 'arg_1', 'any', 0, 0, 1, 1); 810 ! 798 insert into sys.args values (9641, 202, 'arg_1', 'any', 0, 0, 1, 1); 798
811 insert into sys.args values (9654, 203, 'arg_2', 'smallint', 16, 0, 1, 2); 811 ! 799 insert into sys.args values (9642, 202, 'arg_2', 'smallint', 16, 0, 1, 2); 799
812 insert into sys.args values (9655, 203, 'arg_3', 'boolean', 1, 0, 1, 3); 812 ! 800 insert into sys.args values (9643, 202, 'arg_3', 'boolean', 1, 0, 1, 3); 800
813 insert into sys.args values (9656, 203, 'arg_4', 'boolean', 1, 0, 1, 4); 813 ! 801 insert into sys.args values (9644, 202, 'arg_4', 'boolean', 1, 0, 1, 4); 801
814 insert into sys.functions values (204, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 814 ! 802 insert into sys.functions values (203, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 802
815 insert into sys.args values (9657, 204, 'res_0', 'any', 0, 0, 0, 0); 815 ! 803 insert into sys.args values (9645, 203, 'res_0', 'int', 32, 0, 0, 0); 803
816 insert into sys.args values (9658, 204, 'arg_1', 'any', 0, 0, 1, 1); 816 ! 804 insert into sys.args values (9646, 203, 'arg_1', 'any', 0, 0, 1, 1); 804
817 insert into sys.args values (9659, 204, 'arg_2', 'int', 32, 0, 1, 2); 817 ! 805 insert into sys.args values (9647, 203, 'arg_2', 'int', 32, 0, 1, 2); 805
818 insert into sys.args values (9660, 204, 'arg_3', 'boolean', 1, 0, 1, 3); 818 ! 806 insert into sys.args values (9648, 203, 'arg_3', 'boolean', 1, 0, 1, 3); 806
819 insert into sys.args values (9661, 204, 'arg_4', 'boolean', 1, 0, 1, 4); 819 ! 807 insert into sys.args values (9649, 203, 'arg_4', 'boolean', 1, 0, 1, 4); 807
820 insert into sys.functions values (205, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 820 ! 808 insert into sys.functions values (204, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 808
821 insert into sys.args values (9662, 205, 'res_0', 'any', 0, 0, 0, 0); 821 ! 809 insert into sys.args values (9650, 204, 'res_0', 'bigint', 64, 0, 0, 0); 809
822 insert into sys.args values (9663, 205, 'arg_1', 'any', 0, 0, 1, 1); 822 ! 810 insert into sys.args values (9651, 204, 'arg_1', 'any', 0, 0, 1, 1); 810
823 insert into sys.args values (9664, 205, 'arg_2', 'bigint', 64, 0, 1, 2); 823 ! 811 insert into sys.args values (9652, 204, 'arg_2', 'bigint', 64, 0, 1, 2); 811
824 insert into sys.args values (9665, 205, 'arg_3', 'boolean', 1, 0, 1, 3); 824 ! 812 insert into sys.args values (9653, 204, 'arg_3', 'boolean', 1, 0, 1, 3); 812
825 insert into sys.args values (9666, 205, 'arg_4', 'boolean', 1, 0, 1, 4); 825 ! 813 insert into sys.args values (9654, 204, 'arg_4', 'boolean', 1, 0, 1, 4); 813
+ 814 insert into sys.functions values (205, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 814
+ 815 insert into sys.args values (9655, 205, 'res_0', 'hugeint', 128, 0, 0, 0); 815
+ 816 insert into sys.args values (9656, 205, 'arg_1', 'any', 0, 0, 1, 1); 816
+ 817 insert into sys.args values (9657, 205, 'arg_2', 'hugeint', 128, 0, 1, 2); 817
+ 818 insert into sys.args values (9658, 205, 'arg_3', 'boolean', 1, 0, 1, 3); 818
+ 819 insert into sys.args values (9659, 205, 'arg_4', 'boolean', 1, 0, 1, 4); 819
826 insert into sys.functions values (206, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 826 820 insert into sys.functions values (206, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 820
827 insert into sys.args values (9667, 206, 'res_0', 'any', 0, 0, 0, 0); 827 ! 821 insert into sys.args values (9660, 206, 'res_0', 'any', 0, 0, 0, 0); 821
828 insert into sys.args values (9668, 206, 'arg_1', 'any', 0, 0, 1, 1); 828 ! 822 insert into sys.args values (9661, 206, 'arg_1', 'any', 0, 0, 1, 1); 822
829 insert into sys.args values (9669, 206, 'arg_2', 'hugeint', 128, 0, 1, 2); 829 ! 823 insert into sys.args values (9662, 206, 'arg_2', 'boolean', 1, 0, 1, 2); 823
830 insert into sys.args values (9670, 206, 'arg_3', 'boolean', 1, 0, 1, 3); 830 ! 824 insert into sys.args values (9663, 206, 'arg_3', 'boolean', 1, 0, 1, 3); 824
831 insert into sys.args values (9671, 206, 'arg_4', 'boolean', 1, 0, 1, 4); 831 -
832 insert into sys.functions values (207, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 832 825 insert into sys.functions values (207, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 825
833 insert into sys.args values (9672, 207, 'res_0', 'any', 0, 0, 0, 0); 833 ! 826 insert into sys.args values (9664, 207, 'res_0', 'any', 0, 0, 0, 0); 826
834 insert into sys.args values (9673, 207, 'arg_1', 'any', 0, 0, 1, 1); 834 ! 827 insert into sys.args values (9665, 207, 'arg_1', 'any', 0, 0, 1, 1); 827
835 insert into sys.args values (9674, 207, 'arg_2', 'tinyint', 8, 0, 1, 2); 835 ! 828 insert into sys.args values (9666, 207, 'arg_2', 'tinyint', 8, 0, 1, 2); 828
836 insert into sys.args values (9675, 207, 'arg_3', 'any', 0, 0, 1, 3); 836 ! 829 insert into sys.args values (9667, 207, 'arg_3', 'boolean', 1, 0, 1, 3); 829
837 insert into sys.args values (9676, 207, 'arg_4', 'boolean', 1, 0, 1, 4); 837 ! 830 insert into sys.args values (9668, 207, 'arg_4', 'boolean', 1, 0, 1, 4); 830
838 insert into sys.args values (9677, 207, 'arg_5', 'boolean', 1, 0, 1, 5); 838 -
839 insert into sys.functions values (208, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 839 831 insert into sys.functions values (208, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 831
840 insert into sys.args values (9678, 208, 'res_0', 'any', 0, 0, 0, 0); 840 ! 832 insert into sys.args values (9669, 208, 'res_0', 'any', 0, 0, 0, 0); 832
841 insert into sys.args values (9679, 208, 'arg_1', 'any', 0, 0, 1, 1); 841 ! 833 insert into sys.args values (9670, 208, 'arg_1', 'any', 0, 0, 1, 1); 833
842 insert into sys.args values (9680, 208, 'arg_2', 'smallint', 16, 0, 1, 2); 842 ! 834 insert into sys.args values (9671, 208, 'arg_2', 'smallint', 16, 0, 1, 2); 834
843 insert into sys.args values (9681, 208, 'arg_3', 'any', 0, 0, 1, 3); 843 ! 835 insert into sys.args values (9672, 208, 'arg_3', 'boolean', 1, 0, 1, 3); 835
844 insert into sys.args values (9682, 208, 'arg_4', 'boolean', 1, 0, 1, 4); 844 ! 836 insert into sys.args values (9673, 208, 'arg_4', 'boolean', 1, 0, 1, 4); 836
845 insert into sys.args values (9683, 208, 'arg_5', 'boolean', 1, 0, 1, 5); 845 -
846 insert into sys.functions values (209, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 846 837 insert into sys.functions values (209, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 837
847 insert into sys.args values (9684, 209, 'res_0', 'any', 0, 0, 0, 0); 847 ! 838 insert into sys.args values (9674, 209, 'res_0', 'any', 0, 0, 0, 0); 838
848 insert into sys.args values (9685, 209, 'arg_1', 'any', 0, 0, 1, 1); 848 ! 839 insert into sys.args values (9675, 209, 'arg_1', 'any', 0, 0, 1, 1); 839
849 insert into sys.args values (9686, 209, 'arg_2', 'int', 32, 0, 1, 2); 849 ! 840 insert into sys.args values (9676, 209, 'arg_2', 'int', 32, 0, 1, 2); 840
850 insert into sys.args values (9687, 209, 'arg_3', 'any', 0, 0, 1, 3); 850 ! 841 insert into sys.args values (9677, 209, 'arg_3', 'boolean', 1, 0, 1, 3); 841
851 insert into sys.args values (9688, 209, 'arg_4', 'boolean', 1, 0, 1, 4); 851 ! 842 insert into sys.args values (9678, 209, 'arg_4', 'boolean', 1, 0, 1, 4); 842
852 insert into sys.args values (9689, 209, 'arg_5', 'boolean', 1, 0, 1, 5); 852 -
853 insert into sys.functions values (210, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 853 843 insert into sys.functions values (210, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 843
854 insert into sys.args values (9690, 210, 'res_0', 'any', 0, 0, 0, 0); 854 ! 844 insert into sys.args values (9679, 210, 'res_0', 'any', 0, 0, 0, 0); 844
855 insert into sys.args values (9691, 210, 'arg_1', 'any', 0, 0, 1, 1); 855 ! 845 insert into sys.args values (9680, 210, 'arg_1', 'any', 0, 0, 1, 1); 845
856 insert into sys.args values (9692, 210, 'arg_2', 'bigint', 64, 0, 1, 2); 856 ! 846 insert into sys.args values (9681, 210, 'arg_2', 'bigint', 64, 0, 1, 2); 846
857 insert into sys.args values (9693, 210, 'arg_3', 'any', 0, 0, 1, 3); 857 ! 847 insert into sys.args values (9682, 210, 'arg_3', 'boolean', 1, 0, 1, 3); 847
858 insert into sys.args values (9694, 210, 'arg_4', 'boolean', 1, 0, 1, 4); 858 ! 848 insert into sys.args values (9683, 210, 'arg_4', 'boolean', 1, 0, 1, 4); 848
859 insert into sys.args values (9695, 210, 'arg_5', 'boolean', 1, 0, 1, 5); 859 -
860 insert into sys.functions values (211, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 860 849 insert into sys.functions values (211, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 849
861 insert into sys.args values (9696, 211, 'res_0', 'any', 0, 0, 0, 0); 861 ! 850 insert into sys.args values (9684, 211, 'res_0', 'any', 0, 0, 0, 0); 850
862 insert into sys.args values (9697, 211, 'arg_1', 'any', 0, 0, 1, 1); 862 ! 851 insert into sys.args values (9685, 211, 'arg_1', 'any', 0, 0, 1, 1); 851
863 insert into sys.args values (9698, 211, 'arg_2', 'hugeint', 128, 0, 1, 2); 863 ! 852 insert into sys.args values (9686, 211, 'arg_2', 'hugeint', 128, 0, 1, 2); 852
864 insert into sys.args values (9699, 211, 'arg_3', 'any', 0, 0, 1, 3); 864 ! 853 insert into sys.args values (9687, 211, 'arg_3', 'boolean', 1, 0, 1, 3); 853
865 insert into sys.args values (9700, 211, 'arg_4', 'boolean', 1, 0, 1, 4); 865 ! 854 insert into sys.args values (9688, 211, 'arg_4', 'boolean', 1, 0, 1, 4); 854
866 insert into sys.args values (9701, 211, 'arg_5', 'boolean', 1, 0, 1, 5); 866 ! 855 insert into sys.functions values (212, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 855
867 insert into sys.functions values (212, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 867 ! 856 insert into sys.args values (9689, 212, 'res_0', 'any', 0, 0, 0, 0); 856
868 insert into sys.args values (9702, 212, 'res_0', 'any', 0, 0, 0, 0); 868 ! 857 insert into sys.args values (9690, 212, 'arg_1', 'any', 0, 0, 1, 1); 857
869 insert into sys.args values (9703, 212, 'arg_1', 'any', 0, 0, 1, 1); 869 ! 858 insert into sys.args values (9691, 212, 'arg_2', 'tinyint', 8, 0, 1, 2); 858
870 insert into sys.args values (9704, 212, 'arg_2', 'boolean', 1, 0, 1, 2); 870 ! 859 insert into sys.args values (9692, 212, 'arg_3', 'any', 0, 0, 1, 3); 859
871 insert into sys.args values (9705, 212, 'arg_3', 'boolean', 1, 0, 1, 3); 871 ! 860 insert into sys.args values (9693, 212, 'arg_4', 'boolean', 1, 0, 1, 4); 860
insert into sys. + 861 insert into sys.args values (9694, 212, 'arg_5', 'boolean', 1, 0, 1, 5); 861
872 functions values (213, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 872 ! 862 insert into sys.functions values (213, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 862
873 insert into sys.args values (9706, 213, 'res_0', 'any', 0, 0, 0, 0); 873 ! 863 insert into sys.args values (9695, 213, 'res_0', 'any', 0, 0, 0, 0); 863
874 insert into sys.args values (9707, 213, 'arg_1', 'any', 0, 0, 1, 1); 874 ! 864 insert into sys.args values (9696, 213, 'arg_1', 'any', 0, 0, 1, 1); 864
875 insert into sys.args values (9708, 213, 'arg_2', 'tinyint', 8, 0, 1, 2); 875 ! 865 insert into sys.args values (9697, 213, 'arg_2', 'smallint', 16, 0, 1, 2); 865
876 insert into sys.args values (9709, 213, 'arg_3', 'boolean', 1, 0, 1, 3); 876 ! 866 insert into sys.args values (9698, 213, 'arg_3', 'any', 0, 0, 1, 3); 866
877 insert into sys.args values (9710, 213, 'arg_4', 'boolean', 1, 0, 1, 4); 877 ! 867 insert into sys.args values (9699, 213, 'arg_4', 'boolean', 1, 0, 1, 4); 867
+ 868 insert into sys.args values (9700, 213, 'arg_5', 'boolean', 1, 0, 1, 5); 868
878 insert into sys.functions values (214, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 878 ! 869 insert into sys.functions values (214, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 869
879 insert into sys.args values (9711, 214, 'res_0', 'any', 0, 0, 0, 0); 879 ! 870 insert into sys.args values (9701, 214, 'res_0', 'any', 0, 0, 0, 0); 870
880 insert into sys.args values (9712, 214, 'arg_1', 'any', 0, 0, 1, 1); 880 ! 871 insert into sys.args values (9702, 214, 'arg_1', 'any', 0, 0, 1, 1); 871
881 insert into sys.args values (9713, 214, 'arg_2', 'smallint', 16, 0, 1, 2); 881 ! 872 insert into sys.args values (9703, 214, 'arg_2', 'int', 32, 0, 1, 2); 872
882 insert into sys.args values (9714, 214, 'arg_3', 'boolean', 1, 0, 1, 3); 882 ! 873 insert into sys.args values (9704, 214, 'arg_3', 'any', 0, 0, 1, 3); 873
883 insert into sys.args values (9715, 214, 'arg_4', 'boolean', 1, 0, 1, 4); 883 ! 874 insert into sys.args values (9705, 214, 'arg_4', 'boolean', 1, 0, 1, 4); 874
+ 875 insert into sys.args values (9706, 214, 'arg_5', 'boolean', 1, 0, 1, 5); 875
884 insert into sys.functions values (215, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 884 ! 876 insert into sys.functions values (215, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 876
885 insert into sys.args values (9716, 215, 'res_0', 'any', 0, 0, 0, 0); 885 ! 877 insert into sys.args values (9707, 215, 'res_0', 'any', 0, 0, 0, 0); 877
886 insert into sys.args values (9717, 215, 'arg_1', 'any', 0, 0, 1, 1); 886 ! 878 insert into sys.args values (9708, 215, 'arg_1', 'any', 0, 0, 1, 1); 878
887 insert into sys.args values (9718, 215, 'arg_2', 'int', 32, 0, 1, 2); 887 ! 879 insert into sys.args values (9709, 215, 'arg_2', 'bigint', 64, 0, 1, 2); 879
888 insert into sys.args values (9719, 215, 'arg_3', 'boolean', 1, 0, 1, 3); 888 ! 880 insert into sys.args values (9710, 215, 'arg_3', 'any', 0, 0, 1, 3); 880
889 insert into sys.args values (9720, 215, 'arg_4', 'boolean', 1, 0, 1, 4); 889 ! 881 insert into sys.args values (9711, 215, 'arg_4', 'boolean', 1, 0, 1, 4); 881
+ 882 insert into sys.args values (9712, 215, 'arg_5', 'boolean', 1, 0, 1, 5); 882
890 insert into sys.functions values (216, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 890 ! 883 insert into sys.functions values (216, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 883
891 insert into sys.args values (9721, 216, 'res_0', 'any', 0, 0, 0, 0); 891 ! 884 insert into sys.args values (9713, 216, 'res_0', 'any', 0, 0, 0, 0); 884
892 insert into sys.args values (9722, 216, 'arg_1', 'any', 0, 0, 1, 1); 892 ! 885 insert into sys.args values (9714, 216, 'arg_1', 'any', 0, 0, 1, 1); 885
893 insert into sys.args values (9723, 216, 'arg_2', 'bigint', 64, 0, 1, 2); 893 ! 886 insert into sys.args values (9715, 216, 'arg_2', 'hugeint', 128, 0, 1, 2); 886
894 insert into sys.args values (9724, 216, 'arg_3', 'boolean', 1, 0, 1, 3); 894 ! 887 insert into sys.args values (9716, 216, 'arg_3', 'any', 0, 0, 1, 3); 887
895 insert into sys.args values (9725, 216, 'arg_4', 'boolean', 1, 0, 1, 4); 895 ! 888 insert into sys.args values (9717, 216, 'arg_4', 'boolean', 1, 0, 1, 4); 888
+ 889 insert into sys.args values (9718, 216, 'arg_5', 'boolean', 1, 0, 1, 5); 889
896 insert into sys.functions values (217, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 896 890 insert into sys.functions values (217, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 890
897 insert into sys.args values (9726, 217, 'res_0', 'any', 0, 0, 0, 0); 897 ! 891 insert into sys.args values (9719, 217, 'res_0', 'any', 0, 0, 0, 0); 891
898 insert into sys.args values (9727, 217, 'arg_1', 'any', 0, 0, 1, 1); 898 ! 892 insert into sys.args values (9720, 217, 'arg_1', 'any', 0, 0, 1, 1); 892
899 insert into sys.args values (9728, 217, 'arg_2', 'hugeint', 128, 0, 1, 2); 899 ! 893 insert into sys.args values (9721, 217, 'arg_2', 'boolean', 1, 0, 1, 2); 893
900 insert into sys.args values (9729, 217, 'arg_3', 'boolean', 1, 0, 1, 3); 900 ! 894 insert into sys.args values (9722, 217, 'arg_3', 'boolean', 1, 0, 1, 3); 894
901 insert into sys.args values (9730, 217, 'arg_4', 'boolean', 1, 0, 1, 4); 901 -
902 insert into sys.functions values (218, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 902 895 insert into sys.functions values (218, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 895
903 insert into sys.args values (9731, 218, 'res_0', 'any', 0, 0, 0, 0); 903 ! 896 insert into sys.args values (9723, 218, 'res_0', 'any', 0, 0, 0, 0); 896
904 insert into sys.args values (9732, 218, 'arg_1', 'any', 0, 0, 1, 1); 904 ! 897 insert into sys.args values (9724, 218, 'arg_1', 'any', 0, 0, 1, 1); 897
905 insert into sys.args values (9733, 218, 'arg_2', 'tinyint', 8, 0, 1, 2); 905 ! 898 insert into sys.args values (9725, 218, 'arg_2', 'tinyint', 8, 0, 1, 2); 898
906 insert into sys.args values (9734, 218, 'arg_3', 'any', 0, 0, 1, 3); 906 ! 899 insert into sys.args values (9726, 218, 'arg_3', 'boolean', 1, 0, 1, 3); 899
907 insert into sys.args values (9735, 218, 'arg_4', 'boolean', 1, 0, 1, 4); 907 ! 900 insert into sys.args values (9727, 218, 'arg_4', 'boolean', 1, 0, 1, 4); 900
908 insert into sys.args values (9736, 218, 'arg_5', 'boolean', 1, 0, 1, 5); 908 -
909 insert into sys.functions values (219, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 909 901 insert into sys.functions values (219, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 901
910 insert into sys.args values (9737, 219, 'res_0', 'any', 0, 0, 0, 0); 910 ! 902 insert into sys.args values (9728, 219, 'res_0', 'any', 0, 0, 0, 0); 902
911 insert into sys.args values (9738, 219, 'arg_1', 'any', 0, 0, 1, 1); 911 ! 903 insert into sys.args values (9729, 219, 'arg_1', 'any', 0, 0, 1, 1); 903
912 insert into sys.args values (9739, 219, 'arg_2', 'smallint', 16, 0, 1, 2); 912 ! 904 insert into sys.args values (9730, 219, 'arg_2', 'smallint', 16, 0, 1, 2); 904
913 insert into sys.args values (9740, 219, 'arg_3', 'any', 0, 0, 1, 3); 913 ! 905 insert into sys.args values (9731, 219, 'arg_3', 'boolean', 1, 0, 1, 3); 905
914 insert into sys.args values (9741, 219, 'arg_4', 'boolean', 1, 0, 1, 4); 914 ! 906 insert into sys.args values (9732, 219, 'arg_4', 'boolean', 1, 0, 1, 4); 906
915 insert into sys.args values (9742, 219, 'arg_5', 'boolean', 1, 0, 1, 5); 915 -
916 insert into sys.functions values (220, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 916 907 insert into sys.functions values (220, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 907
917 insert into sys.args values (9743, 220, 'res_0', 'any', 0, 0, 0, 0); 917 ! 908 insert into sys.args values (9733, 220, 'res_0', 'any', 0, 0, 0, 0); 908
918 insert into sys.args values (9744, 220, 'arg_1', 'any', 0, 0, 1, 1); 918 ! 909 insert into sys.args values (9734, 220, 'arg_1', 'any', 0, 0, 1, 1); 909
919 insert into sys.args values (9745, 220, 'arg_2', 'int', 32, 0, 1, 2); 919 ! 910 insert into sys.args values (9735, 220, 'arg_2', 'int', 32, 0, 1, 2); 910
920 insert into sys.args values (9746, 220, 'arg_3', 'any', 0, 0, 1, 3); 920 ! 911 insert into sys.args values (9736, 220, 'arg_3', 'boolean', 1, 0, 1, 3); 911
921 insert into sys.args values (9747, 220, 'arg_4', 'boolean', 1, 0, 1, 4); 921 ! 912 insert into sys.args values (9737, 220, 'arg_4', 'boolean', 1, 0, 1, 4); 912
922 insert into sys.args values (9748, 220, 'arg_5', 'boolean', 1, 0, 1, 5); 922 -
923 insert into sys.functions values (221, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 923 913 insert into sys.functions values (221, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 913
924 insert into sys.args values (9749, 221, 'res_0', 'any', 0, 0, 0, 0); 924 ! 914 insert into sys.args values (9738, 221, 'res_0', 'any', 0, 0, 0, 0); 914
925 insert into sys.args values (9750, 221, 'arg_1', 'any', 0, 0, 1, 1); 925 ! 915 insert into sys.args values (9739, 221, 'arg_1', 'any', 0, 0, 1, 1); 915
926 insert into sys.args values (9751, 221, 'arg_2', 'bigint', 64, 0, 1, 2); 926 ! 916 insert into sys.args values (9740, 221, 'arg_2', 'bigint', 64, 0, 1, 2); 916
927 insert into sys.args values (9752, 221, 'arg_3', 'any', 0, 0, 1, 3); 927 ! 917 insert into sys.args values (9741, 221, 'arg_3', 'boolean', 1, 0, 1, 3); 917
928 insert into sys.args values (9753, 221, 'arg_4', 'boolean', 1, 0, 1, 4); 928 ! 918 insert into sys.args values (9742, 221, 'arg_4', 'boolean', 1, 0, 1, 4); 918
929 insert into sys.args values (9754, 221, 'arg_5', 'boolean', 1, 0, 1, 5); 929 -
930 insert into sys.functions values (222, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 930 919 insert into sys.functions values (222, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 919
931 insert into sys.args values (9755, 222, 'res_0', 'any', 0, 0, 0, 0); 931 ! 920 insert into sys.args values (9743, 222, 'res_0', 'any', 0, 0, 0, 0); 920
932 insert into sys.args values (9756, 222, 'arg_1', 'any', 0, 0, 1, 1); 932 ! 921 insert into sys.args values (9744, 222, 'arg_1', 'any', 0, 0, 1, 1); 921
933 insert into sys.args values (9757, 222, 'arg_2', 'hugeint', 128, 0, 1, 2); 933 ! 922 insert into sys.args values (9745, 222, 'arg_2', 'hugeint', 128, 0, 1, 2); 922
934 insert into sys.args values (9758, 222, 'arg_3', 'any', 0, 0, 1, 3); 934 ! 923 insert into sys.args values (9746, 222, 'arg_3', 'boolean', 1, 0, 1, 3); 923
935 insert into sys.args values (9759, 222, 'arg_4', 'boolean', 1, 0, 1, 4); 935 ! 924 insert into sys.args values (9747, 222, 'arg_4', 'boolean', 1, 0, 1, 4); 924
936 insert into sys.args values (9760, 222, 'arg_5', 'boolean', 1, 0, 1, 5); 936 ! 925 insert into sys.functions values (223, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 925
937 insert into sys.functions values (223, 'first_value', 'first_value', 'sql', 0, 6, false, false, false, 2000, true, true); 937 ! 926 insert into sys.args values (9748, 223, 'res_0', 'any', 0, 0, 0, 0); 926
938 insert into sys.args values (9761, 223, 'res_0', 'any', 0, 0, 0, 0); 938 ! 927 insert into sys.args values (9749, 223, 'arg_1', 'any', 0, 0, 1, 1); 927
939 insert into sys.args values (9762, 223, 'arg_1', 'any', 0, 0, 1, 1); 939 ! 928 insert into sys.args values (9750, 223, 'arg_2', 'tinyint', 8, 0, 1, 2); 928
940 insert into sys.functions values (224, 'last_value', 'last_value', 'sql', 0, 6, false, false, false, 2000, true, true); 940 ! 929 insert into sys.args values (9751, 223, 'arg_3', 'any', 0, 0, 1, 3); 929
941 insert into sys.args values (9763, 224, 'res_0', 'any', 0, 0, 0, 0); 941 ! 930 insert into sys.args values (9752, 223, 'arg_4', 'boolean', 1, 0, 1, 4); 930
942 insert into sys.args values (9764, 224, 'arg_1', 'any', 0, 0, 1, 1); 942 ! 931 insert into sys.args values (9753, 223, 'arg_5', 'boolean', 1, 0, 1, 5); 931
943 insert into sys.functions values (225, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 943 ! 932 insert into sys.functions values (224, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 932
944 insert into sys.args values (9765, 225, 'res_0', 'any', 0, 0, 0, 0); 944 ! 933 insert into sys.args values (9754, 224, 'res_0', 'any', 0, 0, 0, 0); 933
945 insert into sys.args values (9766, 225, 'arg_1', 'any', 0, 0, 1, 1); 945 ! 934 insert into sys.args values (9755, 224, 'arg_1', 'any', 0, 0, 1, 1); 934
946 insert into sys.args values (9767, 225, 'arg_2', 'tinyint', 8, 0, 1, 2); 946 ! 935 insert into sys.args values (9756, 224, 'arg_2', 'smallint', 16, 0, 1, 2); 935
947 insert into sys.functions values (226, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 947 ! 936 insert into sys.args values (9757, 224, 'arg_3', 'any', 0, 0, 1, 3); 936
948 insert into sys.args values (9768, 226, 'res_0', 'any', 0, 0, 0, 0); 948 ! 937 insert into sys.args values (9758, 224, 'arg_4', 'boolean', 1, 0, 1, 4); 937
949 insert into sys.args values (9769, 226, 'arg_1', 'any', 0, 0, 1, 1); 949 ! 938 insert into sys.args values (9759, 224, 'arg_5', 'boolean', 1, 0, 1, 5); 938
950 insert into sys.args values (9770, 226, 'arg_2', 'smallint', 16, 0, 1, 2); 950 ! 939 insert into sys.functions values (225, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 939
951 insert into sys.functions values (227, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 951 ! 940 insert into sys.args values (9760, 225, 'res_0', 'any', 0, 0, 0, 0); 940
952 insert into sys.args values (9771, 227, 'res_0', 'any', 0, 0, 0, 0); 952 ! 941 insert into sys.args values (9761, 225, 'arg_1', 'any', 0, 0, 1, 1); 941
953 insert into sys.args values (9772, 227, 'arg_1', 'any', 0, 0, 1, 1); 953 ! 942 insert into sys.args values (9762, 225, 'arg_2', 'int', 32, 0, 1, 2); 942
954 insert into sys.args values (9773, 227, 'arg_2', 'int', 32, 0, 1, 2); 954 ! 943 insert into sys.args values (9763, 225, 'arg_3', 'any', 0, 0, 1, 3); 943
955 insert into sys.functions values (228, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 955 ! 944 insert into sys.args values (9764, 225, 'arg_4', 'boolean', 1, 0, 1, 4); 944
956 insert into sys.args values (9774, 228, 'res_0', 'any', 0, 0, 0, 0); 956 ! 945 insert into sys.args values (9765, 225, 'arg_5', 'boolean', 1, 0, 1, 5); 945
957 insert into sys.args values (9775, 228, 'arg_1', 'any', 0, 0, 1, 1); 957 ! 946 insert into sys.functions values (226, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 946
958 insert into sys.args values (9776, 228, 'arg_2', 'bigint', 64, 0, 1, 2); 958 ! 947 insert into sys.args values (9766, 226, 'res_0', 'any', 0, 0, 0, 0); 947
959 insert into sys.functions values (229, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 959 ! 948 insert into sys.args values (9767, 226, 'arg_1', 'any', 0, 0, 1, 1); 948
960 insert into sys.args values (9777, 229, 'res_0', 'any', 0, 0, 0, 0); 960 ! 949 insert into sys.args values (9768, 226, 'arg_2', 'bigint', 64, 0, 1, 2); 949
961 insert into sys.args values (9778, 229, 'arg_1', 'any', 0, 0, 1, 1); 961 ! 950 insert into sys.args values (9769, 226, 'arg_3', 'any', 0, 0, 1, 3); 950
962 insert into sys.args values (9779, 229, 'arg_2', 'hugeint', 128, 0, 1, 2); 962 ! 951 insert into sys.args values (9770, 226, 'arg_4', 'boolean', 1, 0, 1, 4); 951
963 insert into sys.functions values (230, 'count', 'count', 'sql', 0, 6, false, false, false, 2000, true, true); 963 ! 952 insert into sys.args values (9771, 226, 'arg_5', 'boolean', 1, 0, 1, 5); 952
964 insert into sys.args values (9780, 230, 'res_0', 'bigint', 64, 0, 0, 0); 964 ! 953 insert into sys.functions values (227, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 953
965 insert into sys.args values (9781, 230, 'arg_1', 'any', 0, 0, 1, 1); 965 ! 954 insert into sys.args values (9772, 227, 'res_0', 'any', 0, 0, 0, 0); 954
966 insert into sys.args values (9782, 230, 'arg_2', 'boolean', 1, 0, 1, 2); 966 ! 955 insert into sys.args values (9773, 227, 'arg_1', 'any', 0, 0, 1, 1); 955
967 insert into sys.functions values (231, 'min', 'min', 'sql', 0, 6, false, false, false, 2000, true, true); 967 ! 956 insert into sys.args values (9774, 227, 'arg_2', 'hugeint', 128, 0, 1, 2); 956
968 insert into sys.args values (9783, 231, 'res_0', 'any', 0, 0, 0, 0); 968 ! 957 insert into sys.args values (9775, 227, 'arg_3', 'any', 0, 0, 1, 3); 957
969 insert into sys.args values (9784, 231, 'arg_1', 'any', 0, 0, 1, 1); 969 ! 958 insert into sys.args values (9776, 227, 'arg_4', 'boolean', 1, 0, 1, 4); 958
insert into sys. + 959 insert into sys.args values (9777, 227, 'arg_5', 'boolean', 1, 0, 1, 5); 959
970 functions values (232, 'max', 'max', 'sql', 0, 6, false, false, false, 2000, true, true); 970 ! 960 insert into sys.functions values (228, 'first_value', 'first_value', 'sql', 0, 6, false, false, false, 2000, true, true); 960
971 insert into sys.args values (9785, 232, 'res_0', 'any', 0, 0, 0, 0); 971 ! 961 insert into sys.args values (9778, 228, 'res_0', 'any', 0, 0, 0, 0); 961
972 insert into sys.args values (9786, 232, 'arg_1', 'any', 0, 0, 1, 1); 972 ! 962 insert into sys.args values (9779, 228, 'arg_1', 'any', 0, 0, 1, 1); 962
973 insert into sys.functions values (233, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 973 ! 963 insert into sys.functions values (229, 'last_value', 'last_value', 'sql', 0, 6, false, false, false, 2000, true, true); 963
974 insert into sys.args values (9787, 233, 'res_0', 'hugeint', 128, 0, 0, 0); 974 ! 964 insert into sys.args values (9780, 229, 'res_0', 'any', 0, 0, 0, 0); 964
975 insert into sys.args values (9788, 233, 'arg_1', 'tinyint', 8, 0, 1, 1); 975 ! 965 insert into sys.args values (9781, 229, 'arg_1', 'any', 0, 0, 1, 1); 965
976 insert into sys.functions values (234, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 976 ! 966 insert into sys.functions values (230, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 966
977 insert into sys.args values (9789, 234, 'res_0', 'hugeint', 128, 0, 0, 0); 977 ! 967 insert into sys.args values (9782, 230, 'res_0', 'any', 0, 0, 0, 0); 967
978 insert into sys.args values (9790, 234, 'arg_1', 'smallint', 16, 0, 1, 1); 978 ! 968 insert into sys.args values (9783, 230, 'arg_1', 'any', 0, 0, 1, 1); 968
+ 969 insert into sys.args values (9784, 230, 'arg_2', 'tinyint', 8, 0, 1, 2); 969
979 insert into sys.functions values (235, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 979 ! 970 insert into sys.functions values (231, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 970
980 insert into sys.args values (9791, 235, 'res_0', 'hugeint', 128, 0, 0, 0); 980 ! 971 insert into sys.args values (9785, 231, 'res_0', 'any', 0, 0, 0, 0); 971
981 insert into sys.args values (9792, 235, 'arg_1', 'int', 32, 0, 1, 1); 981 ! 972 insert into sys.args values (9786, 231, 'arg_1', 'any', 0, 0, 1, 1); 972
+ 973 insert into sys.args values (9787, 231, 'arg_2', 'smallint', 16, 0, 1, 2); 973
982 insert into sys.functions values (236, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 982 ! 974 insert into sys.functions values (232, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 974
983 insert into sys.args values (9793, 236, 'res_0', 'hugeint', 128, 0, 0, 0); 983 ! 975 insert into sys.args values (9788, 232, 'res_0', 'any', 0, 0, 0, 0); 975
984 insert into sys.args values (9794, 236, 'arg_1', 'bigint', 64, 0, 1, 1); 984 ! 976 insert into sys.args values (9789, 232, 'arg_1', 'any', 0, 0, 1, 1); 976
+ 977 insert into sys.args values (9790, 232, 'arg_2', 'int', 32, 0, 1, 2); 977
985 insert into sys.functions values (237, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 985 ! 978 insert into sys.functions values (233, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 978
986 insert into sys.args values (9795, 237, 'res_0', 'hugeint', 128, 0, 0, 0); 986 ! 979 insert into sys.args values (9791, 233, 'res_0', 'any', 0, 0, 0, 0); 979
987 insert into sys.args values (9796, 237, 'arg_1', 'hugeint', 128, 0, 1, 1); 987 ! 980 insert into sys.args values (9792, 233, 'arg_1', 'any', 0, 0, 1, 1); 980
+ 981 insert into sys.args values (9793, 233, 'arg_2', 'bigint', 64, 0, 1, 2); 981
+ 982 insert into sys.functions values (234, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 982
+ 983 insert into sys.args values (9794, 234, 'res_0', 'any', 0, 0, 0, 0); 983
+ 984 insert into sys.args values (9795, 234, 'arg_1', 'any', 0, 0, 1, 1); 984
+ 985 insert into sys.args values (9796, 234, 'arg_2', 'hugeint', 128, 0, 1, 2); 985
+ 986 insert into sys.functions values (235, 'count', 'count', 'sql', 0, 6, false, false, false, 2000, true, true); 986
+ 987 insert into sys.args values (9797, 235, 'res_0', 'bigint', 64, 0, 0, 0); 987
+ 988 insert into sys.args values (9798, 235, 'arg_1', 'any', 0, 0, 1, 1); 988
+ 989 insert into sys.args values (9799, 235, 'arg_2', 'boolean', 1, 0, 1, 2); 989
+ 990 insert into sys.functions values (236, 'min', 'min', 'sql', 0, 6, false, false, false, 2000, true, true); 990
+ 991 insert into sys.args values (9800, 236, 'res_0', 'any', 0, 0, 0, 0); 991
+ 992 insert into sys.args values (9801, 236, 'arg_1', 'any', 0, 0, 1, 1); 992
+ 993 insert into sys.functions values (237, 'max', 'max', 'sql', 0, 6, false, false, false, 2000, true, true); 993
+ 994 insert into sys.args values (9802, 237, 'res_0', 'any', 0, 0, 0, 0); 994
+ 995 insert into sys.args values (9803, 237, 'arg_1', 'any', 0, 0, 1, 1); 995
988 insert into sys.functions values (238, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 988 996 insert into sys.functions values (238, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 996
989 insert into sys.args values (9797, 238, 'res_0', 'decimal', 38, 0, 0, 0); 989 ! 997 insert into sys.args values (9804, 238, 'res_0', 'hugeint', 128, 0, 0, 0); 997
990 insert into sys.args values (9798, 238, 'arg_1', 'decimal', 2, 0, 1, 1); 990 ! 998 insert into sys.args values (9805, 238, 'arg_1', 'tinyint', 8, 0, 1, 1); 998
991 insert into sys.functions values (239, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 991 999 insert into sys.functions values (239, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 999
992 insert into sys.args values (9799, 239, 'res_0', 'decimal', 38, 0, 0, 0); 992 ! 1000 insert into sys.args values (9806, 239, 'res_0', 'hugeint', 128, 0, 0, 0); 1000
993 insert into sys.args values (9800, 239, 'arg_1', 'decimal', 4, 0, 1, 1); 993 ! 1001 insert into sys.args values (9807, 239, 'arg_1', 'smallint', 16, 0, 1, 1); 1001
994 insert into sys.functions values (240, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 994 1002 insert into sys.functions values (240, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1002
995 insert into sys.args values (9801, 240, 'res_0', 'decimal', 38, 0, 0, 0); 995 ! 1003 insert into sys.args values (9808, 240, 'res_0', 'hugeint', 128, 0, 0, 0); 1003
996 insert into sys.args values (9802, 240, 'arg_1', 'decimal', 9, 0, 1, 1); 996 ! 1004 insert into sys.args values (9809, 240, 'arg_1', 'int', 32, 0, 1, 1); 1004
997 insert into sys.functions values (241, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 997 1005 insert into sys.functions values (241, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1005
998 insert into sys.args values (9803, 241, 'res_0', 'decimal', 38, 0, 0, 0); 998 ! 1006 insert into sys.args values (9810, 241, 'res_0', 'hugeint', 128, 0, 0, 0); 1006
999 insert into sys.args values (9804, 241, 'arg_1', 'decimal', 18, 0, 1, 1); 999 ! 1007 insert into sys.args values (9811, 241, 'arg_1', 'bigint', 64, 0, 1, 1); 1007
1000 insert into sys.functions values (242, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1000 1008 insert into sys.functions values (242, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1008
1001 insert into sys.args values (9805, 242, 'res_0', 'decimal', 38, 0, 0, 0); 1001 ! 1009 insert into sys.args values (9812, 242, 'res_0', 'hugeint', 128, 0, 0, 0); 1009
1002 insert into sys.args values (9806, 242, 'arg_1', 'decimal', 38, 0, 1, 1); 1002 ! 1010 insert into sys.args values (9813, 242, 'arg_1', 'hugeint', 128, 0, 1, 1); 1010
1003 insert into sys.functions values (243, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1003 ! 1011 insert into sys.functions values (243, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1011
1004 insert into sys.args values (9807, 243, 'res_0', 'hugeint', 128, 0, 0, 0); 1004 ! 1012 insert into sys.args values (9814, 243, 'res_0', 'decimal', 38, 0, 0, 0); 1012
1005 insert into sys.args values (9808, 243, 'arg_1', 'tinyint', 8, 0, 1, 1); 1005 ! 1013 insert into sys.args values (9815, 243, 'arg_1', 'decimal', 2, 0, 1, 1); 1013
1006 insert into sys.functions values (244, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1006 ! 1014 insert into sys.functions values (244, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1014
1007 insert into sys.args values (9809, 244, 'res_0', 'hugeint', 128, 0, 0, 0); 1007 ! 1015 insert into sys.args values (9816, 244, 'res_0', 'decimal', 38, 0, 0, 0); 1015
1008 insert into sys.args values (9810, 244, 'arg_1', 'smallint', 16, 0, 1, 1); 1008 ! 1016 insert into sys.args values (9817, 244, 'arg_1', 'decimal', 4, 0, 1, 1); 1016
1009 insert into sys.functions values (245, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1009 ! 1017 insert into sys.functions values (245, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1017
1010 insert into sys.args values (9811, 245, 'res_0', 'hugeint', 128, 0, 0, 0); 1010 ! 1018 insert into sys.args values (9818, 245, 'res_0', 'decimal', 38, 0, 0, 0); 1018
1011 insert into sys.args values (9812, 245, 'arg_1', 'int', 32, 0, 1, 1); 1011 ! 1019 insert into sys.args values (9819, 245, 'arg_1', 'decimal', 9, 0, 1, 1); 1019
1012 insert into sys.functions values (246, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1012 ! 1020 insert into sys.functions values (246, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1020
1013 insert into sys.args values (9813, 246, 'res_0', 'hugeint', 128, 0, 0, 0); 1013 ! 1021 insert into sys.args values (9820, 246, 'res_0', 'decimal', 38, 0, 0, 0); 1021
1014 insert into sys.args values (9814, 246, 'arg_1', 'bigint', 64, 0, 1, 1); 1014 ! 1022 insert into sys.args values (9821, 246, 'arg_1', 'decimal', 18, 0, 1, 1); 1022
1015 insert into sys.functions values (247, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1015 ! 1023 insert into sys.functions values (247, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1023
1016 insert into sys.args values (9815, 247, 'res_0', 'hugeint', 128, 0, 0, 0); 1016 ! 1024 insert into sys.args values (9822, 247, 'res_0', 'decimal', 38, 0, 0, 0); 1024
1017 insert into sys.args values (9816, 247, 'arg_1', 'hugeint', 128, 0, 1, 1); 1017 ! 1025 insert into sys.args values (9823, 247, 'arg_1', 'decimal', 38, 0, 1, 1); 1025
1018 insert into sys.functions values (248, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1018 ! 1026 insert into sys.functions values (248, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1026
1019 insert into sys.args values (9817, 248, 'res_0', 'real', 24, 0, 0, 0); 1019 ! 1027 insert into sys.args values (9824, 248, 'res_0', 'hugeint', 128, 0, 0, 0); 1027
1020 insert into sys.args values (9818, 248, 'arg_1', 'real', 24, 0, 1, 1); 1020 ! 1028 insert into sys.args values (9825, 248, 'arg_1', 'tinyint', 8, 0, 1, 1); 1028
1021 insert into sys.functions values (249, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1021 1029 insert into sys.functions values (249, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1029
1022 insert into sys.args values (9819, 249, 'res_0', 'real', 24, 0, 0, 0); 1022 ! 1030 insert into sys.args values (9826, 249, 'res_0', 'hugeint', 128, 0, 0, 0); 1030
1023 insert into sys.args values (9820, 249, 'arg_1', 'real', 24, 0, 1, 1); 1023 ! 1031 insert into sys.args values (9827, 249, 'arg_1', 'smallint', 16, 0, 1, 1); 1031
1024 insert into sys.functions values (250, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1024 ! 1032 insert into sys.functions values (250, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1032
1025 insert into sys.args values (9821, 250, 'res_0', 'double', 53, 0, 0, 0); 1025 ! 1033 insert into sys.args values (9828, 250, 'res_0', 'hugeint', 128, 0, 0, 0); 1033
1026 insert into sys.args values (9822, 250, 'arg_1', 'double', 53, 0, 1, 1); 1026 ! 1034 insert into sys.args values (9829, 250, 'arg_1', 'int', 32, 0, 1, 1); 1034
1027 insert into sys.functions values (251, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1027 1035 insert into sys.functions values (251, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1035
1028 insert into sys.args values (9823, 251, 'res_0', 'double', 53, 0, 0, 0); 1028 ! 1036 insert into sys.args values (9830, 251, 'res_0', 'hugeint', 128, 0, 0, 0); 1036
1029 insert into sys.args values (9824, 251, 'arg_1', 'double', 53, 0, 1, 1); 1029 ! 1037 insert into sys.args values (9831, 251, 'arg_1', 'bigint', 64, 0, 1, 1); 1037
1030 insert into sys.functions values (252, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1030 ! 1038 insert into sys.functions values (252, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1038
1031 insert into sys.args values (9825, 252, 'res_0', 'month_interval', 32, 0, 0, 0); 1031 ! 1039 insert into sys.args values (9832, 252, 'res_0', 'hugeint', 128, 0, 0, 0); 1039
1032 insert into sys.args values (9826, 252, 'arg_1', 'month_interval', 32, 0, 1, 1); 1032 ! 1040 insert into sys.args values (9833, 252, 'arg_1', 'hugeint', 128, 0, 1, 1); 1040
1033 insert into sys.functions values (253, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1033 1041 insert into sys.functions values (253, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1041
1034 insert into sys.args values (9827, 253, 'res_0', 'sec_interval', 13, 0, 0, 0); 1034 ! 1042 insert into sys.args values (9834, 253, 'res_0', 'real', 24, 0, 0, 0); 1042
1035 insert into sys.args values (9828, 253, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1035 ! 1043 insert into sys.args values (9835, 253, 'arg_1', 'real', 24, 0, 1, 1); 1043
1036 insert into sys.functions values (254, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1036 ! 1044 insert into sys.functions values (254, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1044
1037 insert into sys.args values (9829, 254, 'res_0', 'double', 53, 0, 0, 0); 1037 ! 1045 insert into sys.args values (9836, 254, 'res_0', 'real', 24, 0, 0, 0); 1045
1038 insert into sys.args values (9830, 254, 'arg_1', 'double', 53, 0, 1, 1); 1038 ! 1046 insert into sys.args values (9837, 254, 'arg_1', 'real', 24, 0, 1, 1); 1046
1039 insert into sys.functions values (255, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1039 ! 1047 insert into sys.functions values (255, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1047
1040 insert into sys.args values (9831, 255, 'res_0', 'double', 53, 0, 0, 0); 1040 ! 1048 insert into sys.args values (9838, 255, 'res_0', 'double', 53, 0, 0, 0); 1048
1041 insert into sys.args values (9832, 255, 'arg_1', 'tinyint', 8, 0, 1, 1); 1041 ! 1049 insert into sys.args values (9839, 255, 'arg_1', 'double', 53, 0, 1, 1); 1049
1042 insert into sys.functions values (256, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1042 ! 1050 insert into sys.functions values (256, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1050
1043 insert into sys.args values (9833, 256, 'res_0', 'double', 53, 0, 0, 0); 1043 ! 1051 insert into sys.args values (9840, 256, 'res_0', 'double', 53, 0, 0, 0); 1051
1044 insert into sys.args values (9834, 256, 'arg_1', 'smallint', 16, 0, 1, 1); 1044 ! 1052 insert into sys.args values (9841, 256, 'arg_1', 'double', 53, 0, 1, 1); 1052
1045 insert into sys.functions values (257, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1045 ! 1053 insert into sys.functions values (257, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1053
1046 insert into sys.args values (9835, 257, 'res_0', 'double', 53, 0, 0, 0); 1046 ! 1054 insert into sys.args values (9842, 257, 'res_0', 'month_interval', 3, 0, 0, 0); 1054
1047 insert into sys.args values (9836, 257, 'arg_1', 'int', 32, 0, 1, 1); 1047 ! 1055 insert into sys.args values (9843, 257, 'arg_1', 'month_interval', 3, 0, 1, 1); 1055
1048 insert into sys.functions values (258, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1048 ! 1056 insert into sys.functions values (258, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1056
1049 insert into sys.args values (9837, 258, 'res_0', 'double', 53, 0, 0, 0); 1049 ! 1057 insert into sys.args values (9844, 258, 'res_0', 'day_interval', 4, 0, 0, 0); 1057
1050 insert into sys.args values (9838, 258, 'arg_1', 'bigint', 64, 0, 1, 1); 1050 ! 1058 insert into sys.args values (9845, 258, 'arg_1', 'day_interval', 4, 0, 1, 1); 1058
1051 insert into sys.functions values (259, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1051 ! 1059 insert into sys.functions values (259, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1059
1052 insert into sys.args values (9839, 259, 'res_0', 'double', 53, 0, 0, 0); 1052 ! 1060 insert into sys.args values (9846, 259, 'res_0', 'sec_interval', 13, 0, 0, 0); 1060
1053 insert into sys.args values (9840, 259, 'arg_1', 'hugeint', 128, 0, 1, 1); 1053 ! 1061 insert into sys.args values (9847, 259, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1061
1054 insert into sys.functions values (260, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1054 1062 insert into sys.functions values (260, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1062
1055 insert into sys.args values (9841, 260, 'res_0', 'double', 53, 0, 0, 0); 1055 ! 1063 insert into sys.args values (9848, 260, 'res_0', 'double', 53, 0, 0, 0); 1063
1056 insert into sys.args values (9842, 260, 'arg_1', 'real', 24, 0, 1, 1); 1056 ! 1064 insert into sys.args values (9849, 260, 'arg_1', 'double', 53, 0, 1, 1); 1064
1057 insert into sys.functions values (261, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1057 1065 insert into sys.functions values (261, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1065
1058 insert into sys.args values (9843, 261, 'res_0', 'decimal', 2, 0, 0, 0); 1058 ! 1066 insert into sys.args values (9850, 261, 'res_0', 'double', 53, 0, 0, 0); 1066
1059 insert into sys.args values (9844, 261, 'arg_1', 'decimal', 2, 0, 1, 1); 1059 ! 1067 insert into sys.args values (9851, 261, 'arg_1', 'tinyint', 8, 0, 1, 1); 1067
1060 insert into sys.functions values (262, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1060 1068 insert into sys.functions values (262, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1068
1061 insert into sys.args values (9845, 262, 'res_0', 'decimal', 4, 0, 0, 0); 1061 ! 1069 insert into sys.args values (9852, 262, 'res_0', 'double', 53, 0, 0, 0); 1069
1062 insert into sys.args values (9846, 262, 'arg_1', 'decimal', 4, 0, 1, 1); 1062 ! 1070 insert into sys.args values (9853, 262, 'arg_1', 'smallint', 16, 0, 1, 1); 1070
1063 insert into sys.functions values (263, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1063 1071 insert into sys.functions values (263, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1071
1064 insert into sys.args values (9847, 263, 'res_0', 'decimal', 9, 0, 0, 0); 1064 ! 1072 insert into sys.args values (9854, 263, 'res_0', 'double', 53, 0, 0, 0); 1072
1065 insert into sys.args values (9848, 263, 'arg_1', 'decimal', 9, 0, 1, 1); 1065 ! 1073 insert into sys.args values (9855, 263, 'arg_1', 'int', 32, 0, 1, 1); 1073
1066 insert into sys.functions values (264, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1066 1074 insert into sys.functions values (264, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1074
1067 insert into sys.args values (9849, 264, 'res_0', 'decimal', 18, 0, 0, 0); 1067 ! 1075 insert into sys.args values (9856, 264, 'res_0', 'double', 53, 0, 0, 0); 1075
1068 insert into sys.args values (9850, 264, 'arg_1', 'decimal', 18, 0, 1, 1); 1068 ! 1076 insert into sys.args values (9857, 264, 'arg_1', 'bigint', 64, 0, 1, 1); 1076
1069 insert into sys.functions values (265, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1069 1077 insert into sys.functions values (265, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1077
1070 insert into sys.args values (9851, 265, 'res_0', 'decimal', 38, 0, 0, 0); 1070 ! 1078 insert into sys.args values (9858, 265, 'res_0', 'double', 53, 0, 0, 0); 1078
1071 insert into sys.args values (9852, 265, 'arg_1', 'decimal', 38, 0, 1, 1); 1071 ! 1079 insert into sys.args values (9859, 265, 'arg_1', 'hugeint', 128, 0, 1, 1); 1079
1072 insert into sys.functions values (266, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1072 1080 insert into sys.functions values (266, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1080
1073 insert into sys.args values (9853, 266, 'res_0', 'month_interval', 32, 0, 0, 0); 1073 ! 1081 insert into sys.args values (9860, 266, 'res_0', 'double', 53, 0, 0, 0); 1081
1074 insert into sys.args values (9854, 266, 'arg_1', 'month_interval', 32, 0, 1, 1); 1074 ! 1082 insert into sys.args values (9861, 266, 'arg_1', 'real', 24, 0, 1, 1); 1082
1075 insert into sys.functions values (267, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1075 1083 insert into sys.functions values (267, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1083
1076 insert into sys.args values (9855, 267, 'res_0', 'sec_interval', 13, 0, 0, 0); 1076 ! 1084 insert into sys.args values (9862, 267, 'res_0', 'decimal', 2, 0, 0, 0); 1084
1077 insert into sys.args values (9856, 267, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1077 ! 1085 insert into sys.args values (9863, 267, 'arg_1', 'decimal', 2, 0, 1, 1); 1085
1078 insert into sys.functions values (268, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1078 ! 1086 insert into sys.functions values (268, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1086
1079 insert into sys.args values (9857, 268, 'res_0', 'char', 0, 0, 0, 0); 1079 ! 1087 insert into sys.args values (9864, 268, 'res_0', 'decimal', 4, 0, 0, 0); 1087
1080 insert into sys.args values (9858, 268, 'arg_1', 'char', 0, 0, 1, 1); 1080 ! 1088 insert into sys.args values (9865, 268, 'arg_1', 'decimal', 4, 0, 1, 1); 1088
1081 insert into sys.functions values (269, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1081 ! 1089 insert into sys.functions values (269, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1089
1082 insert into sys.args values (9859, 269, 'res_0', 'char', 0, 0, 0, 0); 1082 ! 1090 insert into sys.args values (9866, 269, 'res_0', 'decimal', 9, 0, 0, 0); 1090
1083 insert into sys.args values (9860, 269, 'arg_1', 'char', 0, 0, 1, 1); 1083 ! 1091 insert into sys.args values (9867, 269, 'arg_1', 'decimal', 9, 0, 1, 1); 1091
1084 insert into sys.args values (9861, 269, 'arg_2', 'char', 0, 0, 1, 2); 1084 ! 1092 insert into sys.functions values (270, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1092
1085 insert into sys.functions values (270, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1085 -
1086 insert into sys.args values (9862, 270, 'res_0', 'varchar', 0, 0, 0, 0); 1086 ! 1093 insert into sys.args values (9868, 270, 'res_0', 'decimal', 18, 0, 0, 0); 1093
1087 insert into sys.args values (9863, 270, 'arg_1', 'varchar', 0, 0, 1, 1); 1087 ! 1094 insert into sys.args values (9869, 270, 'arg_1', 'decimal', 18, 0, 1, 1); 1094
1088 insert into sys.functions values (271, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1088 ! 1095 insert into sys.functions values (271, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1095
1089 insert into sys.args values (9864, 271, 'res_0', 'varchar', 0, 0, 0, 0); 1089 ! 1096 insert into sys.args values (9870, 271, 'res_0', 'decimal', 38, 0, 0, 0); 1096
1090 insert into sys.args values (9865, 271, 'arg_1', 'varchar', 0, 0, 1, 1); 1090 ! 1097 insert into sys.args values (9871, 271, 'arg_1', 'decimal', 38, 0, 1, 1); 1097
1091 insert into sys.args values (9866, 271, 'arg_2', 'varchar', 0, 0, 1, 2); 1091 -
1092 insert into sys.functions values (272, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1092 ! 1098 insert into sys.functions values (272, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1098
1093 insert into sys.args values (9867, 272, 'res_0', 'clob', 0, 0, 0, 0); 1093 ! 1099 insert into sys.args values (9872, 272, 'res_0', 'month_interval', 3, 0, 0, 0); 1099
1094 insert into sys.args values (9868, 272, 'arg_1', 'clob', 0, 0, 1, 1); 1094 ! 1100 insert into sys.args values (9873, 272, 'arg_1', 'month_interval', 3, 0, 1, 1); 1100
1095 insert into sys.functions values (273, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1095 ! 1101 insert into sys.functions values (273, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1101
1096 insert into sys.args values (9869, 273, 'res_0', 'clob', 0, 0, 0, 0); 1096 ! 1102 insert into sys.args values (9874, 273, 'res_0', 'day_interval', 4, 0, 0, 0); 1102
1097 insert into sys.args values (9870, 273, 'arg_1', 'clob', 0, 0, 1, 1); 1097 ! 1103 insert into sys.args values (9875, 273, 'arg_1', 'day_interval', 4, 0, 1, 1); 1103
1098 insert into sys.args values (9871, 273, 'arg_2', 'clob', 0, 0, 1, 2); 1098 -
1099 insert into sys.functions values (274, 'and', 'and', 'calc', 0, 1, false, false, false, 2000, true, true); 1099 ! 1104 insert into sys.functions values (274, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1104
1100 insert into sys.args values (9872, 274, 'res_0', 'boolean', 1, 0, 0, 0); 1100 ! 1105 insert into sys.args values (9876, 274, 'res_0', 'sec_interval', 13, 0, 0, 0); 1105
1101 insert into sys.args values (9873, 274, 'arg_1', 'boolean', 1, 0, 1, 1); 1101 ! 1106 insert into sys.args values (9877, 274, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1106
1102 insert into sys.args values (9874, 274, 'arg_2', 'boolean', 1, 0, 1, 2); 1102 -
1103 insert into sys.functions values (275, 'or', 'or', 'calc', 0, 1, false, false, false, 2000, true, true); 1103 ! 1107 insert into sys.functions values (275, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1107
1104 insert into sys.args values (9875, 275, 'res_0', 'boolean', 1, 0, 0, 0); 1104 ! 1108 insert into sys.args values (9878, 275, 'res_0', 'char', 0, 0, 0, 0); 1108
1105 insert into sys.args values (9876, 275, 'arg_1', 'boolean', 1, 0, 1, 1); 1105 ! 1109 insert into sys.args values (9879, 275, 'arg_1', 'char', 0, 0, 1, 1); 1109
1106 insert into sys.args values (9877, 275, 'arg_2', 'boolean', 1, 0, 1, 2); 1106 -
1107 insert into sys.functions values (276, 'xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1107 ! 1110 insert into sys.functions values (276, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1110
1108 insert into sys.args values (9878, 276, 'res_0', 'boolean', 1, 0, 0, 0); 1108 ! 1111 insert into sys.args values (9880, 276, 'res_0', 'char', 0, 0, 0, 0); 1111
1109 insert into sys.args values (9879, 276, 'arg_1', 'boolean', 1, 0, 1, 1); 1109 ! 1112 insert into sys.args values (9881, 276, 'arg_1', 'char', 0, 0, 1, 1); 1112
1110 insert into sys.args values (9880, 276, 'arg_2', 'boolean', 1, 0, 1, 2); 1110 ! 1113 insert into sys.args values (9882, 276, 'arg_2', 'char', 0, 0, 1, 2); 1113
1111 insert into sys.functions values (277, 'not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1111 ! 1114 insert into sys.functions values (277, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1114
1112 insert into sys.args values (9881, 277, 'res_0', 'boolean', 1, 0, 0, 0); 1112 ! 1115 insert into sys.args values (9883, 277, 'res_0', 'varchar', 0, 0, 0, 0); 1115
1113 insert into sys.args values (9882, 277, 'arg_1', 'boolean', 1, 0, 1, 1); 1113 ! 1116 insert into sys.args values (9884, 277, 'arg_1', 'varchar', 0, 0, 1, 1); 1116
1114 insert into sys.functions values (278, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1114 ! 1117 insert into sys.functions values (278, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1117
1115 insert into sys.args values (9883, 278, 'res_0', 'smallint', 16, 0, 0, 0); 1115 ! 1118 insert into sys.args values (9885, 278, 'res_0', 'varchar', 0, 0, 0, 0); 1118
1116 insert into sys.args values (9884, 278, 'arg_1', 'smallint', 16, 0, 1, 1); 1116 ! 1119 insert into sys.args values (9886, 278, 'arg_1', 'varchar', 0, 0, 1, 1); 1119
1117 insert into sys.args values (9885, 278, 'arg_2', 'tinyint', 8, 0, 1, 2); 1117 ! 1120 insert into sys.args values (9887, 278, 'arg_2', 'varchar', 0, 0, 1, 2); 1120
1118 insert into sys.functions values (279, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1118 ! 1121 insert into sys.functions values (279, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1121
1119 insert into sys.args values (9886, 279, 'res_0', 'smallint', 16, 0, 0, 0); 1119 ! 1122 insert into sys.args values (9888, 279, 'res_0', 'clob', 0, 0, 0, 0); 1122
1120 insert into sys.args values (9887, 279, 'arg_1', 'tinyint', 8, 0, 1, 1); 1120 ! 1123 insert into sys.args values (9889, 279, 'arg_1', 'clob', 0, 0, 1, 1); 1123
1121 insert into sys.args values (9888, 279, 'arg_2', 'smallint', 16, 0, 1, 2); 1121 -
1122 insert into sys.functions values (280, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1122 ! 1124 insert into sys.functions values (280, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1124
1123 insert into sys.args values (9889, 280, 'res_0', 'smallint', 16, 0, 0, 0); 1123 ! 1125 insert into sys.args values (9890, 280, 'res_0', 'clob', 0, 0, 0, 0); 1125
1124 insert into sys.args values (9890, 280, 'arg_1', 'smallint', 16, 0, 1, 1); 1124 ! 1126 insert into sys.args values (9891, 280, 'arg_1', 'clob', 0, 0, 1, 1); 1126
1125 insert into sys.args values (9891, 280, 'arg_2', 'tinyint', 8, 0, 1, 2); 1125 ! 1127 insert into sys.args values (9892, 280, 'arg_2', 'clob', 0, 0, 1, 2); 1127
1126 insert into sys.functions values (281, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1126 ! 1128 insert into sys.functions values (281, 'and', 'and', 'calc', 0, 1, false, false, false, 2000, true, true); 1128
1127 insert into sys.args values (9892, 281, 'res_0', 'int', 32, 0, 0, 0); 1127 ! 1129 insert into sys.args values (9893, 281, 'res_0', 'boolean', 1, 0, 0, 0); 1129
1128 insert into sys.args values (9893, 281, 'arg_1', 'int', 32, 0, 1, 1); 1128 ! 1130 insert into sys.args values (9894, 281, 'arg_1', 'boolean', 1, 0, 1, 1); 1130
1129 insert into sys.args values (9894, 281, 'arg_2', 'tinyint', 8, 0, 1, 2); 1129 ! 1131 insert into sys.args values (9895, 281, 'arg_2', 'boolean', 1, 0, 1, 2); 1131
1130 insert into sys.functions values (282, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1130 ! 1132 insert into sys.functions values (282, 'or', 'or', 'calc', 0, 1, false, false, false, 2000, true, true); 1132
1131 insert into sys.args values (9895, 282, 'res_0', 'int', 32, 0, 0, 0); 1131 ! 1133 insert into sys.args values (9896, 282, 'res_0', 'boolean', 1, 0, 0, 0); 1133
1132 insert into sys.args values (9896, 282, 'arg_1', 'tinyint', 8, 0, 1, 1); 1132 ! 1134 insert into sys.args values (9897, 282, 'arg_1', 'boolean', 1, 0, 1, 1); 1134
1133 insert into sys.args values (9897, 282, 'arg_2', 'int', 32, 0, 1, 2); 1133 ! 1135 insert into sys.args values (9898, 282, 'arg_2', 'boolean', 1, 0, 1, 2); 1135
1134 insert into sys.functions values (283, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1134 ! 1136 insert into sys.functions values (283, 'xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1136
1135 insert into sys.args values (9898, 283, 'res_0', 'int', 32, 0, 0, 0); 1135 ! 1137 insert into sys.args values (9899, 283, 'res_0', 'boolean', 1, 0, 0, 0); 1137
1136 insert into sys.args values (9899, 283, 'arg_1', 'int', 32, 0, 1, 1); 1136 ! 1138 insert into sys.args values (9900, 283, 'arg_1', 'boolean', 1, 0, 1, 1); 1138
1137 insert into sys.args values (9900, 283, 'arg_2', 'tinyint', 8, 0, 1, 2); 1137 ! 1139 insert into sys.args values (9901, 283, 'arg_2', 'boolean', 1, 0, 1, 2); 1139
1138 insert into sys.functions values (284, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1138 ! 1140 insert into sys.functions values (284, 'not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1140
1139 insert into sys.args values (9901, 284, 'res_0', 'int', 32, 0, 0, 0); 1139 ! 1141 insert into sys.args values (9902, 284, 'res_0', 'boolean', 1, 0, 0, 0); 1141
1140 insert into sys.args values (9902, 284, 'arg_1', 'int', 32, 0, 1, 1); 1140 ! 1142 insert into sys.args values (9903, 284, 'arg_1', 'boolean', 1, 0, 1, 1); 1142
1141 insert into sys.args values (9903, 284, 'arg_2', 'smallint', 16, 0, 1, 2); 1141 -
1142 insert into sys.functions values (285, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1142 ! 1143 insert into sys.functions values (285, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1143
1143 insert into sys.args values (9904, 285, 'res_0', 'int', 32, 0, 0, 0); 1143 ! 1144 insert into sys.args values (9904, 285, 'res_0', 'month_interval', 3, 0, 0, 0); 1144
1144 insert into sys.args values (9905, 285, 'arg_1', 'smallint', 16, 0, 1, 1); 1144 ! 1145 insert into sys.args values (9905, 285, 'arg_1', 'month_interval', 3, 0, 1, 1); 1145
1145 insert into sys.args values (9906, 285, 'arg_2', 'int', 32, 0, 1, 2); 1145 ! 1146 insert into sys.args values (9906, 285, 'arg_2', 'month_interval', 3, 0, 1, 2); 1146
1146 insert into sys.functions values (286, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1146 ! 1147 insert into sys.functions values (286, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1147
1147 insert into sys.args values (9907, 286, 'res_0', 'int', 32, 0, 0, 0); 1147 ! 1148 insert into sys.args values (9907, 286, 'res_0', 'month_interval', 3, 0, 0, 0); 1148
1148 insert into sys.args values (9908, 286, 'arg_1', 'int', 32, 0, 1, 1); 1148 ! 1149 insert into sys.args values (9908, 286, 'arg_1', 'month_interval', 3, 0, 1, 1); 1149
1149 insert into sys.args values (9909, 286, 'arg_2', 'smallint', 16, 0, 1, 2); 1149 ! 1150 insert into sys.args values (9909, 286, 'arg_2', 'month_interval', 3, 0, 1, 2); 1150
1150 insert into sys.functions values (287, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1150 ! 1151 insert into sys.functions values (287, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, true); 1151
1151 insert into sys.args values (9910, 287, 'res_0', 'bigint', 64, 0, 0, 0); 1151 ! 1152 insert into sys.args values (9910, 287, 'res_0', 'month_interval', 3, 0, 0, 0); 1152
1152 insert into sys.args values (9911, 287, 'arg_1', 'bigint', 64, 0, 1, 1); 1152 ! 1153 insert into sys.args values (9911, 287, 'arg_1', 'month_interval', 3, 0, 1, 1); 1153
1153 insert into sys.args values (9912, 287, 'arg_2', 'tinyint', 8, 0, 1, 2); 1153 -
1154 insert into sys.functions values (288, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1154 ! 1154 insert into sys.functions values (288, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1154
1155 insert into sys.args values (9913, 288, 'res_0', 'bigint', 64, 0, 0, 0); 1155 ! 1155 insert into sys.args values (9912, 288, 'res_0', 'month_interval', 3, 0, 0, 0); 1155
1156 insert into sys.args values (9914, 288, 'arg_1', 'tinyint', 8, 0, 1, 1); 1156 ! 1156 insert into sys.args values (9913, 288, 'arg_1', 'month_interval', 3, 0, 1, 1); 1156
1157 insert into sys.args values (9915, 288, 'arg_2', 'bigint', 64, 0, 1, 2); 1157 -
1158 insert into sys.functions values (289, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1158 ! 1157 insert into sys.functions values (289, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1157
1159 insert into sys.args values (9916, 289, 'res_0', 'bigint', 64, 0, 0, 0); 1159 ! 1158 insert into sys.args values (9914, 289, 'res_0', 'tinyint', 8, 0, 0, 0); 1158
1160 insert into sys.args values (9917, 289, 'arg_1', 'bigint', 64, 0, 1, 1); 1160 ! 1159 insert into sys.args values (9915, 289, 'arg_1', 'month_interval', 3, 0, 1, 1); 1159
1161 insert into sys.args values (9918, 289, 'arg_2', 'tinyint', 8, 0, 1, 2); 1161 -
1162 insert into sys.functions values (290, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1162 ! 1160 insert into sys.functions values (290, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1160
1163 insert into sys.args values (9919, 290, 'res_0', 'bigint', 64, 0, 0, 0); 1163 ! 1161 insert into sys.args values (9916, 290, 'res_0', 'month_interval', 3, 0, 0, 0); 1161
1164 insert into sys.args values (9920, 290, 'arg_1', 'bigint', 64, 0, 1, 1); 1164 ! 1162 insert into sys.args values (9917, 290, 'arg_1', 'month_interval', 3, 0, 1, 1); 1162
1165 insert into sys.args values (9921, 290, 'arg_2', 'smallint', 16, 0, 1, 2); 1165 ! 1163 insert into sys.args values (9918, 290, 'arg_2', 'int', 32, 0, 1, 2); 1163
1166 insert into sys.functions values (291, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1166 ! 1164 insert into sys.functions values (291, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1164
1167 insert into sys.args values (9922, 291, 'res_0', 'bigint', 64, 0, 0, 0); 1167 ! 1165 insert into sys.args values (9919, 291, 'res_0', 'month_interval', 3, 0, 0, 0); 1165
1168 insert into sys.args values (9923, 291, 'arg_1', 'smallint', 16, 0, 1, 1); 1168 ! 1166 insert into sys.args values (9920, 291, 'arg_1', 'month_interval', 3, 0, 1, 1); 1166
1169 insert into sys.args values (9924, 291, 'arg_2', 'bigint', 64, 0, 1, 2); 1169 ! 1167 insert into sys.args values (9921, 291, 'arg_2', 'int', 32, 0, 1, 2); 1167
1170 insert into sys.functions values (292, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1170 ! 1168 insert into sys.functions values (292, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1168
1171 insert into sys.args values (9925, 292, 'res_0', 'bigint', 64, 0, 0, 0); 1171 ! 1169 insert into sys.args values (9922, 292, 'res_0', 'day_interval', 4, 0, 0, 0); 1169
1172 insert into sys.args values (9926, 292, 'arg_1', 'bigint', 64, 0, 1, 1); 1172 ! 1170 insert into sys.args values (9923, 292, 'arg_1', 'day_interval', 4, 0, 1, 1); 1170
1173 insert into sys.args values (9927, 292, 'arg_2', 'smallint', 16, 0, 1, 2); 1173 ! 1171 insert into sys.args values (9924, 292, 'arg_2', 'day_interval', 4, 0, 1, 2); 1171
1174 insert into sys.functions values (293, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1174 ! 1172 insert into sys.functions values (293, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1172
1175 insert into sys.args values (9928, 293, 'res_0', 'bigint', 64, 0, 0, 0); 1175 ! 1173 insert into sys.args values (9925, 293, 'res_0', 'day_interval', 4, 0, 0, 0); 1173
1176 insert into sys.args values (9929, 293, 'arg_1', 'bigint', 64, 0, 1, 1); 1176 ! 1174 insert into sys.args values (9926, 293, 'arg_1', 'day_interval', 4, 0, 1, 1); 1174
1177 insert into sys.args values (9930, 293, 'arg_2', 'int', 32, 0, 1, 2); 1177 ! 1175 insert into sys.args values (9927, 293, 'arg_2', 'day_interval', 4, 0, 1, 2); 1175
1178 insert into sys.functions values (294, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1178 ! 1176 insert into sys.functions values (294, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, true); 1176
1179 insert into sys.args values (9931, 294, 'res_0', 'bigint', 64, 0, 0, 0); 1179 ! 1177 insert into sys.args values (9928, 294, 'res_0', 'day_interval', 4, 0, 0, 0); 1177
1180 insert into sys.args values (9932, 294, 'arg_1', 'int', 32, 0, 1, 1); 1180 ! 1178 insert into sys.args values (9929, 294, 'arg_1', 'day_interval', 4, 0, 1, 1); 1178
1181 insert into sys.args values (9933, 294, 'arg_2', 'bigint', 64, 0, 1, 2); 1181 -
1182 insert into sys.functions values (295, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1182 ! 1179 insert into sys.functions values (295, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1179
1183 insert into sys.args values (9934, 295, 'res_0', 'bigint', 64, 0, 0, 0); 1183 ! 1180 insert into sys.args values (9930, 295, 'res_0', 'day_interval', 4, 0, 0, 0); 1180
1184 insert into sys.args values (9935, 295, 'arg_1', 'bigint', 64, 0, 1, 1); 1184 ! 1181 insert into sys.args values (9931, 295, 'arg_1', 'day_interval', 4, 0, 1, 1); 1181
1185 insert into sys.args values (9936, 295, 'arg_2', 'int', 32, 0, 1, 2); 1185 -
1186 insert into sys.functions values (296, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1186 ! 1182 insert into sys.functions values (296, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1182
1187 insert into sys.args values (9937, 296, 'res_0', 'hugeint', 128, 0, 0, 0); 1187 ! 1183 insert into sys.args values (9932, 296, 'res_0', 'tinyint', 8, 0, 0, 0); 1183
1188 insert into sys.args values (9938, 296, 'arg_1', 'hugeint', 128, 0, 1, 1); 1188 ! 1184 insert into sys.args values (9933, 296, 'arg_1', 'day_interval', 4, 0, 1, 1); 1184
1189 insert into sys.args values (9939, 296, 'arg_2', 'tinyint', 8, 0, 1, 2); 1189 -
1190 insert into sys.functions values (297, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1190 ! 1185 insert into sys.functions values (297, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1185
1191 insert into sys.args values (9940, 297, 'res_0', 'hugeint', 128, 0, 0, 0); 1191 ! 1186 insert into sys.args values (9934, 297, 'res_0', 'day_interval', 4, 0, 0, 0); 1186
1192 insert into sys.args values (9941, 297, 'arg_1', 'tinyint', 8, 0, 1, 1); 1192 ! 1187 insert into sys.args values (9935, 297, 'arg_1', 'day_interval', 4, 0, 1, 1); 1187
1193 insert into sys.args values (9942, 297, 'arg_2', 'hugeint', 128, 0, 1, 2); 1193 ! 1188 insert into sys.args values (9936, 297, 'arg_2', 'bigint', 64, 0, 1, 2); 1188
1194 insert into sys.functions values (298, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1194 ! 1189 insert into sys.functions values (298, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1189
1195 insert into sys.args values (9943, 298, 'res_0', 'hugeint', 128, 0, 0, 0); 1195 ! 1190 insert into sys.args values (9937, 298, 'res_0', 'day_interval', 4, 0, 0, 0); 1190
1196 insert into sys.args values (9944, 298, 'arg_1', 'hugeint', 128, 0, 1, 1); 1196 ! 1191 insert into sys.args values (9938, 298, 'arg_1', 'day_interval', 4, 0, 1, 1); 1191
1197 insert into sys.args values (9945, 298, 'arg_2', 'tinyint', 8, 0, 1, 2); 1197 ! 1192 insert into sys.args values (9939, 298, 'arg_2', 'bigint', 64, 0, 1, 2); 1192
1198 insert into sys.functions values (299, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1198 ! 1193 insert into sys.functions values (299, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1193
1199 insert into sys.args values (9946, 299, 'res_0', 'hugeint', 128, 0, 0, 0); 1199 ! 1194 insert into sys.args values (9940, 299, 'res_0', 'sec_interval', 13, 0, 0, 0); 1194
1200 insert into sys.args values (9947, 299, 'arg_1', 'hugeint', 128, 0, 1, 1); 1200 ! 1195 insert into sys.args values (9941, 299, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1195
1201 insert into sys.args values (9948, 299, 'arg_2', 'smallint', 16, 0, 1, 2); 1201 ! 1196 insert into sys.args values (9942, 299, 'arg_2', 'sec_interval', 13, 0, 1, 2); 1196
1202 insert into sys.functions values (300, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1202 ! 1197 insert into sys.functions values (300, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1197
1203 insert into sys.args values (9949, 300, 'res_0', 'hugeint', 128, 0, 0, 0); 1203 ! 1198 insert into sys.args values (9943, 300, 'res_0', 'sec_interval', 13, 0, 0, 0); 1198
1204 insert into sys.args values (9950, 300, 'arg_1', 'smallint', 16, 0, 1, 1); 1204 ! 1199 insert into sys.args values (9944, 300, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1199
1205 insert into sys.args values (9951, 300, 'arg_2', 'hugeint', 128, 0, 1, 2); 1205 ! 1200 insert into sys.args values (9945, 300, 'arg_2', 'sec_interval', 13, 0, 1, 2); 1200
1206 insert into sys.functions values (301, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1206 ! 1201 insert into sys.functions values (301, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, true); 1201
1207 insert into sys.args values (9952, 301, 'res_0', 'hugeint', 128, 0, 0, 0); 1207 ! 1202 insert into sys.args values (9946, 301, 'res_0', 'sec_interval', 13, 0, 0, 0); 1202
1208 insert into sys.args values (9953, 301, 'arg_1', 'hugeint', 128, 0, 1, 1); 1208 ! 1203 insert into sys.args values (9947, 301, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1203
1209 insert into sys.args values (9954, 301, 'arg_2', 'smallint', 16, 0, 1, 2); 1209 -
1210 insert into sys.functions values (302, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1210 ! 1204 insert into sys.functions values (302, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1204
1211 insert into sys.args values (9955, 302, 'res_0', 'hugeint', 128, 0, 0, 0); 1211 ! 1205 insert into sys.args values (9948, 302, 'res_0', 'sec_interval', 13, 0, 0, 0); 1205
1212 insert into sys.args values (9956, 302, 'arg_1', 'hugeint', 128, 0, 1, 1); 1212 ! 1206 insert into sys.args values (9949, 302, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1206
1213 insert into sys.args values (9957, 302, 'arg_2', 'int', 32, 0, 1, 2); 1213 -
1214 insert into sys.functions values (303, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1214 ! 1207 insert into sys.functions values (303, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1207
1215 insert into sys.args values (9958, 303, 'res_0', 'hugeint', 128, 0, 0, 0); 1215 ! 1208 insert into sys.args values (9950, 303, 'res_0', 'tinyint', 8, 0, 0, 0); 1208
1216 insert into sys.args values (9959, 303, 'arg_1', 'int', 32, 0, 1, 1); 1216 ! 1209 insert into sys.args values (9951, 303, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1209
1217 insert into sys.args values (9960, 303, 'arg_2', 'hugeint', 128, 0, 1, 2); 1217 -
1218 insert into sys.functions values (304, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1218 ! 1210 insert into sys.functions values (304, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1210
1219 insert into sys.args values (9961, 304, 'res_0', 'hugeint', 128, 0, 0, 0); 1219 ! 1211 insert into sys.args values (9952, 304, 'res_0', 'sec_interval', 13, 0, 0, 0); 1211
1220 insert into sys.args values (9962, 304, 'arg_1', 'hugeint', 128, 0, 1, 1); 1220 ! 1212 insert into sys.args values (9953, 304, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1212
1221 insert into sys.args values (9963, 304, 'arg_2', 'int', 32, 0, 1, 2); 1221 ! 1213 insert into sys.args values (9954, 304, 'arg_2', 'bigint', 64, 0, 1, 2); 1213
1222 insert into sys.functions values (305, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1222 ! 1214 insert into sys.functions values (305, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1214
1223 insert into sys.args values (9964, 305, 'res_0', 'hugeint', 128, 0, 0, 0); 1223 ! 1215 insert into sys.args values (9955, 305, 'res_0', 'sec_interval', 13, 0, 0, 0); 1215
1224 insert into sys.args values (9965, 305, 'arg_1', 'hugeint', 128, 0, 1, 1); 1224 ! 1216 insert into sys.args values (9956, 305, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1216
1225 insert into sys.args values (9966, 305, 'arg_2', 'bigint', 64, 0, 1, 2); 1225 ! 1217 insert into sys.args values (9957, 305, 'arg_2', 'bigint', 64, 0, 1, 2); 1217
1226 insert into sys.functions values (306, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1226 1218 insert into sys.functions values (306, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1218
1227 insert into sys.args values (9967, 306, 'res_0', 'hugeint', 128, 0, 0, 0); 1227 ! 1219 insert into sys.args values (9958, 306, 'res_0', 'smallint', 16, 0, 0, 0); 1219
1228 insert into sys.args values (9968, 306, 'arg_1', 'bigint', 64, 0, 1, 1); 1228 ! 1220 insert into sys.args values (9959, 306, 'arg_1', 'smallint', 16, 0, 1, 1); 1220
1229 insert into sys.args values (9969, 306, 'arg_2', 'hugeint', 128, 0, 1, 2); 1229 ! 1221 insert into sys.args values (9960, 306, 'arg_2', 'tinyint', 8, 0, 1, 2); 1221
1230 insert into sys.functions values (307, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1230 ! 1222 insert into sys.functions values (307, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1222
1231 insert into sys.args values (9970, 307, 'res_0', 'hugeint', 128, 0, 0, 0); 1231 ! 1223 insert into sys.args values (9961, 307, 'res_0', 'smallint', 16, 0, 0, 0); 1223
1232 insert into sys.args values (9971, 307, 'arg_1', 'hugeint', 128, 0, 1, 1); 1232 ! 1224 insert into sys.args values (9962, 307, 'arg_1', 'tinyint', 8, 0, 1, 1); 1224
1233 insert into sys.args values (9972, 307, 'arg_2', 'bigint', 64, 0, 1, 2); 1233 ! 1225 insert into sys.args values (9963, 307, 'arg_2', 'smallint', 16, 0, 1, 2); 1225
1234 insert into sys.functions values (308, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1234 ! 1226 insert into sys.functions values (308, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1226
1235 insert into sys.args values (9973, 308, 'res_0', 'decimal', 4, 0, 0, 0); 1235 ! 1227 insert into sys.args values (9964, 308, 'res_0', 'smallint', 16, 0, 0, 0); 1227
1236 insert into sys.args values (9974, 308, 'arg_1', 'decimal', 4, 0, 1, 1); 1236 ! 1228 insert into sys.args values (9965, 308, 'arg_1', 'smallint', 16, 0, 1, 1); 1228
1237 insert into sys.args values (9975, 308, 'arg_2', 'tinyint', 8, 0, 1, 2); 1237 ! 1229 insert into sys.args values (9966, 308, 'arg_2', 'tinyint', 8, 0, 1, 2); 1229
1238 insert into sys.functions values (309, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1238 1230 insert into sys.functions values (309, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1230
1239 insert into sys.args values (9976, 309, 'res_0', 'decimal', 4, 0, 0, 0); 1239 ! 1231 insert into sys.args values (9967, 309, 'res_0', 'int', 32, 0, 0, 0); 1231
1240 insert into sys.args values (9977, 309, 'arg_1', 'tinyint', 8, 0, 1, 1); 1240 ! 1232 insert into sys.args values (9968, 309, 'arg_1', 'int', 32, 0, 1, 1); 1232
1241 insert into sys.args values (9978, 309, 'arg_2', 'decimal', 4, 0, 1, 2); 1241 ! 1233 insert into sys.args values (9969, 309, 'arg_2', 'tinyint', 8, 0, 1, 2); 1233
1242 insert into sys.functions values (310, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1242 ! 1234 insert into sys.functions values (310, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1234
1243 insert into sys.args values (9979, 310, 'res_0', 'decimal', 4, 0, 0, 0); 1243 ! 1235 insert into sys.args values (9970, 310, 'res_0', 'int', 32, 0, 0, 0); 1235
1244 insert into sys.args values (9980, 310, 'arg_1', 'decimal', 4, 0, 1, 1); 1244 ! 1236 insert into sys.args values (9971, 310, 'arg_1', 'tinyint', 8, 0, 1, 1); 1236
1245 insert into sys.args values (9981, 310, 'arg_2', 'tinyint', 8, 0, 1, 2); 1245 ! 1237 insert into sys.args values (9972, 310, 'arg_2', 'int', 32, 0, 1, 2); 1237
1246 insert into sys.functions values (311, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1246 ! 1238 insert into sys.functions values (311, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1238
1247 insert into sys.args values (9982, 311, 'res_0', 'decimal', 9, 0, 0, 0); 1247 ! 1239 insert into sys.args values (9973, 311, 'res_0', 'int', 32, 0, 0, 0); 1239
1248 insert into sys.args values (9983, 311, 'arg_1', 'decimal', 9, 0, 1, 1); 1248 ! 1240 insert into sys.args values (9974, 311, 'arg_1', 'int', 32, 0, 1, 1); 1240
1249 insert into sys.args values (9984, 311, 'arg_2', 'tinyint', 8, 0, 1, 2); 1249 ! 1241 insert into sys.args values (9975, 311, 'arg_2', 'tinyint', 8, 0, 1, 2); 1241
1250 insert into sys.functions values (312, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1250 1242 insert into sys.functions values (312, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1242
1251 insert into sys.args values (9985, 312, 'res_0', 'decimal', 9, 0, 0, 0); 1251 ! 1243 insert into sys.args values (9976, 312, 'res_0', 'int', 32, 0, 0, 0); 1243
1252 insert into sys.args values (9986, 312, 'arg_1', 'tinyint', 8, 0, 1, 1); 1252 ! 1244 insert into sys.args values (9977, 312, 'arg_1', 'int', 32, 0, 1, 1); 1244
1253 insert into sys.args values (9987, 312, 'arg_2', 'decimal', 9, 0, 1, 2); 1253 ! 1245 insert into sys.args values (9978, 312, 'arg_2', 'smallint', 16, 0, 1, 2); 1245
1254 insert into sys.functions values (313, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1254 ! 1246 insert into sys.functions values (313, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1246
1255 insert into sys.args values (9988, 313, 'res_0', 'decimal', 9, 0, 0, 0); 1255 ! 1247 insert into sys.args values (9979, 313, 'res_0', 'int', 32, 0, 0, 0); 1247
1256 insert into sys.args values (9989, 313, 'arg_1', 'decimal', 9, 0, 1, 1); 1256 ! 1248 insert into sys.args values (9980, 313, 'arg_1', 'smallint', 16, 0, 1, 1); 1248
1257 insert into sys.args values (9990, 313, 'arg_2', 'tinyint', 8, 0, 1, 2); 1257 ! 1249 insert into sys.args values (9981, 313, 'arg_2', 'int', 32, 0, 1, 2); 1249
1258 insert into sys.functions values (314, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1258 ! 1250 insert into sys.functions values (314, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1250
1259 insert into sys.args values (9991, 314, 'res_0', 'decimal', 9, 0, 0, 0); 1259 ! 1251 insert into sys.args values (9982, 314, 'res_0', 'int', 32, 0, 0, 0); 1251
1260 insert into sys.args values (9992, 314, 'arg_1', 'decimal', 9, 0, 1, 1); 1260 ! 1252 insert into sys.args values (9983, 314, 'arg_1', 'int', 32, 0, 1, 1); 1252
1261 insert into sys.args values (9993, 314, 'arg_2', 'smallint', 16, 0, 1, 2); 1261 ! 1253 insert into sys.args values (9984, 314, 'arg_2', 'smallint', 16, 0, 1, 2); 1253
1262 insert into sys.functions values (315, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1262 1254 insert into sys.functions values (315, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1254
1263 insert into sys.args values (9994, 315, 'res_0', 'decimal', 9, 0, 0, 0); 1263 ! 1255 insert into sys.args values (9985, 315, 'res_0', 'bigint', 64, 0, 0, 0); 1255
1264 insert into sys.args values (9995, 315, 'arg_1', 'smallint', 16, 0, 1, 1); 1264 ! 1256 insert into sys.args values (9986, 315, 'arg_1', 'bigint', 64, 0, 1, 1); 1256
1265 insert into sys.args values (9996, 315, 'arg_2', 'decimal', 9, 0, 1, 2); 1265 ! 1257 insert into sys.args values (9987, 315, 'arg_2', 'tinyint', 8, 0, 1, 2); 1257
1266 insert into sys.functions values (316, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1266 ! 1258 insert into sys.functions values (316, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1258
1267 insert into sys.args values (9997, 316, 'res_0', 'decimal', 9, 0, 0, 0); 1267 ! 1259 insert into sys.args values (9988, 316, 'res_0', 'bigint', 64, 0, 0, 0); 1259
1268 insert into sys.args values (9998, 316, 'arg_1', 'decimal', 9, 0, 1, 1); 1268 ! 1260 insert into sys.args values (9989, 316, 'arg_1', 'tinyint', 8, 0, 1, 1); 1260
1269 insert into sys.args values (9999, 316, 'arg_2', 'smallint', 16, 0, 1, 2); 1269 ! 1261 insert into sys.args values (9990, 316, 'arg_2', 'bigint', 64, 0, 1, 2); 1261
1270 insert into sys.functions values (317, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1270 ! 1262 insert into sys.functions values (317, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1262
1271 insert into sys.args values (10000, 317, 'res_0', 'decimal', 18, 0, 0, 0); 1271 ! 1263 insert into sys.args values (9991, 317, 'res_0', 'bigint', 64, 0, 0, 0); 1263
1272 insert into sys.args values (10001, 317, 'arg_1', 'decimal', 18, 0, 1, 1); 1272 ! 1264 insert into sys.args values (9992, 317, 'arg_1', 'bigint', 64, 0, 1, 1); 1264
1273 insert into sys.args values (10002, 317, 'arg_2', 'tinyint', 8, 0, 1, 2); 1273 ! 1265 insert into sys.args values (9993, 317, 'arg_2', 'tinyint', 8, 0, 1, 2); 1265
1274 insert into sys.functions values (318, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1274 1266 insert into sys.functions values (318, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1266
1275 insert into sys.args values (10003, 318, 'res_0', 'decimal', 18, 0, 0, 0); 1275 ! 1267 insert into sys.args values (9994, 318, 'res_0', 'bigint', 64, 0, 0, 0); 1267
1276 insert into sys.args values (10004, 318, 'arg_1', 'tinyint', 8, 0, 1, 1); 1276 ! 1268 insert into sys.args values (9995, 318, 'arg_1', 'bigint', 64, 0, 1, 1); 1268
1277 insert into sys.args values (10005, 318, 'arg_2', 'decimal', 18, 0, 1, 2); 1277 ! 1269 insert into sys.args values (9996, 318, 'arg_2', 'smallint', 16, 0, 1, 2); 1269
1278 insert into sys.functions values (319, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1278 ! 1270 insert into sys.functions values (319, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1270
1279 insert into sys.args values (10006, 319, 'res_0', 'decimal', 18, 0, 0, 0); 1279 ! 1271 insert into sys.args values (9997, 319, 'res_0', 'bigint', 64, 0, 0, 0); 1271
1280 insert into sys.args values (10007, 319, 'arg_1', 'decimal', 18, 0, 1, 1); 1280 ! 1272 insert into sys.args values (9998, 319, 'arg_1', 'smallint', 16, 0, 1, 1); 1272
1281 insert into sys.args values (10008, 319, 'arg_2', 'tinyint', 8, 0, 1, 2); 1281 ! 1273 insert into sys.args values (9999, 319, 'arg_2', 'bigint', 64, 0, 1, 2); 1273
1282 insert into sys.functions values (320, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1282 ! 1274 insert into sys.functions values (320, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1274
1283 insert into sys.args values (10009, 320, 'res_0', 'decimal', 18, 0, 0, 0); 1283 ! 1275 insert into sys.args values (10000, 320, 'res_0', 'bigint', 64, 0, 0, 0); 1275
1284 insert into sys.args values (10010, 320, 'arg_1', 'decimal', 18, 0, 1, 1); 1284 ! 1276 insert into sys.args values (10001, 320, 'arg_1', 'bigint', 64, 0, 1, 1); 1276
1285 insert into sys.args values (10011, 320, 'arg_2', 'smallint', 16, 0, 1, 2); 1285 ! 1277 insert into sys.args values (10002, 320, 'arg_2', 'smallint', 16, 0, 1, 2); 1277
1286 insert into sys.functions values (321, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1286 1278 insert into sys.functions values (321, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1278
1287 insert into sys.args values (10012, 321, 'res_0', 'decimal', 18, 0, 0, 0); 1287 ! 1279 insert into sys.args values (10003, 321, 'res_0', 'bigint', 64, 0, 0, 0); 1279
1288 insert into sys.args values (10013, 321, 'arg_1', 'smallint', 16, 0, 1, 1); 1288 ! 1280 insert into sys.args values (10004, 321, 'arg_1', 'bigint', 64, 0, 1, 1); 1280
1289 insert into sys.args values (10014, 321, 'arg_2', 'decimal', 18, 0, 1, 2); 1289 ! 1281 insert into sys.args values (10005, 321, 'arg_2', 'int', 32, 0, 1, 2); 1281
1290 insert into sys.functions values (322, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1290 ! 1282 insert into sys.functions values (322, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1282
1291 insert into sys.args values (10015, 322, 'res_0', 'decimal', 18, 0, 0, 0); 1291 ! 1283 insert into sys.args values (10006, 322, 'res_0', 'bigint', 64, 0, 0, 0); 1283
1292 insert into sys.args values (10016, 322, 'arg_1', 'decimal', 18, 0, 1, 1); 1292 ! 1284 insert into sys.args values (10007, 322, 'arg_1', 'int', 32, 0, 1, 1); 1284
1293 insert into sys.args values (10017, 322, 'arg_2', 'smallint', 16, 0, 1, 2); 1293 ! 1285 insert into sys.args values (10008, 322, 'arg_2', 'bigint', 64, 0, 1, 2); 1285
1294 insert into sys.functions values (323, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1294 ! 1286 insert into sys.functions values (323, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1286
1295 insert into sys.args values (10018, 323, 'res_0', 'decimal', 18, 0, 0, 0); 1295 ! 1287 insert into sys.args values (10009, 323, 'res_0', 'bigint', 64, 0, 0, 0); 1287
1296 insert into sys.args values (10019, 323, 'arg_1', 'decimal', 18, 0, 1, 1); 1296 ! 1288 insert into sys.args values (10010, 323, 'arg_1', 'bigint', 64, 0, 1, 1); 1288
1297 insert into sys.args values (10020, 323, 'arg_2', 'int', 32, 0, 1, 2); 1297 ! 1289 insert into sys.args values (10011, 323, 'arg_2', 'int', 32, 0, 1, 2); 1289
1298 insert into sys.functions values (324, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1298 1290 insert into sys.functions values (324, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1290
1299 insert into sys.args values (10021, 324, 'res_0', 'decimal', 18, 0, 0, 0); 1299 ! 1291 insert into sys.args values (10012, 324, 'res_0', 'hugeint', 128, 0, 0, 0); 1291
1300 insert into sys.args values (10022, 324, 'arg_1', 'int', 32, 0, 1, 1); 1300 ! 1292 insert into sys.args values (10013, 324, 'arg_1', 'hugeint', 128, 0, 1, 1); 1292
1301 insert into sys.args values (10023, 324, 'arg_2', 'decimal', 18, 0, 1, 2); 1301 ! 1293 insert into sys.args values (10014, 324, 'arg_2', 'tinyint', 8, 0, 1, 2); 1293
1302 insert into sys.functions values (325, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1302 ! 1294 insert into sys.functions values (325, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1294
1303 insert into sys.args values (10024, 325, 'res_0', 'decimal', 18, 0, 0, 0); 1303 ! 1295 insert into sys.args values (10015, 325, 'res_0', 'hugeint', 128, 0, 0, 0); 1295
1304 insert into sys.args values (10025, 325, 'arg_1', 'decimal', 18, 0, 1, 1); 1304 ! 1296 insert into sys.args values (10016, 325, 'arg_1', 'tinyint', 8, 0, 1, 1); 1296
1305 insert into sys.args values (10026, 325, 'arg_2', 'int', 32, 0, 1, 2); 1305 ! 1297 insert into sys.args values (10017, 325, 'arg_2', 'hugeint', 128, 0, 1, 2); 1297
1306 insert into sys.functions values (326, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1306 ! 1298 insert into sys.functions values (326, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1298
1307 insert into sys.args values (10027, 326, 'res_0', 'decimal', 38, 0, 0, 0); 1307 ! 1299 insert into sys.args values (10018, 326, 'res_0', 'hugeint', 128, 0, 0, 0); 1299
1308 insert into sys.args values (10028, 326, 'arg_1', 'decimal', 38, 0, 1, 1); 1308 ! 1300 insert into sys.args values (10019, 326, 'arg_1', 'hugeint', 128, 0, 1, 1); 1300
1309 insert into sys.args values (10029, 326, 'arg_2', 'tinyint', 8, 0, 1, 2); 1309 ! 1301 insert into sys.args values (10020, 326, 'arg_2', 'tinyint', 8, 0, 1, 2); 1301
1310 insert into sys.functions values (327, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1310 1302 insert into sys.functions values (327, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1302
1311 insert into sys.args values (10030, 327, 'res_0', 'decimal', 38, 0, 0, 0); 1311 ! 1303 insert into sys.args values (10021, 327, 'res_0', 'hugeint', 128, 0, 0, 0); 1303
1312 insert into sys.args values (10031, 327, 'arg_1', 'tinyint', 8, 0, 1, 1); 1312 ! 1304 insert into sys.args values (10022, 327, 'arg_1', 'hugeint', 128, 0, 1, 1); 1304
1313 insert into sys.args values (10032, 327, 'arg_2', 'decimal', 38, 0, 1, 2); 1313 ! 1305 insert into sys.args values (10023, 327, 'arg_2', 'smallint', 16, 0, 1, 2); 1305
1314 insert into sys.functions values (328, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1314 ! 1306 insert into sys.functions values (328, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1306
1315 insert into sys.args values (10033, 328, 'res_0', 'decimal', 38, 0, 0, 0); 1315 ! 1307 insert into sys.args values (10024, 328, 'res_0', 'hugeint', 128, 0, 0, 0); 1307
1316 insert into sys.args values (10034, 328, 'arg_1', 'decimal', 38, 0, 1, 1); 1316 ! 1308 insert into sys.args values (10025, 328, 'arg_1', 'smallint', 16, 0, 1, 1); 1308
1317 insert into sys.args values (10035, 328, 'arg_2', 'tinyint', 8, 0, 1, 2); 1317 ! 1309 insert into sys.args values (10026, 328, 'arg_2', 'hugeint', 128, 0, 1, 2); 1309
1318 insert into sys.functions values (329, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1318 ! 1310 insert into sys.functions values (329, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1310
1319 insert into sys.args values (10036, 329, 'res_0', 'decimal', 38, 0, 0, 0); 1319 ! 1311 insert into sys.args values (10027, 329, 'res_0', 'hugeint', 128, 0, 0, 0); 1311
1320 insert into sys.args values (10037, 329, 'arg_1', 'decimal', 38, 0, 1, 1); 1320 ! 1312 insert into sys.args values (10028, 329, 'arg_1', 'hugeint', 128, 0, 1, 1); 1312
1321 insert into sys.args values (10038, 329, 'arg_2', 'smallint', 16, 0, 1, 2); 1321 ! 1313 insert into sys.args values (10029, 329, 'arg_2', 'smallint', 16, 0, 1, 2); 1313
1322 insert into sys.functions values (330, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1322 1314 insert into sys.functions values (330, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1314
1323 insert into sys.args values (10039, 330, 'res_0', 'decimal', 38, 0, 0, 0); 1323 ! 1315 insert into sys.args values (10030, 330, 'res_0', 'hugeint', 128, 0, 0, 0); 1315
1324 insert into sys.args values (10040, 330, 'arg_1', 'smallint', 16, 0, 1, 1); 1324 ! 1316 insert into sys.args values (10031, 330, 'arg_1', 'hugeint', 128, 0, 1, 1); 1316
1325 insert into sys.args values (10041, 330, 'arg_2', 'decimal', 38, 0, 1, 2); 1325 ! 1317 insert into sys.args values (10032, 330, 'arg_2', 'int', 32, 0, 1, 2); 1317
1326 insert into sys.functions values (331, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1326 ! 1318 insert into sys.functions values (331, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1318
1327 insert into sys.args values (10042, 331, 'res_0', 'decimal', 38, 0, 0, 0); 1327 ! 1319 insert into sys.args values (10033, 331, 'res_0', 'hugeint', 128, 0, 0, 0); 1319
1328 insert into sys.args values (10043, 331, 'arg_1', 'decimal', 38, 0, 1, 1); 1328 ! 1320 insert into sys.args values (10034, 331, 'arg_1', 'int', 32, 0, 1, 1); 1320
1329 insert into sys.args values (10044, 331, 'arg_2', 'smallint', 16, 0, 1, 2); 1329 ! 1321 insert into sys.args values (10035, 331, 'arg_2', 'hugeint', 128, 0, 1, 2); 1321
1330 insert into sys.functions values (332, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1330 ! 1322 insert into sys.functions values (332, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1322
1331 insert into sys.args values (10045, 332, 'res_0', 'decimal', 38, 0, 0, 0); 1331 ! 1323 insert into sys.args values (10036, 332, 'res_0', 'hugeint', 128, 0, 0, 0); 1323
1332 insert into sys.args values (10046, 332, 'arg_1', 'decimal', 38, 0, 1, 1); 1332 ! 1324 insert into sys.args values (10037, 332, 'arg_1', 'hugeint', 128, 0, 1, 1); 1324
1333 insert into sys.args values (10047, 332, 'arg_2', 'int', 32, 0, 1, 2); 1333 ! 1325 insert into sys.args values (10038, 332, 'arg_2', 'int', 32, 0, 1, 2); 1325
1334 insert into sys.functions values (333, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1334 1326 insert into sys.functions values (333, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1326
1335 insert into sys.args values (10048, 333, 'res_0', 'decimal', 38, 0, 0, 0); 1335 ! 1327 insert into sys.args values (10039, 333, 'res_0', 'hugeint', 128, 0, 0, 0); 1327
1336 insert into sys.args values (10049, 333, 'arg_1', 'int', 32, 0, 1, 1); 1336 ! 1328 insert into sys.args values (10040, 333, 'arg_1', 'hugeint', 128, 0, 1, 1); 1328
1337 insert into sys.args values (10050, 333, 'arg_2', 'decimal', 38, 0, 1, 2); 1337 ! 1329 insert into sys.args values (10041, 333, 'arg_2', 'bigint', 64, 0, 1, 2); 1329
1338 insert into sys.functions values (334, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1338 ! 1330 insert into sys.functions values (334, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1330
1339 insert into sys.args values (10051, 334, 'res_0', 'decimal', 38, 0, 0, 0); 1339 ! 1331 insert into sys.args values (10042, 334, 'res_0', 'hugeint', 128, 0, 0, 0); 1331
1340 insert into sys.args values (10052, 334, 'arg_1', 'decimal', 38, 0, 1, 1); 1340 ! 1332 insert into sys.args values (10043, 334, 'arg_1', 'bigint', 64, 0, 1, 1); 1332
1341 insert into sys.args values (10053, 334, 'arg_2', 'int', 32, 0, 1, 2); 1341 ! 1333 insert into sys.args values (10044, 334, 'arg_2', 'hugeint', 128, 0, 1, 2); 1333
1342 insert into sys.functions values (335, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1342 ! 1334 insert into sys.functions values (335, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1334
1343 insert into sys.args values (10054, 335, 'res_0', 'decimal', 38, 0, 0, 0); 1343 ! 1335 insert into sys.args values (10045, 335, 'res_0', 'hugeint', 128, 0, 0, 0); 1335
1344 insert into sys.args values (10055, 335, 'arg_1', 'decimal', 38, 0, 1, 1); 1344 ! 1336 insert into sys.args values (10046, 335, 'arg_1', 'hugeint', 128, 0, 1, 1); 1336
1345 insert into sys.args values (10056, 335, 'arg_2', 'bigint', 64, 0, 1, 2); 1345 ! 1337 insert into sys.args values (10047, 335, 'arg_2', 'bigint', 64, 0, 1, 2); 1337
1346 insert into sys.functions values (336, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1346 1338 insert into sys.functions values (336, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1338
1347 insert into sys.args values (10057, 336, 'res_0', 'decimal', 38, 0, 0, 0); 1347 ! 1339 insert into sys.args values (10048, 336, 'res_0', 'decimal', 4, 0, 0, 0); 1339
1348 insert into sys.args values (10058, 336, 'arg_1', 'bigint', 64, 0, 1, 1); 1348 ! 1340 insert into sys.args values (10049, 336, 'arg_1', 'decimal', 4, 0, 1, 1); 1340
1349 insert into sys.args values (10059, 336, 'arg_2', 'decimal', 38, 0, 1, 2); 1349 ! 1341 insert into sys.args values (10050, 336, 'arg_2', 'tinyint', 8, 0, 1, 2); 1341
1350 insert into sys.functions values (337, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1350 ! 1342 insert into sys.functions values (337, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1342
1351 insert into sys.args values (10060, 337, 'res_0', 'decimal', 38, 0, 0, 0); 1351 ! 1343 insert into sys.args values (10051, 337, 'res_0', 'decimal', 4, 0, 0, 0); 1343
1352 insert into sys.args values (10061, 337, 'arg_1', 'decimal', 38, 0, 1, 1); 1352 ! 1344 insert into sys.args values (10052, 337, 'arg_1', 'tinyint', 8, 0, 1, 1); 1344
1353 insert into sys.args values (10062, 337, 'arg_2', 'bigint', 64, 0, 1, 2); 1353 ! 1345 insert into sys.args values (10053, 337, 'arg_2', 'decimal', 4, 0, 1, 2); 1345
1354 insert into sys.functions values (338, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1354 ! 1346 insert into sys.functions values (338, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1346
1355 insert into sys.args values (10063, 338, 'res_0', 'decimal', 9, 0, 0, 0); 1355 ! 1347 insert into sys.args values (10054, 338, 'res_0', 'decimal', 4, 0, 0, 0); 1347
1356 insert into sys.args values (10064, 338, 'arg_1', 'decimal', 9, 0, 1, 1); 1356 ! 1348 insert into sys.args values (10055, 338, 'arg_1', 'decimal', 4, 0, 1, 1); 1348
1357 insert into sys.args values (10065, 338, 'arg_2', 'decimal', 4, 0, 1, 2); 1357 ! 1349 insert into sys.args values (10056, 338, 'arg_2', 'tinyint', 8, 0, 1, 2); 1349
1358 insert into sys.functions values (339, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1358 ! 1350 insert into sys.functions values (339, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1350
1359 insert into sys.args values (10066, 339, 'res_0', 'decimal', 9, 0, 0, 0); 1359 ! 1351 insert into sys.args values (10057, 339, 'res_0', 'decimal', 9, 0, 0, 0); 1351
1360 insert into sys.args values (10067, 339, 'arg_1', 'decimal', 9, 0, 1, 1); 1360 ! 1352 insert into sys.args values (10058, 339, 'arg_1', 'decimal', 9, 0, 1, 1); 1352
1361 insert into sys.args values (10068, 339, 'arg_2', 'decimal', 4, 0, 1, 2); 1361 ! 1353 insert into sys.args values (10059, 339, 'arg_2', 'tinyint', 8, 0, 1, 2); 1353
1362 insert into sys.functions values (340, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1362 1354 insert into sys.functions values (340, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1354
1363 insert into sys.args values (10069, 340, 'res_0', 'decimal', 18, 0, 0, 0); 1363 ! 1355 insert into sys.args values (10060, 340, 'res_0', 'decimal', 9, 0, 0, 0); 1355
1364 insert into sys.args values (10070, 340, 'arg_1', 'decimal', 18, 0, 1, 1); 1364 ! 1356 insert into sys.args values (10061, 340, 'arg_1', 'tinyint', 8, 0, 1, 1); 1356
1365 insert into sys.args values (10071, 340, 'arg_2', 'decimal', 4, 0, 1, 2); 1365 ! 1357 insert into sys.args values (10062, 340, 'arg_2', 'decimal', 9, 0, 1, 2); 1357
1366 insert into sys.functions values (341, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1366 1358 insert into sys.functions values (341, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1358
1367 insert into sys.args values (10072, 341, 'res_0', 'decimal', 18, 0, 0, 0); 1367 ! 1359 insert into sys.args values (10063, 341, 'res_0', 'decimal', 9, 0, 0, 0); 1359
1368 insert into sys.args values (10073, 341, 'arg_1', 'decimal', 18, 0, 1, 1); 1368 ! 1360 insert into sys.args values (10064, 341, 'arg_1', 'decimal', 9, 0, 1, 1); 1360
1369 insert into sys.args values (10074, 341, 'arg_2', 'decimal', 4, 0, 1, 2); 1369 ! 1361 insert into sys.args values (10065, 341, 'arg_2', 'tinyint', 8, 0, 1, 2); 1361
1370 insert into sys.functions values (342, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1370 1362 insert into sys.functions values (342, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1362
1371 insert into sys.args values (10075, 342, 'res_0', 'decimal', 18, 0, 0, 0); 1371 ! 1363 insert into sys.args values (10066, 342, 'res_0', 'decimal', 9, 0, 0, 0); 1363
1372 insert into sys.args values (10076, 342, 'arg_1', 'decimal', 18, 0, 1, 1); 1372 ! 1364 insert into sys.args values (10067, 342, 'arg_1', 'decimal', 9, 0, 1, 1); 1364
1373 insert into sys.args values (10077, 342, 'arg_2', 'decimal', 9, 0, 1, 2); 1373 ! 1365 insert into sys.args values (10068, 342, 'arg_2', 'smallint', 16, 0, 1, 2); 1365
1374 insert into sys.functions values (343, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1374 ! 1366 insert into sys.functions values (343, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1366
1375 insert into sys.args values (10078, 343, 'res_0', 'decimal', 18, 0, 0, 0); 1375 ! 1367 insert into sys.args values (10069, 343, 'res_0', 'decimal', 9, 0, 0, 0); 1367
1376 insert into sys.args values (10079, 343, 'arg_1', 'decimal', 18, 0, 1, 1); 1376 ! 1368 insert into sys.args values (10070, 343, 'arg_1', 'smallint', 16, 0, 1, 1); 1368
1377 insert into sys.args values (10080, 343, 'arg_2', 'decimal', 9, 0, 1, 2); 1377 ! 1369 insert into sys.args values (10071, 343, 'arg_2', 'decimal', 9, 0, 1, 2); 1369
1378 insert into sys.functions values (344, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1378 ! 1370 insert into sys.functions values (344, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1370
1379 insert into sys.args values (10081, 344, 'res_0', 'decimal', 38, 0, 0, 0); 1379 ! 1371 insert into sys.args values (10072, 344, 'res_0', 'decimal', 9, 0, 0, 0); 1371
1380 insert into sys.args values (10082, 344, 'arg_1', 'decimal', 38, 0, 1, 1); 1380 ! 1372 insert into sys.args values (10073, 344, 'arg_1', 'decimal', 9, 0, 1, 1); 1372
1381 insert into sys.args values (10083, 344, 'arg_2', 'decimal', 4, 0, 1, 2); 1381 ! 1373 insert into sys.args values (10074, 344, 'arg_2', 'smallint', 16, 0, 1, 2); 1373
1382 insert into sys.functions values (345, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1382 ! 1374 insert into sys.functions values (345, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1374
1383 insert into sys.args values (10084, 345, 'res_0', 'decimal', 38, 0, 0, 0); 1383 ! 1375 insert into sys.args values (10075, 345, 'res_0', 'decimal', 18, 0, 0, 0); 1375
1384 insert into sys.args values (10085, 345, 'arg_1', 'decimal', 38, 0, 1, 1); 1384 ! 1376 insert into sys.args values (10076, 345, 'arg_1', 'decimal', 18, 0, 1, 1); 1376
1385 insert into sys.args values (10086, 345, 'arg_2', 'decimal', 4, 0, 1, 2); 1385 ! 1377 insert into sys.args values (10077, 345, 'arg_2', 'tinyint', 8, 0, 1, 2); 1377
1386 insert into sys.functions values (346, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1386 1378 insert into sys.functions values (346, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1378
1387 insert into sys.args values (10087, 346, 'res_0', 'decimal', 38, 0, 0, 0); 1387 ! 1379 insert into sys.args values (10078, 346, 'res_0', 'decimal', 18, 0, 0, 0); 1379
1388 insert into sys.args values (10088, 346, 'arg_1', 'decimal', 38, 0, 1, 1); 1388 ! 1380 insert into sys.args values (10079, 346, 'arg_1', 'tinyint', 8, 0, 1, 1); 1380
1389 insert into sys.args values (10089, 346, 'arg_2', 'decimal', 9, 0, 1, 2); 1389 ! 1381 insert into sys.args values (10080, 346, 'arg_2', 'decimal', 18, 0, 1, 2); 1381
1390 insert into sys.functions values (347, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1390 1382 insert into sys.functions values (347, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1382
1391 insert into sys.args values (10090, 347, 'res_0', 'decimal', 38, 0, 0, 0); 1391 ! 1383 insert into sys.args values (10081, 347, 'res_0', 'decimal', 18, 0, 0, 0); 1383
1392 insert into sys.args values (10091, 347, 'arg_1', 'decimal', 38, 0, 1, 1); 1392 ! 1384 insert into sys.args values (10082, 347, 'arg_1', 'decimal', 18, 0, 1, 1); 1384
1393 insert into sys.args values (10092, 347, 'arg_2', 'decimal', 9, 0, 1, 2); 1393 ! 1385 insert into sys.args values (10083, 347, 'arg_2', 'tinyint', 8, 0, 1, 2); 1385
1394 insert into sys.functions values (348, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1394 1386 insert into sys.functions values (348, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1386
1395 insert into sys.args values (10093, 348, 'res_0', 'decimal', 38, 0, 0, 0); 1395 ! 1387 insert into sys.args values (10084, 348, 'res_0', 'decimal', 18, 0, 0, 0); 1387
1396 insert into sys.args values (10094, 348, 'arg_1', 'decimal', 38, 0, 1, 1); 1396 ! 1388 insert into sys.args values (10085, 348, 'arg_1', 'decimal', 18, 0, 1, 1); 1388
1397 insert into sys.args values (10095, 348, 'arg_2', 'decimal', 18, 0, 1, 2); 1397 ! 1389 insert into sys.args values (10086, 348, 'arg_2', 'smallint', 16, 0, 1, 2); 1389
1398 insert into sys.functions values (349, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1398 ! 1390 insert into sys.functions values (349, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1390
1399 insert into sys.args values (10096, 349, 'res_0', 'decimal', 38, 0, 0, 0); 1399 ! 1391 insert into sys.args values (10087, 349, 'res_0', 'decimal', 18, 0, 0, 0); 1391
1400 insert into sys.args values (10097, 349, 'arg_1', 'decimal', 38, 0, 1, 1); 1400 ! 1392 insert into sys.args values (10088, 349, 'arg_1', 'smallint', 16, 0, 1, 1); 1392
1401 insert into sys.args values (10098, 349, 'arg_2', 'decimal', 18, 0, 1, 2); 1401 ! 1393 insert into sys.args values (10089, 349, 'arg_2', 'decimal', 18, 0, 1, 2); 1393
1402 insert into sys.functions values (350, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1402 ! 1394 insert into sys.functions values (350, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1394
1403 insert into sys.args values (10099, 350, 'res_0', 'tinyint', 8, 0, 0, 0); 1403 ! 1395 insert into sys.args values (10090, 350, 'res_0', 'decimal', 18, 0, 0, 0); 1395
1404 insert into sys.args values (10100, 350, 'arg_1', 'tinyint', 8, 0, 1, 1); 1404 ! 1396 insert into sys.args values (10091, 350, 'arg_1', 'decimal', 18, 0, 1, 1); 1396
1405 insert into sys.args values (10101, 350, 'arg_2', 'tinyint', 8, 0, 1, 2); 1405 ! 1397 insert into sys.args values (10092, 350, 'arg_2', 'smallint', 16, 0, 1, 2); 1397
1406 insert into sys.functions values (351, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1406 ! 1398 insert into sys.functions values (351, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1398
1407 insert into sys.args values (10102, 351, 'res_0', 'tinyint', 8, 0, 0, 0); 1407 ! 1399 insert into sys.args values (10093, 351, 'res_0', 'decimal', 18, 0, 0, 0); 1399
1408 insert into sys.args values (10103, 351, 'arg_1', 'tinyint', 8, 0, 1, 1); 1408 ! 1400 insert into sys.args values (10094, 351, 'arg_1', 'decimal', 18, 0, 1, 1); 1400
1409 insert into sys.args values (10104, 351, 'arg_2', 'tinyint', 8, 0, 1, 2); 1409 ! 1401 insert into sys.args values (10095, 351, 'arg_2', 'int', 32, 0, 1, 2); 1401
1410 insert into sys.functions values (352, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1410 1402 insert into sys.functions values (352, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1402
1411 insert into sys.args values (10105, 352, 'res_0', 'tinyint', 8, 0, 0, 0); 1411 ! 1403 insert into sys.args values (10096, 352, 'res_0', 'decimal', 18, 0, 0, 0); 1403
1412 insert into sys.args values (10106, 352, 'arg_1', 'tinyint', 8, 0, 1, 1); 1412 ! 1404 insert into sys.args values (10097, 352, 'arg_1', 'int', 32, 0, 1, 1); 1404
1413 insert into sys.args values (10107, 352, 'arg_2', 'tinyint', 8, 0, 1, 2); 1413 ! 1405 insert into sys.args values (10098, 352, 'arg_2', 'decimal', 18, 0, 1, 2); 1405
1414 insert into sys.functions values (353, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1414 1406 insert into sys.functions values (353, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1406
1415 insert into sys.args values (10108, 353, 'res_0', 'tinyint', 8, 0, 0, 0); 1415 ! 1407 insert into sys.args values (10099, 353, 'res_0', 'decimal', 18, 0, 0, 0); 1407
1416 insert into sys.args values (10109, 353, 'arg_1', 'tinyint', 8, 0, 1, 1); 1416 ! 1408 insert into sys.args values (10100, 353, 'arg_1', 'decimal', 18, 0, 1, 1); 1408
1417 insert into sys.args values (10110, 353, 'arg_2', 'tinyint', 8, 0, 1, 2); 1417 ! 1409 insert into sys.args values (10101, 353, 'arg_2', 'int', 32, 0, 1, 2); 1409
1418 insert into sys.functions values (354, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1418 ! 1410 insert into sys.functions values (354, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1410
1419 insert into sys.args values (10111, 354, 'res_0', 'tinyint', 8, 0, 0, 0); 1419 ! 1411 insert into sys.args values (10102, 354, 'res_0', 'decimal', 38, 0, 0, 0); 1411
1420 insert into sys.args values (10112, 354, 'arg_1', 'tinyint', 8, 0, 1, 1); 1420 ! 1412 insert into sys.args values (10103, 354, 'arg_1', 'decimal', 38, 0, 1, 1); 1412
1421 insert into sys.args values (10113, 354, 'arg_2', 'tinyint', 8, 0, 1, 2); 1421 ! 1413 insert into sys.args values (10104, 354, 'arg_2', 'tinyint', 8, 0, 1, 2); 1413
1422 insert into sys.functions values (355, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1422 ! 1414 insert into sys.functions values (355, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1414
1423 insert into sys.args values (10114, 355, 'res_0', 'tinyint', 8, 0, 0, 0); 1423 ! 1415 insert into sys.args values (10105, 355, 'res_0', 'decimal', 38, 0, 0, 0); 1415
1424 insert into sys.args values (10115, 355, 'arg_1', 'tinyint', 8, 0, 1, 1); 1424 ! 1416 insert into sys.args values (10106, 355, 'arg_1', 'tinyint', 8, 0, 1, 1); 1416
1425 insert into sys.args values (10116, 355, 'arg_2', 'tinyint', 8, 0, 1, 2); 1425 ! 1417 insert into sys.args values (10107, 355, 'arg_2', 'decimal', 38, 0, 1, 2); 1417
1426 insert into sys.functions values (356, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1426 ! 1418 insert into sys.functions values (356, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1418
1427 insert into sys.args values (10117, 356, 'res_0', 'tinyint', 8, 0, 0, 0); 1427 ! 1419 insert into sys.args values (10108, 356, 'res_0', 'decimal', 38, 0, 0, 0); 1419
1428 insert into sys.args values (10118, 356, 'arg_1', 'tinyint', 8, 0, 1, 1); 1428 ! 1420 insert into sys.args values (10109, 356, 'arg_1', 'decimal', 38, 0, 1, 1); 1420
1429 insert into sys.args values (10119, 356, 'arg_2', 'tinyint', 8, 0, 1, 2); 1429 ! 1421 insert into sys.args values (10110, 356, 'arg_2', 'tinyint', 8, 0, 1, 2); 1421
1430 insert into sys.functions values (357, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1430 ! 1422 insert into sys.functions values (357, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1422
1431 insert into sys.args values (10120, 357, 'res_0', 'tinyint', 8, 0, 0, 0); 1431 ! 1423 insert into sys.args values (10111, 357, 'res_0', 'decimal', 38, 0, 0, 0); 1423
1432 insert into sys.args values (10121, 357, 'arg_1', 'tinyint', 8, 0, 1, 1); 1432 ! 1424 insert into sys.args values (10112, 357, 'arg_1', 'decimal', 38, 0, 1, 1); 1424
insert into sys. + 1425 insert into sys.args values (10113, 357, 'arg_2', 'smallint', 16, 0, 1, 2); 1425
1433 functions values (358, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1433 ! 1426 insert into sys.functions values (358, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1426
1434 insert into sys.args values (10122, 358, 'res_0', 'tinyint', 8, 0, 0, 0); 1434 ! 1427 insert into sys.args values (10114, 358, 'res_0', 'decimal', 38, 0, 0, 0); 1427
1435 insert into sys.args values (10123, 358, 'arg_1', 'tinyint', 8, 0, 1, 1); 1435 ! 1428 insert into sys.args values (10115, 358, 'arg_1', 'smallint', 16, 0, 1, 1); 1428
1436 insert into sys.args values (10124, 358, 'arg_2', 'int', 32, 0, 1, 2); 1436 ! 1429 insert into sys.args values (10116, 358, 'arg_2', 'decimal', 38, 0, 1, 2); 1429
1437 insert into sys.functions values (359, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1437 ! 1430 insert into sys.functions values (359, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1430
1438 insert into sys.args values (10125, 359, 'res_0', 'tinyint', 8, 0, 0, 0); 1438 ! 1431 insert into sys.args values (10117, 359, 'res_0', 'decimal', 38, 0, 0, 0); 1431
1439 insert into sys.args values (10126, 359, 'arg_1', 'tinyint', 8, 0, 1, 1); 1439 ! 1432 insert into sys.args values (10118, 359, 'arg_1', 'decimal', 38, 0, 1, 1); 1432
1440 insert into sys.args values (10127, 359, 'arg_2', 'int', 32, 0, 1, 2); 1440 ! 1433 insert into sys.args values (10119, 359, 'arg_2', 'smallint', 16, 0, 1, 2); 1433
1441 insert into sys.functions values (360, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1441 ! 1434 insert into sys.functions values (360, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1434
1442 insert into sys.args values (10128, 360, 'res_0', 'tinyint', 8, 0, 0, 0); 1442 -
1443 insert into sys.args values (10129, 360, 'arg_1', 'tinyint', 8, 0, 1, 1); 1443 ! 1435 insert into sys.args values (10120, 360, 'res_0', 'decimal', 38, 0, 0, 0); 1435
1444 insert into sys.functions values (361, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1444 ! 1436 insert into sys.args values (10121, 360, 'arg_1', 'decimal', 38, 0, 1, 1); 1436
1445 insert into sys.args values (10130, 361, 'res_0', 'tinyint', 8, 0, 0, 0); 1445 ! 1437 insert into sys.args values (10122, 360, 'arg_2', 'int', 32, 0, 1, 2); 1437
1446 insert into sys.args values (10131, 361, 'arg_1', 'tinyint', 8, 0, 1, 1); 1446 ! 1438 insert into sys.functions values (361, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1438
1447 insert into sys.functions values (362, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1447 ! 1439 insert into sys.args values (10123, 361, 'res_0', 'decimal', 38, 0, 0, 0); 1439
1448 insert into sys.args values (10132, 362, 'res_0', 'tinyint', 8, 0, 0, 0); 1448 ! 1440 insert into sys.args values (10124, 361, 'arg_1', 'int', 32, 0, 1, 1); 1440
1449 insert into sys.args values (10133, 362, 'arg_1', 'tinyint', 8, 0, 1, 1); 1449 ! 1441 insert into sys.args values (10125, 361, 'arg_2', 'decimal', 38, 0, 1, 2); 1441
1450 insert into sys.functions values (363, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1450 ! 1442 insert into sys.functions values (362, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1442
1451 insert into sys.args values (10134, 363, 'res_0', 'tinyint', 8, 0, 0, 0); 1451 ! 1443 insert into sys.args values (10126, 362, 'res_0', 'decimal', 38, 0, 0, 0); 1443
1452 insert into sys.args values (10135, 363, 'arg_1', 'tinyint', 8, 0, 1, 1); 1452 ! 1444 insert into sys.args values (10127, 362, 'arg_1', 'decimal', 38, 0, 1, 1); 1444
1453 insert into sys.args values (10136, 363, 'arg_2', 'tinyint', 8, 0, 1, 2); 1453 ! 1445 insert into sys.args values (10128, 362, 'arg_2', 'int', 32, 0, 1, 2); 1445
1454 insert into sys.functions values (364, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1454 ! 1446 insert into sys.functions values (363, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1446
1455 insert into sys.args values (10137, 364, 'res_0', 'tinyint', 8, 0, 0, 0); 1455 ! 1447 insert into sys.args values (10129, 363, 'res_0', 'decimal', 38, 0, 0, 0); 1447
1456 insert into sys.args values (10138, 364, 'arg_1', 'tinyint', 8, 0, 1, 1); 1456 ! 1448 insert into sys.args values (10130, 363, 'arg_1', 'decimal', 38, 0, 1, 1); 1448
1457 insert into sys.args values (10139, 364, 'arg_2', 'tinyint', 8, 0, 1, 2); 1457 ! 1449 insert into sys.args values (10131, 363, 'arg_2', 'bigint', 64, 0, 1, 2); 1449
1458 insert into sys.functions values (365, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1458 ! 1450 insert into sys.functions values (364, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1450
1459 insert into sys.args values (10140, 365, 'res_0', 'month_interval', 32, 0, 0, 0); 1459 ! 1451 insert into sys.args values (10132, 364, 'res_0', 'decimal', 38, 0, 0, 0); 1451
1460 insert into sys.args values (10141, 365, 'arg_1', 'month_interval', 32, 0, 1, 1); 1460 ! 1452 insert into sys.args values (10133, 364, 'arg_1', 'bigint', 64, 0, 1, 1); 1452
1461 insert into sys.args values (10142, 365, 'arg_2', 'tinyint', 8, 0, 1, 2); 1461 ! 1453 insert into sys.args values (10134, 364, 'arg_2', 'decimal', 38, 0, 1, 2); 1453
1462 insert into sys.functions values (366, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1462 ! 1454 insert into sys.functions values (365, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1454
1463 insert into sys.args values (10143, 366, 'res_0', 'month_interval', 32, 0, 0, 0); 1463 ! 1455 insert into sys.args values (10135, 365, 'res_0', 'decimal', 38, 0, 0, 0); 1455
1464 insert into sys.args values (10144, 366, 'arg_1', 'month_interval', 32, 0, 1, 1); 1464 ! 1456 insert into sys.args values (10136, 365, 'arg_1', 'decimal', 38, 0, 1, 1); 1456
1465 insert into sys.args values (10145, 366, 'arg_2', 'tinyint', 8, 0, 1, 2); 1465 ! 1457 insert into sys.args values (10137, 365, 'arg_2', 'bigint', 64, 0, 1, 2); 1457
1466 insert into sys.functions values (367, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1466 ! 1458 insert into sys.functions values (366, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1458
1467 insert into sys.args values (10146, 367, 'res_0', 'sec_interval', 13, 0, 0, 0); 1467 ! 1459 insert into sys.args values (10138, 366, 'res_0', 'decimal', 9, 0, 0, 0); 1459
1468 insert into sys.args values (10147, 367, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1468 ! 1460 insert into sys.args values (10139, 366, 'arg_1', 'decimal', 9, 0, 1, 1); 1460
1469 insert into sys.args values (10148, 367, 'arg_2', 'tinyint', 8, 0, 1, 2); 1469 ! 1461 insert into sys.args values (10140, 366, 'arg_2', 'decimal', 4, 0, 1, 2); 1461
1470 insert into sys.functions values (368, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1470 ! 1462 insert into sys.functions values (367, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1462
1471 insert into sys.args values (10149, 368, 'res_0', 'sec_interval', 13, 0, 0, 0); 1471 ! 1463 insert into sys.args values (10141, 367, 'res_0', 'decimal', 9, 0, 0, 0); 1463
1472 insert into sys.args values (10150, 368, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1472 ! 1464 insert into sys.args values (10142, 367, 'arg_1', 'decimal', 9, 0, 1, 1); 1464
1473 insert into sys.args values (10151, 368, 'arg_2', 'tinyint', 8, 0, 1, 2); 1473 ! 1465 insert into sys.args values (10143, 367, 'arg_2', 'decimal', 4, 0, 1, 2); 1465
1474 insert into sys.functions values (369, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1474 ! 1466 insert into sys.functions values (368, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1466
1475 insert into sys.args values (10152, 369, 'res_0', 'smallint', 16, 0, 0, 0); 1475 ! 1467 insert into sys.args values (10144, 368, 'res_0', 'decimal', 18, 0, 0, 0); 1467
1476 insert into sys.args values (10153, 369, 'arg_1', 'smallint', 16, 0, 1, 1); 1476 ! 1468 insert into sys.args values (10145, 368, 'arg_1', 'decimal', 18, 0, 1, 1); 1468
1477 insert into sys.args values (10154, 369, 'arg_2', 'smallint', 16, 0, 1, 2); 1477 ! 1469 insert into sys.args values (10146, 368, 'arg_2', 'decimal', 4, 0, 1, 2); 1469
1478 insert into sys.functions values (370, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1478 ! 1470 insert into sys.functions values (369, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1470
1479 insert into sys.args values (10155, 370, 'res_0', 'smallint', 16, 0, 0, 0); 1479 ! 1471 insert into sys.args values (10147, 369, 'res_0', 'decimal', 18, 0, 0, 0); 1471
1480 insert into sys.args values (10156, 370, 'arg_1', 'smallint', 16, 0, 1, 1); 1480 ! 1472 insert into sys.args values (10148, 369, 'arg_1', 'decimal', 18, 0, 1, 1); 1472
1481 insert into sys.args values (10157, 370, 'arg_2', 'smallint', 16, 0, 1, 2); 1481 ! 1473 insert into sys.args values (10149, 369, 'arg_2', 'decimal', 4, 0, 1, 2); 1473
1482 insert into sys.functions values (371, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1482 ! 1474 insert into sys.functions values (370, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1474
1483 insert into sys.args values (10158, 371, 'res_0', 'smallint', 16, 0, 0, 0); 1483 ! 1475 insert into sys.args values (10150, 370, 'res_0', 'decimal', 18, 0, 0, 0); 1475
1484 insert into sys.args values (10159, 371, 'arg_1', 'smallint', 16, 0, 1, 1); 1484 ! 1476 insert into sys.args values (10151, 370, 'arg_1', 'decimal', 18, 0, 1, 1); 1476
1485 insert into sys.args values (10160, 371, 'arg_2', 'smallint', 16, 0, 1, 2); 1485 ! 1477 insert into sys.args values (10152, 370, 'arg_2', 'decimal', 9, 0, 1, 2); 1477
1486 insert into sys.functions values (372, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1486 ! 1478 insert into sys.functions values (371, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1478
1487 insert into sys.args values (10161, 372, 'res_0', 'smallint', 16, 0, 0, 0); 1487 ! 1479 insert into sys.args values (10153, 371, 'res_0', 'decimal', 18, 0, 0, 0); 1479
1488 insert into sys.args values (10162, 372, 'arg_1', 'smallint', 16, 0, 1, 1); 1488 ! 1480 insert into sys.args values (10154, 371, 'arg_1', 'decimal', 18, 0, 1, 1); 1480
1489 insert into sys.args values (10163, 372, 'arg_2', 'smallint', 16, 0, 1, 2); 1489 ! 1481 insert into sys.args values (10155, 371, 'arg_2', 'decimal', 9, 0, 1, 2); 1481
1490 insert into sys.functions values (373, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1490 ! 1482 insert into sys.functions values (372, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1482
1491 insert into sys.args values (10164, 373, 'res_0', 'smallint', 16, 0, 0, 0); 1491 ! 1483 insert into sys.args values (10156, 372, 'res_0', 'decimal', 38, 0, 0, 0); 1483
1492 insert into sys.args values (10165, 373, 'arg_1', 'smallint', 16, 0, 1, 1); 1492 ! 1484 insert into sys.args values (10157, 372, 'arg_1', 'decimal', 38, 0, 1, 1); 1484
1493 insert into sys.args values (10166, 373, 'arg_2', 'smallint', 16, 0, 1, 2); 1493 ! 1485 insert into sys.args values (10158, 372, 'arg_2', 'decimal', 4, 0, 1, 2); 1485
1494 insert into sys.functions values (374, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1494 ! 1486 insert into sys.functions values (373, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1486
1495 insert into sys.args values (10167, 374, 'res_0', 'smallint', 16, 0, 0, 0); 1495 ! 1487 insert into sys.args values (10159, 373, 'res_0', 'decimal', 38, 0, 0, 0); 1487
1496 insert into sys.args values (10168, 374, 'arg_1', 'smallint', 16, 0, 1, 1); 1496 ! 1488 insert into sys.args values (10160, 373, 'arg_1', 'decimal', 38, 0, 1, 1); 1488
1497 insert into sys.args values (10169, 374, 'arg_2', 'smallint', 16, 0, 1, 2); 1497 ! 1489 insert into sys.args values (10161, 373, 'arg_2', 'decimal', 4, 0, 1, 2); 1489
1498 insert into sys.functions values (375, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1498 ! 1490 insert into sys.functions values (374, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1490
1499 insert into sys.args values (10170, 375, 'res_0', 'smallint', 16, 0, 0, 0); 1499 ! 1491 insert into sys.args values (10162, 374, 'res_0', 'decimal', 38, 0, 0, 0); 1491
1500 insert into sys.args values (10171, 375, 'arg_1', 'smallint', 16, 0, 1, 1); 1500 ! 1492 insert into sys.args values (10163, 374, 'arg_1', 'decimal', 38, 0, 1, 1); 1492
1501 insert into sys.args values (10172, 375, 'arg_2', 'smallint', 16, 0, 1, 2); 1501 ! 1493 insert into sys.args values (10164, 374, 'arg_2', 'decimal', 9, 0, 1, 2); 1493
1502 insert into sys.functions values (376, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1502 ! 1494 insert into sys.functions values (375, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1494
1503 insert into sys.args values (10173, 376, 'res_0', 'smallint', 16, 0, 0, 0); 1503 ! 1495 insert into sys.args values (10165, 375, 'res_0', 'decimal', 38, 0, 0, 0); 1495
1504 insert into sys.args values (10174, 376, 'arg_1', 'smallint', 16, 0, 1, 1); 1504 ! 1496 insert into sys.args values (10166, 375, 'arg_1', 'decimal', 38, 0, 1, 1); 1496
insert into sys. + 1497 insert into sys.args values (10167, 375, 'arg_2', 'decimal', 9, 0, 1, 2); 1497
1505 functions values (377, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1505 ! 1498 insert into sys.functions values (376, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1498
1506 insert into sys.args values (10175, 377, 'res_0', 'smallint', 16, 0, 0, 0); 1506 ! 1499 insert into sys.args values (10168, 376, 'res_0', 'decimal', 38, 0, 0, 0); 1499
1507 insert into sys.args values (10176, 377, 'arg_1', 'smallint', 16, 0, 1, 1); 1507 ! 1500 insert into sys.args values (10169, 376, 'arg_1', 'decimal', 38, 0, 1, 1); 1500
1508 insert into sys.args values (10177, 377, 'arg_2', 'int', 32, 0, 1, 2); 1508 ! 1501 insert into sys.args values (10170, 376, 'arg_2', 'decimal', 18, 0, 1, 2); 1501
1509 insert into sys.functions values (378, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1509 ! 1502 insert into sys.functions values (377, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1502
1510 insert into sys.args values (10178, 378, 'res_0', 'smallint', 16, 0, 0, 0); 1510 ! 1503 insert into sys.args values (10171, 377, 'res_0', 'decimal', 38, 0, 0, 0); 1503
1511 insert into sys.args values (10179, 378, 'arg_1', 'smallint', 16, 0, 1, 1); 1511 ! 1504 insert into sys.args values (10172, 377, 'arg_1', 'decimal', 38, 0, 1, 1); 1504
1512 insert into sys.args values (10180, 378, 'arg_2', 'int', 32, 0, 1, 2); 1512 ! 1505 insert into sys.args values (10173, 377, 'arg_2', 'decimal', 18, 0, 1, 2); 1505
1513 insert into sys.functions values (379, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1513 ! 1506 insert into sys.functions values (378, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1506
1514 insert into sys.args values (10181, 379, 'res_0', 'smallint', 16, 0, 0, 0); 1514 -
1515 insert into sys.args values (10182, 379, 'arg_1', 'smallint', 16, 0, 1, 1); 1515 ! 1507 insert into sys.args values (10174, 378, 'res_0', 'tinyint', 8, 0, 0, 0); 1507
1516 insert into sys.functions values (380, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1516 ! 1508 insert into sys.args values (10175, 378, 'arg_1', 'tinyint', 8, 0, 1, 1); 1508
1517 insert into sys.args values (10183, 380, 'res_0', 'smallint', 16, 0, 0, 0); 1517 ! 1509 insert into sys.args values (10176, 378, 'arg_2', 'tinyint', 8, 0, 1, 2); 1509
1518 insert into sys.args values (10184, 380, 'arg_1', 'smallint', 16, 0, 1, 1); 1518 ! 1510 insert into sys.functions values (379, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1510
1519 insert into sys.functions values (381, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1519 ! 1511 insert into sys.args values (10177, 379, 'res_0', 'tinyint', 8, 0, 0, 0); 1511
1520 insert into sys.args values (10185, 381, 'res_0', 'tinyint', 8, 0, 0, 0); 1520 ! 1512 insert into sys.args values (10178, 379, 'arg_1', 'tinyint', 8, 0, 1, 1); 1512
1521 insert into sys.args values (10186, 381, 'arg_1', 'smallint', 16, 0, 1, 1); 1521 ! 1513 insert into sys.args values (10179, 379, 'arg_2', 'tinyint', 8, 0, 1, 2); 1513
1522 insert into sys.functions values (382, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1522 ! 1514 insert into sys.functions values (380, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1514
1523 insert into sys.args values (10187, 382, 'res_0', 'smallint', 16, 0, 0, 0); 1523 ! 1515 insert into sys.args values (10180, 380, 'res_0', 'tinyint', 8, 0, 0, 0); 1515
1524 insert into sys.args values (10188, 382, 'arg_1', 'smallint', 16, 0, 1, 1); 1524 ! 1516 insert into sys.args values (10181, 380, 'arg_1', 'tinyint', 8, 0, 1, 1); 1516
1525 insert into sys.args values (10189, 382, 'arg_2', 'smallint', 16, 0, 1, 2); 1525 ! 1517 insert into sys.args values (10182, 380, 'arg_2', 'tinyint', 8, 0, 1, 2); 1517
1526 insert into sys.functions values (383, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1526 ! 1518 insert into sys.functions values (381, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1518
1527 insert into sys.args values (10190, 383, 'res_0', 'smallint', 16, 0, 0, 0); 1527 ! 1519 insert into sys.args values (10183, 381, 'res_0', 'tinyint', 8, 0, 0, 0); 1519
1528 insert into sys.args values (10191, 383, 'arg_1', 'smallint', 16, 0, 1, 1); 1528 ! 1520 insert into sys.args values (10184, 381, 'arg_1', 'tinyint', 8, 0, 1, 1); 1520
1529 insert into sys.args values (10192, 383, 'arg_2', 'smallint', 16, 0, 1, 2); 1529 ! 1521 insert into sys.args values (10185, 381, 'arg_2', 'tinyint', 8, 0, 1, 2); 1521
1530 insert into sys.functions values (384, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1530 ! 1522 insert into sys.functions values (382, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1522
1531 insert into sys.args values (10193, 384, 'res_0', 'month_interval', 32, 0, 0, 0); 1531 ! 1523 insert into sys.args values (10186, 382, 'res_0', 'tinyint', 8, 0, 0, 0); 1523
1532 insert into sys.args values (10194, 384, 'arg_1', 'month_interval', 32, 0, 1, 1); 1532 ! 1524 insert into sys.args values (10187, 382, 'arg_1', 'tinyint', 8, 0, 1, 1); 1524
1533 insert into sys.args values (10195, 384, 'arg_2', 'smallint', 16, 0, 1, 2); 1533 ! 1525 insert into sys.args values (10188, 382, 'arg_2', 'tinyint', 8, 0, 1, 2); 1525
1534 insert into sys.functions values (385, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1534 ! 1526 insert into sys.functions values (383, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1526
1535 insert into sys.args values (10196, 385, 'res_0', 'month_interval', 32, 0, 0, 0); 1535 ! 1527 insert into sys.args values (10189, 383, 'res_0', 'tinyint', 8, 0, 0, 0); 1527
1536 insert into sys.args values (10197, 385, 'arg_1', 'month_interval', 32, 0, 1, 1); 1536 ! 1528 insert into sys.args values (10190, 383, 'arg_1', 'tinyint', 8, 0, 1, 1); 1528
1537 insert into sys.args values (10198, 385, 'arg_2', 'smallint', 16, 0, 1, 2); 1537 ! 1529 insert into sys.args values (10191, 383, 'arg_2', 'tinyint', 8, 0, 1, 2); 1529
1538 insert into sys.functions values (386, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1538 ! 1530 insert into sys.functions values (384, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1530
1539 insert into sys.args values (10199, 386, 'res_0', 'sec_interval', 13, 0, 0, 0); 1539 ! 1531 insert into sys.args values (10192, 384, 'res_0', 'tinyint', 8, 0, 0, 0); 1531
1540 insert into sys.args values (10200, 386, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1540 ! 1532 insert into sys.args values (10193, 384, 'arg_1', 'tinyint', 8, 0, 1, 1); 1532
1541 insert into sys.args values (10201, 386, 'arg_2', 'smallint', 16, 0, 1, 2); 1541 ! 1533 insert into sys.args values (10194, 384, 'arg_2', 'tinyint', 8, 0, 1, 2); 1533
1542 insert into sys.functions values (387, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1542 ! 1534 insert into sys.functions values (385, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1534
1543 insert into sys.args values (10202, 387, 'res_0', 'sec_interval', 13, 0, 0, 0); 1543 ! 1535 insert into sys.args values (10195, 385, 'res_0', 'tinyint', 8, 0, 0, 0); 1535
1544 insert into sys.args values (10203, 387, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1544 ! 1536 insert into sys.args values (10196, 385, 'arg_1', 'tinyint', 8, 0, 1, 1); 1536
1545 insert into sys.args values (10204, 387, 'arg_2', 'smallint', 16, 0, 1, 2); 1545 ! 1537 insert into sys.functions values (386, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1537
1546 insert into sys.functions values (388, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1546 -
1547 insert into sys.args values (10205, 388, 'res_0', 'int', 32, 0, 0, 0); 1547 ! 1538 insert into sys.args values (10197, 386, 'res_0', 'tinyint', 8, 0, 0, 0); 1538
1548 insert into sys.args values (10206, 388, 'arg_1', 'int', 32, 0, 1, 1); 1548 ! 1539 insert into sys.args values (10198, 386, 'arg_1', 'tinyint', 8, 0, 1, 1); 1539
1549 insert into sys.args values (10207, 388, 'arg_2', 'int', 32, 0, 1, 2); 1549 ! 1540 insert into sys.args values (10199, 386, 'arg_2', 'int', 32, 0, 1, 2); 1540
1550 insert into sys.functions values (389, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1550 ! 1541 insert into sys.functions values (387, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1541
1551 insert into sys.args values (10208, 389, 'res_0', 'int', 32, 0, 0, 0); 1551 ! 1542 insert into sys.args values (10200, 387, 'res_0', 'tinyint', 8, 0, 0, 0); 1542
1552 insert into sys.args values (10209, 389, 'arg_1', 'int', 32, 0, 1, 1); 1552 ! 1543 insert into sys.args values (10201, 387, 'arg_1', 'tinyint', 8, 0, 1, 1); 1543
1553 insert into sys.args values (10210, 389, 'arg_2', 'int', 32, 0, 1, 2); 1553 ! 1544 insert into sys.args values (10202, 387, 'arg_2', 'int', 32, 0, 1, 2); 1544
1554 insert into sys.functions values (390, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1554 ! 1545 insert into sys.functions values (388, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1545
+ 1546 insert into sys.args values (10203, 388, 'res_0', 'tinyint', 8, 0, 0, 0); 1546
1555 insert into sys.args values (10211, 390, 'res_0', 'int', 32, 0, 0, 0); 1555 ! 1547 insert into sys.args values (10204, 388, 'arg_1', 'tinyint', 8, 0, 1, 1); 1547
1556 insert into sys.args values (10212, 390, 'arg_1', 'int', 32, 0, 1, 1); 1556 ! 1548 insert into sys.functions values (389, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1548
1557 insert into sys.args values (10213, 390, 'arg_2', 'int', 32, 0, 1, 2); 1557 ! 1549 insert into sys.args values (10205, 389, 'res_0', 'tinyint', 8, 0, 0, 0); 1549
1558 insert into sys.functions values (391, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1558 ! 1550 insert into sys.args values (10206, 389, 'arg_1', 'tinyint', 8, 0, 1, 1); 1550
1559 insert into sys.args values (10214, 391, 'res_0', 'int', 32, 0, 0, 0); 1559 ! 1551 insert into sys.functions values (390, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1551
1560 insert into sys.args values (10215, 391, 'arg_1', 'int', 32, 0, 1, 1); 1560 ! 1552 insert into sys.args values (10207, 390, 'res_0', 'tinyint', 8, 0, 0, 0); 1552
1561 insert into sys.args values (10216, 391, 'arg_2', 'int', 32, 0, 1, 2); 1561 ! 1553 insert into sys.args values (10208, 390, 'arg_1', 'tinyint', 8, 0, 1, 1); 1553
1562 insert into sys.functions values (392, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1562 ! 1554 insert into sys.functions values (391, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1554
1563 insert into sys.args values (10217, 392, 'res_0', 'int', 32, 0, 0, 0); 1563 ! 1555 insert into sys.args values (10209, 391, 'res_0', 'tinyint', 8, 0, 0, 0); 1555
1564 insert into sys.args values (10218, 392, 'arg_1', 'int', 32, 0, 1, 1); 1564 ! 1556 insert into sys.args values (10210, 391, 'arg_1', 'tinyint', 8, 0, 1, 1); 1556
1565 insert into sys.args values (10219, 392, 'arg_2', 'int', 32, 0, 1, 2); 1565 ! 1557 insert into sys.args values (10211, 391, 'arg_2', 'tinyint', 8, 0, 1, 2); 1557
1566 insert into sys.functions values (393, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1566 ! 1558 insert into sys.functions values (392, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1558
1567 insert into sys.args values (10220, 393, 'res_0', 'int', 32, 0, 0, 0); 1567 ! 1559 insert into sys.args values (10212, 392, 'res_0', 'tinyint', 8, 0, 0, 0); 1559
1568 insert into sys.args values (10221, 393, 'arg_1', 'int', 32, 0, 1, 1); 1568 ! 1560 insert into sys.args values (10213, 392, 'arg_1', 'tinyint', 8, 0, 1, 1); 1560
1569 insert into sys.args values (10222, 393, 'arg_2', 'int', 32, 0, 1, 2); 1569 ! 1561 insert into sys.args values (10214, 392, 'arg_2', 'tinyint', 8, 0, 1, 2); 1561
1570 insert into sys.functions values (394, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1570 ! 1562 insert into sys.functions values (393, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1562
1571 insert into sys.args values (10223, 394, 'res_0', 'int', 32, 0, 0, 0); 1571 ! 1563 insert into sys.args values (10215, 393, 'res_0', 'month_interval', 3, 0, 0, 0); 1563
1572 insert into sys.args values (10224, 394, 'arg_1', 'int', 32, 0, 1, 1); 1572 ! 1564 insert into sys.args values (10216, 393, 'arg_1', 'month_interval', 3, 0, 1, 1); 1564
1573 insert into sys.args values (10225, 394, 'arg_2', 'int', 32, 0, 1, 2); 1573 ! 1565 insert into sys.args values (10217, 393, 'arg_2', 'tinyint', 8, 0, 1, 2); 1565
1574 insert into sys.functions values (395, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1574 ! 1566 insert into sys.functions values (394, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1566
1575 insert into sys.args values (10226, 395, 'res_0', 'int', 32, 0, 0, 0); 1575 ! 1567 insert into sys.args values (10218, 394, 'res_0', 'month_interval', 3, 0, 0, 0); 1567
1576 insert into sys.args values (10227, 395, 'arg_1', 'int', 32, 0, 1, 1); 1576 ! 1568 insert into sys.args values (10219, 394, 'arg_1', 'month_interval', 3, 0, 1, 1); 1568
insert into sys. + 1569 insert into sys.args values (10220, 394, 'arg_2', 'tinyint', 8, 0, 1, 2); 1569
1577 functions values (396, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1577 ! 1570 insert into sys.functions values (395, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1570
1578 insert into sys.args values (10228, 396, 'res_0', 'int', 32, 0, 0, 0); 1578 ! 1571 insert into sys.args values (10221, 395, 'res_0', 'day_interval', 4, 0, 0, 0); 1571
1579 insert into sys.args values (10229, 396, 'arg_1', 'int', 32, 0, 1, 1); 1579 ! 1572 insert into sys.args values (10222, 395, 'arg_1', 'day_interval', 4, 0, 1, 1); 1572
1580 insert into sys.args values (10230, 396, 'arg_2', 'int', 32, 0, 1, 2); 1580 ! 1573 insert into sys.args values (10223, 395, 'arg_2', 'tinyint', 8, 0, 1, 2); 1573
1581 insert into sys.functions values (397, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1581 ! 1574 insert into sys.functions values (396, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1574
1582 insert into sys.args values (10231, 397, 'res_0', 'int', 32, 0, 0, 0); 1582 ! 1575 insert into sys.args values (10224, 396, 'res_0', 'day_interval', 4, 0, 0, 0); 1575
1583 insert into sys.args values (10232, 397, 'arg_1', 'int', 32, 0, 1, 1); 1583 ! 1576 insert into sys.args values (10225, 396, 'arg_1', 'day_interval', 4, 0, 1, 1); 1576
1584 insert into sys.args values (10233, 397, 'arg_2', 'int', 32, 0, 1, 2); 1584 ! 1577 insert into sys.args values (10226, 396, 'arg_2', 'tinyint', 8, 0, 1, 2); 1577
1585 insert into sys.functions values (398, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1585 ! 1578 insert into sys.functions values (397, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1578
1586 insert into sys.args values (10234, 398, 'res_0', 'int', 32, 0, 0, 0); 1586 -
1587 insert into sys.args values (10235, 398, 'arg_1', 'int', 32, 0, 1, 1); 1587 ! 1579 insert into sys.args values (10227, 397, 'res_0', 'sec_interval', 13, 0, 0, 0); 1579
1588 insert into sys.functions values (399, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1588 ! 1580 insert into sys.args values (10228, 397, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1580
1589 insert into sys.args values (10236, 399, 'res_0', 'int', 32, 0, 0, 0); 1589 ! 1581 insert into sys.args values (10229, 397, 'arg_2', 'tinyint', 8, 0, 1, 2); 1581
1590 insert into sys.args values (10237, 399, 'arg_1', 'int', 32, 0, 1, 1); 1590 ! 1582 insert into sys.functions values (398, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1582
1591 insert into sys.functions values (400, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1591 ! 1583 insert into sys.args values (10230, 398, 'res_0', 'sec_interval', 13, 0, 0, 0); 1583
1592 insert into sys.args values (10238, 400, 'res_0', 'tinyint', 8, 0, 0, 0); 1592 ! 1584 insert into sys.args values (10231, 398, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1584
1593 insert into sys.args values (10239, 400, 'arg_1', 'int', 32, 0, 1, 1); 1593 ! 1585 insert into sys.args values (10232, 398, 'arg_2', 'tinyint', 8, 0, 1, 2); 1585
1594 insert into sys.functions values (401, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1594 ! 1586 insert into sys.functions values (399, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1586
1595 insert into sys.args values (10240, 401, 'res_0', 'int', 32, 0, 0, 0); 1595 ! 1587 insert into sys.args values (10233, 399, 'res_0', 'smallint', 16, 0, 0, 0); 1587
1596 insert into sys.args values (10241, 401, 'arg_1', 'int', 32, 0, 1, 1); 1596 ! 1588 insert into sys.args values (10234, 399, 'arg_1', 'smallint', 16, 0, 1, 1); 1588
1597 insert into sys.args values (10242, 401, 'arg_2', 'int', 32, 0, 1, 2); 1597 ! 1589 insert into sys.args values (10235, 399, 'arg_2', 'smallint', 16, 0, 1, 2); 1589
1598 insert into sys.functions values (402, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1598 ! 1590 insert into sys.functions values (400, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1590
1599 insert into sys.args values (10243, 402, 'res_0', 'int', 32, 0, 0, 0); 1599 ! 1591 insert into sys.args values (10236, 400, 'res_0', 'smallint', 16, 0, 0, 0); 1591
1600 insert into sys.args values (10244, 402, 'arg_1', 'int', 32, 0, 1, 1); 1600 ! 1592 insert into sys.args values (10237, 400, 'arg_1', 'smallint', 16, 0, 1, 1); 1592
1601 insert into sys.args values (10245, 402, 'arg_2', 'int', 32, 0, 1, 2); 1601 ! 1593 insert into sys.args values (10238, 400, 'arg_2', 'smallint', 16, 0, 1, 2); 1593
1602 insert into sys.functions values (403, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1602 ! 1594 insert into sys.functions values (401, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1594
1603 insert into sys.args values (10246, 403, 'res_0', 'month_interval', 32, 0, 0, 0); 1603 ! 1595 insert into sys.args values (10239, 401, 'res_0', 'smallint', 16, 0, 0, 0); 1595
1604 insert into sys.args values (10247, 403, 'arg_1', 'month_interval', 32, 0, 1, 1); 1604 ! 1596 insert into sys.args values (10240, 401, 'arg_1', 'smallint', 16, 0, 1, 1); 1596
1605 insert into sys.args values (10248, 403, 'arg_2', 'int', 32, 0, 1, 2); 1605 ! 1597 insert into sys.args values (10241, 401, 'arg_2', 'smallint', 16, 0, 1, 2); 1597
1606 insert into sys.functions values (404, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1606 ! 1598 insert into sys.functions values (402, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1598
1607 insert into sys.args values (10249, 404, 'res_0', 'month_interval', 32, 0, 0, 0); 1607 ! 1599 insert into sys.args values (10242, 402, 'res_0', 'smallint', 16, 0, 0, 0); 1599
1608 insert into sys.args values (10250, 404, 'arg_1', 'month_interval', 32, 0, 1, 1); 1608 ! 1600 insert into sys.args values (10243, 402, 'arg_1', 'smallint', 16, 0, 1, 1); 1600
1609 insert into sys.args values (10251, 404, 'arg_2', 'int', 32, 0, 1, 2); 1609 ! 1601 insert into sys.args values (10244, 402, 'arg_2', 'smallint', 16, 0, 1, 2); 1601
1610 insert into sys.functions values (405, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1610 ! 1602 insert into sys.functions values (403, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1602
1611 insert into sys.args values (10252, 405, 'res_0', 'sec_interval', 13, 0, 0, 0); 1611 ! 1603 insert into sys.args values (10245, 403, 'res_0', 'smallint', 16, 0, 0, 0); 1603
1612 insert into sys.args values (10253, 405, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1612 ! 1604 insert into sys.args values (10246, 403, 'arg_1', 'smallint', 16, 0, 1, 1); 1604
1613 insert into sys.args values (10254, 405, 'arg_2', 'int', 32, 0, 1, 2); 1613 ! 1605 insert into sys.args values (10247, 403, 'arg_2', 'smallint', 16, 0, 1, 2); 1605
1614 insert into sys.functions values (406, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1614 ! 1606 insert into sys.functions values (404, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1606
1615 insert into sys.args values (10255, 406, 'res_0', 'sec_interval', 13, 0, 0, 0); 1615 ! 1607 insert into sys.args values (10248, 404, 'res_0', 'smallint', 16, 0, 0, 0); 1607
1616 insert into sys.args values (10256, 406, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1616 ! 1608 insert into sys.args values (10249, 404, 'arg_1', 'smallint', 16, 0, 1, 1); 1608
1617 insert into sys.args values (10257, 406, 'arg_2', 'int', 32, 0, 1, 2); 1617 ! 1609 insert into sys.args values (10250, 404, 'arg_2', 'smallint', 16, 0, 1, 2); 1609
1618 insert into sys.functions values (407, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1618 ! 1610 insert into sys.functions values (405, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1610
1619 insert into sys.args values (10258, 407, 'res_0', 'bigint', 64, 0, 0, 0); 1619 ! 1611 insert into sys.args values (10251, 405, 'res_0', 'smallint', 16, 0, 0, 0); 1611
1620 insert into sys.args values (10259, 407, 'arg_1', 'bigint', 64, 0, 1, 1); 1620 ! 1612 insert into sys.args values (10252, 405, 'arg_1', 'smallint', 16, 0, 1, 1); 1612
1621 insert into sys.args values (10260, 407, 'arg_2', 'bigint', 64, 0, 1, 2); 1621 ! 1613 insert into sys.args values (10253, 405, 'arg_2', 'smallint', 16, 0, 1, 2); 1613
1622 insert into sys.functions values (408, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1622 ! 1614 insert into sys.functions values (406, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1614
1623 insert into sys.args values (10261, 408, 'res_0', 'bigint', 64, 0, 0, 0); 1623 ! 1615 insert into sys.args values (10254, 406, 'res_0', 'smallint', 16, 0, 0, 0); 1615
1624 insert into sys.args values (10262, 408, 'arg_1', 'bigint', 64, 0, 1, 1); 1624 ! 1616 insert into sys.args values (10255, 406, 'arg_1', 'smallint', 16, 0, 1, 1); 1616
1625 insert into sys.args values (10263, 408, 'arg_2', 'bigint', 64, 0, 1, 2); 1625 ! 1617 insert into sys.functions values (407, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1617
1626 insert into sys.functions values (409, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1626 -
1627 insert into sys.args values (10264, 409, 'res_0', 'bigint', 64, 0, 0, 0); 1627 ! 1618 insert into sys.args values (10256, 407, 'res_0', 'smallint', 16, 0, 0, 0); 1618
1628 insert into sys.args values (10265, 409, 'arg_1', 'bigint', 64, 0, 1, 1); 1628 ! 1619 insert into sys.args values (10257, 407, 'arg_1', 'smallint', 16, 0, 1, 1); 1619
1629 insert into sys.args values (10266, 409, 'arg_2', 'bigint', 64, 0, 1, 2); 1629 ! 1620 insert into sys.args values (10258, 407, 'arg_2', 'int', 32, 0, 1, 2); 1620
1630 insert into sys.functions values (410, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1630 ! 1621 insert into sys.functions values (408, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1621
1631 insert into sys.args values (10267, 410, 'res_0', 'bigint', 64, 0, 0, 0); 1631 ! 1622 insert into sys.args values (10259, 408, 'res_0', 'smallint', 16, 0, 0, 0); 1622
1632 insert into sys.args values (10268, 410, 'arg_1', 'bigint', 64, 0, 1, 1); 1632 ! 1623 insert into sys.args values (10260, 408, 'arg_1', 'smallint', 16, 0, 1, 1); 1623
1633 insert into sys.args values (10269, 410, 'arg_2', 'bigint', 64, 0, 1, 2); 1633 ! 1624 insert into sys.args values (10261, 408, 'arg_2', 'int', 32, 0, 1, 2); 1624
1634 insert into sys.functions values (411, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1634 ! 1625 insert into sys.functions values (409, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1625
+ 1626 insert into sys.args values (10262, 409, 'res_0', 'smallint', 16, 0, 0, 0); 1626
1635 insert into sys.args values (10270, 411, 'res_0', 'bigint', 64, 0, 0, 0); 1635 ! 1627 insert into sys.args values (10263, 409, 'arg_1', 'smallint', 16, 0, 1, 1); 1627
1636 insert into sys.args values (10271, 411, 'arg_1', 'bigint', 64, 0, 1, 1); 1636 ! 1628 insert into sys.functions values (410, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1628
1637 insert into sys.args values (10272, 411, 'arg_2', 'bigint', 64, 0, 1, 2); 1637 ! 1629 insert into sys.args values (10264, 410, 'res_0', 'smallint', 16, 0, 0, 0); 1629
1638 insert into sys.functions values (412, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1638 ! 1630 insert into sys.args values (10265, 410, 'arg_1', 'smallint', 16, 0, 1, 1); 1630
1639 insert into sys.args values (10273, 412, 'res_0', 'bigint', 64, 0, 0, 0); 1639 ! 1631 insert into sys.functions values (411, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1631
1640 insert into sys.args values (10274, 412, 'arg_1', 'bigint', 64, 0, 1, 1); 1640 ! 1632 insert into sys.args values (10266, 411, 'res_0', 'tinyint', 8, 0, 0, 0); 1632
1641 insert into sys.args values (10275, 412, 'arg_2', 'bigint', 64, 0, 1, 2); 1641 ! 1633 insert into sys.args values (10267, 411, 'arg_1', 'smallint', 16, 0, 1, 1); 1633
1642 insert into sys.functions values (413, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1642 ! 1634 insert into sys.functions values (412, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1634
1643 insert into sys.args values (10276, 413, 'res_0', 'bigint', 64, 0, 0, 0); 1643 ! 1635 insert into sys.args values (10268, 412, 'res_0', 'smallint', 16, 0, 0, 0); 1635
1644 insert into sys.args values (10277, 413, 'arg_1', 'bigint', 64, 0, 1, 1); 1644 ! 1636 insert into sys.args values (10269, 412, 'arg_1', 'smallint', 16, 0, 1, 1); 1636
1645 insert into sys.args values (10278, 413, 'arg_2', 'bigint', 64, 0, 1, 2); 1645 ! 1637 insert into sys.args values (10270, 412, 'arg_2', 'smallint', 16, 0, 1, 2); 1637
1646 insert into sys.functions values (414, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1646 ! 1638 insert into sys.functions values (413, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1638
1647 insert into sys.args values (10279, 414, 'res_0', 'bigint', 64, 0, 0, 0); 1647 ! 1639 insert into sys.args values (10271, 413, 'res_0', 'smallint', 16, 0, 0, 0); 1639
1648 insert into sys.args values (10280, 414, 'arg_1', 'bigint', 64, 0, 1, 1); 1648 ! 1640 insert into sys.args values (10272, 413, 'arg_1', 'smallint', 16, 0, 1, 1); 1640
insert into sys. + 1641 insert into sys.args values (10273, 413, 'arg_2', 'smallint', 16, 0, 1, 2); 1641
1649 functions values (415, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1649 ! 1642 insert into sys.functions values (414, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1642
1650 insert into sys.args values (10281, 415, 'res_0', 'bigint', 64, 0, 0, 0); 1650 ! 1643 insert into sys.args values (10274, 414, 'res_0', 'month_interval', 3, 0, 0, 0); 1643
1651 insert into sys.args values (10282, 415, 'arg_1', 'bigint', 64, 0, 1, 1); 1651 ! 1644 insert into sys.args values (10275, 414, 'arg_1', 'month_interval', 3, 0, 1, 1); 1644
1652 insert into sys.args values (10283, 415, 'arg_2', 'int', 32, 0, 1, 2); 1652 ! 1645 insert into sys.args values (10276, 414, 'arg_2', 'smallint', 16, 0, 1, 2); 1645
1653 insert into sys.functions values (416, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1653 ! 1646 insert into sys.functions values (415, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1646
1654 insert into sys.args values (10284, 416, 'res_0', 'bigint', 64, 0, 0, 0); 1654 ! 1647 insert into sys.args values (10277, 415, 'res_0', 'month_interval', 3, 0, 0, 0); 1647
1655 insert into sys.args values (10285, 416, 'arg_1', 'bigint', 64, 0, 1, 1); 1655 ! 1648 insert into sys.args values (10278, 415, 'arg_1', 'month_interval', 3, 0, 1, 1); 1648
1656 insert into sys.args values (10286, 416, 'arg_2', 'int', 32, 0, 1, 2); 1656 ! 1649 insert into sys.args values (10279, 415, 'arg_2', 'smallint', 16, 0, 1, 2); 1649
1657 insert into sys.functions values (417, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1657 ! 1650 insert into sys.functions values (416, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1650
1658 insert into sys.args values (10287, 417, 'res_0', 'bigint', 64, 0, 0, 0); 1658 -
1659 insert into sys.args values (10288, 417, 'arg_1', 'bigint', 64, 0, 1, 1); 1659 ! 1651 insert into sys.args values (10280, 416, 'res_0', 'day_interval', 4, 0, 0, 0); 1651
1660 insert into sys.functions values (418, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1660 ! 1652 insert into sys.args values (10281, 416, 'arg_1', 'day_interval', 4, 0, 1, 1); 1652
1661 insert into sys.args values (10289, 418, 'res_0', 'bigint', 64, 0, 0, 0); 1661 ! 1653 insert into sys.args values (10282, 416, 'arg_2', 'smallint', 16, 0, 1, 2); 1653
1662 insert into sys.args values (10290, 418, 'arg_1', 'bigint', 64, 0, 1, 1); 1662 ! 1654 insert into sys.functions values (417, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1654
1663 insert into sys.functions values (419, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1663 ! 1655 insert into sys.args values (10283, 417, 'res_0', 'day_interval', 4, 0, 0, 0); 1655
1664 insert into sys.args values (10291, 419, 'res_0', 'tinyint', 8, 0, 0, 0); 1664 ! 1656 insert into sys.args values (10284, 417, 'arg_1', 'day_interval', 4, 0, 1, 1); 1656
1665 insert into sys.args values (10292, 419, 'arg_1', 'bigint', 64, 0, 1, 1); 1665 ! 1657 insert into sys.args values (10285, 417, 'arg_2', 'smallint', 16, 0, 1, 2); 1657
1666 insert into sys.functions values (420, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1666 ! 1658 insert into sys.functions values (418, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1658
1667 insert into sys.args values (10293, 420, 'res_0', 'bigint', 64, 0, 0, 0); 1667 ! 1659 insert into sys.args values (10286, 418, 'res_0', 'sec_interval', 13, 0, 0, 0); 1659
1668 insert into sys.args values (10294, 420, 'arg_1', 'bigint', 64, 0, 1, 1); 1668 ! 1660 insert into sys.args values (10287, 418, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1660
1669 insert into sys.args values (10295, 420, 'arg_2', 'bigint', 64, 0, 1, 2); 1669 ! 1661 insert into sys.args values (10288, 418, 'arg_2', 'smallint', 16, 0, 1, 2); 1661
1670 insert into sys.functions values (421, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1670 ! 1662 insert into sys.functions values (419, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1662
1671 insert into sys.args values (10296, 421, 'res_0', 'bigint', 64, 0, 0, 0); 1671 ! 1663 insert into sys.args values (10289, 419, 'res_0', 'sec_interval', 13, 0, 0, 0); 1663
1672 insert into sys.args values (10297, 421, 'arg_1', 'bigint', 64, 0, 1, 1); 1672 ! 1664 insert into sys.args values (10290, 419, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1664
1673 insert into sys.args values (10298, 421, 'arg_2', 'bigint', 64, 0, 1, 2); 1673 ! 1665 insert into sys.args values (10291, 419, 'arg_2', 'smallint', 16, 0, 1, 2); 1665
+ 1666 insert into sys.functions values (420, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1666
+ 1667 insert into sys.args values (10292, 420, 'res_0', 'int', 32, 0, 0, 0); 1667
+ 1668 insert into sys.args values (10293, 420, 'arg_1', 'int', 32, 0, 1, 1); 1668
+ 1669 insert into sys.args values (10294, 420, 'arg_2', 'int', 32, 0, 1, 2); 1669
+ 1670 insert into sys.functions values (421, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1670
+ 1671 insert into sys.args values (10295, 421, 'res_0', 'int', 32, 0, 0, 0); 1671
+ 1672 insert into sys.args values (10296, 421, 'arg_1', 'int', 32, 0, 1, 1); 1672
+ 1673 insert into sys.args values (10297, 421, 'arg_2', 'int', 32, 0, 1, 2); 1673
1674 insert into sys.functions values (422, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1674 1674 insert into sys.functions values (422, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1674
1675 insert into sys.args values (10299, 422, 'res_0', 'month_interval', 32, 0, 0, 0); 1675 ! 1675 insert into sys.args values (10298, 422, 'res_0', 'int', 32, 0, 0, 0); 1675
1676 insert into sys.args values (10300, 422, 'arg_1', 'month_interval', 32, 0, 1, 1); 1676 ! 1676 insert into sys.args values (10299, 422, 'arg_1', 'int', 32, 0, 1, 1); 1676
1677 insert into sys.args values (10301, 422, 'arg_2', 'bigint', 64, 0, 1, 2); 1677 ! 1677 insert into sys.args values (10300, 422, 'arg_2', 'int', 32, 0, 1, 2); 1677
1678 insert into sys.functions values (423, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1678 1678 insert into sys.functions values (423, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1678
1679 insert into sys.args values (10302, 423, 'res_0', 'month_interval', 32, 0, 0, 0); 1679 ! 1679 insert into sys.args values (10301, 423, 'res_0', 'int', 32, 0, 0, 0); 1679
1680 insert into sys.args values (10303, 423, 'arg_1', 'month_interval', 32, 0, 1, 1); 1680 ! 1680 insert into sys.args values (10302, 423, 'arg_1', 'int', 32, 0, 1, 1); 1680
1681 insert into sys.args values (10304, 423, 'arg_2', 'bigint', 64, 0, 1, 2); 1681 ! 1681 insert into sys.args values (10303, 423, 'arg_2', 'int', 32, 0, 1, 2); 1681
1682 insert into sys.functions values (424, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1682 ! 1682 insert into sys.functions values (424, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1682
1683 insert into sys.args values (10305, 424, 'res_0', 'sec_interval', 13, 0, 0, 0); 1683 ! 1683 insert into sys.args values (10304, 424, 'res_0', 'int', 32, 0, 0, 0); 1683
1684 insert into sys.args values (10306, 424, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1684 ! 1684 insert into sys.args values (10305, 424, 'arg_1', 'int', 32, 0, 1, 1); 1684
1685 insert into sys.args values (10307, 424, 'arg_2', 'bigint', 64, 0, 1, 2); 1685 ! 1685 insert into sys.args values (10306, 424, 'arg_2', 'int', 32, 0, 1, 2); 1685
1686 insert into sys.functions values (425, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1686 ! 1686 insert into sys.functions values (425, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1686
1687 insert into sys.args values (10308, 425, 'res_0', 'sec_interval', 13, 0, 0, 0); 1687 ! 1687 insert into sys.args values (10307, 425, 'res_0', 'int', 32, 0, 0, 0); 1687
1688 insert into sys.args values (10309, 425, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1688 ! 1688 insert into sys.args values (10308, 425, 'arg_1', 'int', 32, 0, 1, 1); 1688
1689 insert into sys.args values (10310, 425, 'arg_2', 'bigint', 64, 0, 1, 2); 1689 ! 1689 insert into sys.args values (10309, 425, 'arg_2', 'int', 32, 0, 1, 2); 1689
1690 insert into sys.functions values (426, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1690 ! 1690 insert into sys.functions values (426, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1690
1691 insert into sys.args values (10311, 426, 'res_0', 'hugeint', 128, 0, 0, 0); 1691 ! 1691 insert into sys.args values (10310, 426, 'res_0', 'int', 32, 0, 0, 0); 1691
1692 insert into sys.args values (10312, 426, 'arg_1', 'hugeint', 128, 0, 1, 1); 1692 ! 1692 insert into sys.args values (10311, 426, 'arg_1', 'int', 32, 0, 1, 1); 1692
1693 insert into sys.args values (10313, 426, 'arg_2', 'hugeint', 128, 0, 1, 2); 1693 ! 1693 insert into sys.args values (10312, 426, 'arg_2', 'int', 32, 0, 1, 2); 1693
1694 insert into sys.functions values (427, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1694 ! 1694 insert into sys.functions values (427, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1694
1695 insert into sys.args values (10314, 427, 'res_0', 'hugeint', 128, 0, 0, 0); 1695 ! 1695 insert into sys.args values (10313, 427, 'res_0', 'int', 32, 0, 0, 0); 1695
1696 insert into sys.args values (10315, 427, 'arg_1', 'hugeint', 128, 0, 1, 1); 1696 ! 1696 insert into sys.args values (10314, 427, 'arg_1', 'int', 32, 0, 1, 1); 1696
1697 insert into sys.args values (10316, 427, 'arg_2', 'hugeint', 128, 0, 1, 2); 1697 ! 1697 insert into sys.functions values (428, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1697
1698 insert into sys.functions values (428, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1698 -
1699 insert into sys.args values (10317, 428, 'res_0', 'hugeint', 128, 0, 0, 0); 1699 ! 1698 insert into sys.args values (10315, 428, 'res_0', 'int', 32, 0, 0, 0); 1698
1700 insert into sys.args values (10318, 428, 'arg_1', 'hugeint', 128, 0, 1, 1); 1700 ! 1699 insert into sys.args values (10316, 428, 'arg_1', 'int', 32, 0, 1, 1); 1699
1701 insert into sys.args values (10319, 428, 'arg_2', 'hugeint', 128, 0, 1, 2); 1701 ! 1700 insert into sys.args values (10317, 428, 'arg_2', 'int', 32, 0, 1, 2); 1700
1702 insert into sys.functions values (429, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1702 ! 1701 insert into sys.functions values (429, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1701
1703 insert into sys.args values (10320, 429, 'res_0', 'hugeint', 128, 0, 0, 0); 1703 ! 1702 insert into sys.args values (10318, 429, 'res_0', 'int', 32, 0, 0, 0); 1702
1704 insert into sys.args values (10321, 429, 'arg_1', 'hugeint', 128, 0, 1, 1); 1704 ! 1703 insert into sys.args values (10319, 429, 'arg_1', 'int', 32, 0, 1, 1); 1703
1705 insert into sys.args values (10322, 429, 'arg_2', 'hugeint', 128, 0, 1, 2); 1705 ! 1704 insert into sys.args values (10320, 429, 'arg_2', 'int', 32, 0, 1, 2); 1704
1706 insert into sys.functions values (430, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1706 ! 1705 insert into sys.functions values (430, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1705
1707 insert into sys.args values (10323, 430, 'res_0', 'hugeint', 128, 0, 0, 0); 1707 ! 1706 insert into sys.args values (10321, 430, 'res_0', 'int', 32, 0, 0, 0); 1706
1708 insert into sys.args values (10324, 430, 'arg_1', 'hugeint', 128, 0, 1, 1); 1708 ! 1707 insert into sys.args values (10322, 430, 'arg_1', 'int', 32, 0, 1, 1); 1707
+ 1708 insert into sys.functions values (431, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1708
1709 insert into sys.args values (10325, 430, 'arg_2', 'hugeint', 128, 0, 1, 2); 1709 ! 1709 insert into sys.args values (10323, 431, 'res_0', 'int', 32, 0, 0, 0); 1709
1710 insert into sys.functions values (431, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1710 ! 1710 insert into sys.args values (10324, 431, 'arg_1', 'int', 32, 0, 1, 1); 1710
1711 insert into sys.args values (10326, 431, 'res_0', 'hugeint', 128, 0, 0, 0); 1711 ! 1711 insert into sys.functions values (432, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1711
1712 insert into sys.args values (10327, 431, 'arg_1', 'hugeint', 128, 0, 1, 1); 1712 ! 1712 insert into sys.args values (10325, 432, 'res_0', 'tinyint', 8, 0, 0, 0); 1712
1713 insert into sys.args values (10328, 431, 'arg_2', 'hugeint', 128, 0, 1, 2); 1713 ! 1713 insert into sys.args values (10326, 432, 'arg_1', 'int', 32, 0, 1, 1); 1713
1714 insert into sys.functions values (432, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1714 ! 1714 insert into sys.functions values (433, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1714
1715 insert into sys.args values (10329, 432, 'res_0', 'hugeint', 128, 0, 0, 0); 1715 ! 1715 insert into sys.args values (10327, 433, 'res_0', 'int', 32, 0, 0, 0); 1715
1716 insert into sys.args values (10330, 432, 'arg_1', 'hugeint', 128, 0, 1, 1); 1716 ! 1716 insert into sys.args values (10328, 433, 'arg_1', 'int', 32, 0, 1, 1); 1716
1717 insert into sys.args values (10331, 432, 'arg_2', 'hugeint', 128, 0, 1, 2); 1717 ! 1717 insert into sys.args values (10329, 433, 'arg_2', 'int', 32, 0, 1, 2); 1717
1718 insert into sys.functions values (433, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1718 ! 1718 insert into sys.functions values (434, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1718
1719 insert into sys.args values (10332, 433, 'res_0', 'hugeint', 128, 0, 0, 0); 1719 ! 1719 insert into sys.args values (10330, 434, 'res_0', 'int', 32, 0, 0, 0); 1719
1720 insert into sys.args values (10333, 433, 'arg_1', 'hugeint', 128, 0, 1, 1); 1720 ! 1720 insert into sys.args values (10331, 434, 'arg_1', 'int', 32, 0, 1, 1); 1720
insert into sys.functions values (434, 'left_shift', '<< + 1721 insert into sys.args values (10332, 434, 'arg_2', 'int', 32, 0, 1, 2); 1721
1721 ', 'calc', 0, 1, false, false, false, 2000, true, false); 1721 + 1722 insert into sys.functions values (435, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1722
1722 insert into sys.args values (10334, 434, 'res_0', 'hugeint', 128, 0, 0, 0); 1722 ! 1723 insert into sys.args values (10333, 435, 'res_0', 'month_interval', 3, 0, 0, 0); 1723
1723 insert into sys.args values (10335, 434, 'arg_1', 'hugeint', 128, 0, 1, 1); 1723 ! 1724 insert into sys.args values (10334, 435, 'arg_1', 'month_interval', 3, 0, 1, 1); 1724
1724 insert into sys.args values (10336, 434, 'arg_2', 'int', 32, 0, 1, 2); 1724 ! 1725 insert into sys.args values (10335, 435, 'arg_2', 'int', 32, 0, 1, 2); 1725
1725 insert into sys.functions values (435, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1725 ! 1726 insert into sys.functions values (436, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1726
1726 insert into sys.args values (10337, 435, 'res_0', 'hugeint', 128, 0, 0, 0); 1726 ! 1727 insert into sys.args values (10336, 436, 'res_0', 'month_interval', 3, 0, 0, 0); 1727
1727 insert into sys.args values (10338, 435, 'arg_1', 'hugeint', 128, 0, 1, 1); 1727 ! 1728 insert into sys.args values (10337, 436, 'arg_1', 'month_interval', 3, 0, 1, 1); 1728
1728 insert into sys.args values (10339, 435, 'arg_2', 'int', 32, 0, 1, 2); 1728 ! 1729 insert into sys.args values (10338, 436, 'arg_2', 'int', 32, 0, 1, 2); 1729
1729 insert into sys.functions values (436, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1729 ! 1730 insert into sys.functions values (437, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1730
1730 insert into sys.args values (10340, 436, 'res_0', 'hugeint', 128, 0, 0, 0); 1730 -
1731 insert into sys.args values (10341, 436, 'arg_1', 'hugeint', 128, 0, 1, 1); 1731 ! 1731 insert into sys.args values (10339, 437, 'res_0', 'day_interval', 4, 0, 0, 0); 1731
1732 insert into sys.functions values (437, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1732 ! 1732 insert into sys.args values (10340, 437, 'arg_1', 'day_interval', 4, 0, 1, 1); 1732
1733 insert into sys.args values (10342, 437, 'res_0', 'hugeint', 128, 0, 0, 0); 1733 ! 1733 insert into sys.args values (10341, 437, 'arg_2', 'int', 32, 0, 1, 2); 1733
1734 insert into sys.args values (10343, 437, 'arg_1', 'hugeint', 128, 0, 1, 1); 1734 ! 1734 insert into sys.functions values (438, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1734
1735 insert into sys.functions values (438, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1735 ! 1735 insert into sys.args values (10342, 438, 'res_0', 'day_interval', 4, 0, 0, 0); 1735
1736 insert into sys.args values (10344, 438, 'res_0', 'tinyint', 8, 0, 0, 0); 1736 ! 1736 insert into sys.args values (10343, 438, 'arg_1', 'day_interval', 4, 0, 1, 1); 1736
1737 insert into sys.args values (10345, 438, 'arg_1', 'hugeint', 128, 0, 1, 1); 1737 ! 1737 insert into sys.args values (10344, 438, 'arg_2', 'int', 32, 0, 1, 2); 1737
1738 insert into sys.functions values (439, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1738 ! 1738 insert into sys.functions values (439, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1738
1739 insert into sys.args values (10346, 439, 'res_0', 'hugeint', 128, 0, 0, 0); 1739 ! 1739 insert into sys.args values (10345, 439, 'res_0', 'sec_interval', 13, 0, 0, 0); 1739
1740 insert into sys.args values (10347, 439, 'arg_1', 'hugeint', 128, 0, 1, 1); 1740 ! 1740 insert into sys.args values (10346, 439, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1740
1741 insert into sys.args values (10348, 439, 'arg_2', 'hugeint', 128, 0, 1, 2); 1741 ! 1741 insert into sys.args values (10347, 439, 'arg_2', 'int', 32, 0, 1, 2); 1741
1742 insert into sys.functions values (440, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1742 ! 1742 insert into sys.functions values (440, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1742
1743 insert into sys.args values (10349, 440, 'res_0', 'hugeint', 128, 0, 0, 0); 1743 ! 1743 insert into sys.args values (10348, 440, 'res_0', 'sec_interval', 13, 0, 0, 0); 1743
1744 insert into sys.args values (10350, 440, 'arg_1', 'hugeint', 128, 0, 1, 1); 1744 ! 1744 insert into sys.args values (10349, 440, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1744
1745 insert into sys.args values (10351, 440, 'arg_2', 'hugeint', 128, 0, 1, 2); 1745 ! 1745 insert into sys.args values (10350, 440, 'arg_2', 'int', 32, 0, 1, 2); 1745
1746 insert into sys.functions values (441, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1746 ! 1746 insert into sys.functions values (441, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1746
1747 insert into sys.args values (10352, 441, 'res_0', 'month_interval', 32, 0, 0, 0); 1747 ! 1747 insert into sys.args values (10351, 441, 'res_0', 'bigint', 64, 0, 0, 0); 1747
1748 insert into sys.args values (10353, 441, 'arg_1', 'month_interval', 32, 0, 1, 1); 1748 ! 1748 insert into sys.args values (10352, 441, 'arg_1', 'bigint', 64, 0, 1, 1); 1748
1749 insert into sys.args values (10354, 441, 'arg_2', 'hugeint', 128, 0, 1, 2); 1749 ! 1749 insert into sys.args values (10353, 441, 'arg_2', 'bigint', 64, 0, 1, 2); 1749
1750 insert into sys.functions values (442, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1750 ! 1750 insert into sys.functions values (442, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1750
1751 insert into sys.args values (10355, 442, 'res_0', 'month_interval', 32, 0, 0, 0); 1751 ! 1751 insert into sys.args values (10354, 442, 'res_0', 'bigint', 64, 0, 0, 0); 1751
1752 insert into sys.args values (10356, 442, 'arg_1', 'month_interval', 32, 0, 1, 1); 1752 ! 1752 insert into sys.args values (10355, 442, 'arg_1', 'bigint', 64, 0, 1, 1); 1752
1753 insert into sys.args values (10357, 442, 'arg_2', 'hugeint', 128, 0, 1, 2); 1753 ! 1753 insert into sys.args values (10356, 442, 'arg_2', 'bigint', 64, 0, 1, 2); 1753
1754 insert into sys.functions values (443, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1754 1754 insert into sys.functions values (443, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1754
1755 insert into sys.args values (10358, 443, 'res_0', 'sec_interval', 13, 0, 0, 0); 1755 ! 1755 insert into sys.args values (10357, 443, 'res_0', 'bigint', 64, 0, 0, 0); 1755
1756 insert into sys.args values (10359, 443, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1756 ! 1756 insert into sys.args values (10358, 443, 'arg_1', 'bigint', 64, 0, 1, 1); 1756
1757 insert into sys.args values (10360, 443, 'arg_2', 'hugeint', 128, 0, 1, 2); 1757 ! 1757 insert into sys.args values (10359, 443, 'arg_2', 'bigint', 64, 0, 1, 2); 1757
1758 insert into sys.functions values (444, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1758 1758 insert into sys.functions values (444, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1758
1759 insert into sys.args values (10361, 444, 'res_0', 'sec_interval', 13, 0, 0, 0); 1759 ! 1759 insert into sys.args values (10360, 444, 'res_0', 'bigint', 64, 0, 0, 0); 1759
1760 insert into sys.args values (10362, 444, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1760 ! 1760 insert into sys.args values (10361, 444, 'arg_1', 'bigint', 64, 0, 1, 1); 1760
1761 insert into sys.args values (10363, 444, 'arg_2', 'hugeint', 128, 0, 1, 2); 1761 ! 1761 insert into sys.args values (10362, 444, 'arg_2', 'bigint', 64, 0, 1, 2); 1761
1762 insert into sys.functions values (445, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1762 ! 1762 insert into sys.functions values (445, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1762
1763 insert into sys.args values (10364, 445, 'res_0', 'decimal', 2, 0, 0, 0); 1763 ! 1763 insert into sys.args values (10363, 445, 'res_0', 'bigint', 64, 0, 0, 0); 1763
1764 insert into sys.args values (10365, 445, 'arg_1', 'decimal', 2, 0, 1, 1); 1764 ! 1764 insert into sys.args values (10364, 445, 'arg_1', 'bigint', 64, 0, 1, 1); 1764
1765 insert into sys.args values (10366, 445, 'arg_2', 'decimal', 2, 0, 1, 2); 1765 ! 1765 insert into sys.args values (10365, 445, 'arg_2', 'bigint', 64, 0, 1, 2); 1765
1766 insert into sys.functions values (446, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1766 ! 1766 insert into sys.functions values (446, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1766
1767 insert into sys.args values (10367, 446, 'res_0', 'decimal', 2, 0, 0, 0); 1767 ! 1767 insert into sys.args values (10366, 446, 'res_0', 'bigint', 64, 0, 0, 0); 1767
1768 insert into sys.args values (10368, 446, 'arg_1', 'decimal', 2, 0, 1, 1); 1768 ! 1768 insert into sys.args values (10367, 446, 'arg_1', 'bigint', 64, 0, 1, 1); 1768
1769 insert into sys.args values (10369, 446, 'arg_2', 'decimal', 2, 0, 1, 2); 1769 ! 1769 insert into sys.args values (10368, 446, 'arg_2', 'bigint', 64, 0, 1, 2); 1769
1770 insert into sys.functions values (447, '