Test upgrade.SQL.py (id af258210d10d) (err)
upgrade.stable.out.int128.FILTERED 2020-09-17 23:21:47.758236478 +0200upgrade.test.out.FILTERED 2020-09-17 23:21:47.939238140 +0200
1 Statistics about stdout of test 'upgrade` in directory 'sql/test/testdb-upgrade-chain`: 1 1 Statistics about stdout of test 'upgrade` in directory 'sql/test/testdb-upgrade-chain`: 1
2 4212 lines, 53835 words, 343745 chars in lines not matching '^$|^(\| |)#|^=` 2 ! 2 4475 lines, 56976 words, 364938 chars in lines not matching '^$|^(\| |)#|^=` 2
3 = 4212 lines, 53835 words, 343745 chars in lines not matching '^$|^(\| |)#` 3 ! 3 = 4475 lines, 56976 words, 364938 chars in lines not matching '^$|^(\| |)#` 3
4 # 4246 lines, 53970 words, 344840 chars in all lines 4 ! 4 # 4512 lines, 57130 words, 366232 chars in all lines 4
5 5 5 5
..................
# MonetDB/GIS module loaded
46 insert into sys.types values (19, 'dbl', 'double', 53, 2, 2, 11, 2000); 46 48 insert into sys.types values (19, 'dbl', 'double', 53, 2, 2, 11, 2000); 48
47 insert into sys.types values (20, 'int', 'month_interval', 32, 0, 2, 8, 2000); 47 ! 49 insert into sys.types values (20, 'int', 'month_interval', 3, 0, 10, 8, 2000); 49
48 insert into sys.types values (21, 'lng', 'sec_interval', 13, 1, 10, 9, 2000); 48 ! 50 insert into sys.types values (21, 'lng', 'day_interval', 4, 0, 10, 9, 2000); 50
49 insert into sys.types values (22, 'daytime', 'time', 7, 0, 0, 12, 2000); 49 ! 51 insert into sys.types values (22, 'lng', 'sec_interval', 13, 1, 10, 9, 2000); 51
50 insert into sys.types values (23, 'daytime', 'timetz', 7, 1, 0, 13, 2000); 50 ! 52 insert into sys.types values (23, 'daytime', 'time', 7, 0, 0, 12, 2000); 52
51 insert into sys.types values (24, 'date', 'date', 0, 0, 0, 14, 2000); 51 ! 53 insert into sys.types values (24, 'daytime', 'timetz', 7, 1, 0, 13, 2000); 53
52 insert into sys.types values (25, 'timestamp', 'timestamp', 7, 0, 0, 15, 2000); 52 ! 54 insert into sys.types values (25, 'date', 'date', 0, 0, 0, 14, 2000); 54
53 insert into sys.types values (26, 'timestamp', 'timestamptz', 7, 1, 0, 16, 2000); 53 ! 55 insert into sys.types values (26, 'timestamp', 'timestamp', 7, 0, 0, 15, 2000); 55
54 insert into sys.types values (27, 'blob', 'blob', 0, 0, 0, 5, 2000); 54 ! 56 insert into sys.types values (27, 'timestamp', 'timestamptz', 7, 1, 0, 16, 2000); 56
55 insert into sys.types values (30, 'wkb', 'geometry', 0, 0, 0, 17, 2000); 55 ! 57 insert into sys.types values (28, 'blob', 'blob', 0, 0, 0, 5, 2000); 57
56 insert into sys.types values (31, 'wkba', 'geometrya', 0, 0, 0, 18, 2000); 56 ! 58 insert into sys.types values (31, 'wkb', 'geometry', 0, 0, 0, 17, 2000); 58
57 insert into sys.types values (32, 'mbr', 'mbr', 0, 0, 0, 18, 2000); 57 ! 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
58 delete from sys.functions where id < 2000; 58 61 delete from sys.functions where id < 2000; 61
59 delete from sys.args where func_id not in (select id from sys.functions); 59 62 delete from sys.args where func_id not in (select id from sys.functions); 62
60 insert into sys.functions values (28, 'length', 'nitems', 'blob', 0, 1, false, false, false, 2000, true, false); 60 ! 63 insert into sys.functions values (29, 'length', 'nitems', 'blob', 0, 1, false, false, false, 2000, true, false); 63
61 insert into sys.args values (31616, 28, 'res_0', 'int', 32, 0, 0, 0); 61 ! 64 insert into sys.args values (31616, 29, 'res_0', 'int', 32, 0, 0, 0); 64
62 insert into sys.args values (31617, 28, 'arg_1', 'blob', 0, 0, 1, 1); 62 ! 65 insert into sys.args values (31617, 29, 'arg_1', 'blob', 0, 0, 1, 1); 65
63 insert into sys.functions values (29, 'octet_length', 'nitems', 'blob', 0, 1, false, false, false, 2000, true, false); 63 ! 66 insert into sys.functions values (30, 'octet_length', 'nitems', 'blob', 0, 1, false, false, false, 2000, true, false); 66
64 insert into sys.args values (31618, 29, 'res_0', 'int', 32, 0, 0, 0); 64 ! 67 insert into sys.args values (31618, 30, 'res_0', 'int', 32, 0, 0, 0); 67
65 insert into sys.args values (31619, 29, 'arg_1', 'blob', 0, 0, 1, 1); 65 ! 68 insert into sys.args values (31619, 30, 'arg_1', 'blob', 0, 0, 1, 1); 68
66 insert into sys.functions values (33, 'mbr_overlap', 'mbrOverlaps', 'geom', 0, 1, false, false, false, 2000, true, true); 66 -
67 insert into sys.args values (31620, 33, 'res_0', 'boolean', 1, 0, 0, 0); 67 -
68 insert into sys.args values (31621, 33, 'arg_1', 'geometry', 0, 0, 1, 1); 68 -
69 insert into sys.args values (31622, 33, 'arg_2', 'geometry', 0, 0, 1, 2); 69 -
70 insert into sys.functions values (34, 'mbr_overlap', 'mbrOverlaps', 'geom', 0, 1, false, false, false, 2000, true, true); 70 69 insert into sys.functions values (34, 'mbr_overlap', 'mbrOverlaps', 'geom', 0, 1, false, false, false, 2000, true, true); 69
71 insert into sys.args values (31623, 34, 'res_0', 'boolean', 1, 0, 0, 0); 71 ! 70 insert into sys.args values (31620, 34, 'res_0', 'boolean', 1, 0, 0, 0); 70
72 insert into sys.args values (31624, 34, 'arg_1', 'mbr', 0, 0, 1, 1); 72 ! 71 insert into sys.args values (31621, 34, 'arg_1', 'geometry', 0, 0, 1, 1); 71
73 insert into sys.args values (31625, 34, 'arg_2', 'mbr', 0, 0, 1, 2); 73 ! 72 insert into sys.args values (31622, 34, 'arg_2', 'geometry', 0, 0, 1, 2); 72
74 insert into sys.functions values (35, 'mbr_above', 'mbrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 74 ! 73 insert into sys.functions values (35, 'mbr_overlap', 'mbrOverlaps', 'geom', 0, 1, false, false, false, 2000, true, true); 73
75 insert into sys.args values (31626, 35, 'res_0', 'boolean', 1, 0, 0, 0); 75 ! 74 insert into sys.args values (31623, 35, 'res_0', 'boolean', 1, 0, 0, 0); 74
76 insert into sys.args values (31627, 35, 'arg_1', 'geometry', 0, 0, 1, 1); 76 ! 75 insert into sys.args values (31624, 35, 'arg_1', 'mbr', 0, 0, 1, 1); 75
77 insert into sys.args values (31628, 35, 'arg_2', 'geometry', 0, 0, 1, 2); 77 ! 76 insert into sys.args values (31625, 35, 'arg_2', 'mbr', 0, 0, 1, 2); 76
78 insert into sys.functions values (36, 'mbr_above', 'mbrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 78 77 insert into sys.functions values (36, 'mbr_above', 'mbrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 77
79 insert into sys.args values (31629, 36, 'res_0', 'boolean', 1, 0, 0, 0); 79 ! 78 insert into sys.args values (31626, 36, 'res_0', 'boolean', 1, 0, 0, 0); 78
80 insert into sys.args values (31630, 36, 'arg_1', 'mbr', 0, 0, 1, 1); 80 ! 79 insert into sys.args values (31627, 36, 'arg_1', 'geometry', 0, 0, 1, 1); 79
81 insert into sys.args values (31631, 36, 'arg_2', 'mbr', 0, 0, 1, 2); 81 ! 80 insert into sys.args values (31628, 36, 'arg_2', 'geometry', 0, 0, 1, 2); 80
82 insert into sys.functions values (37, 'mbr_below', 'mbrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 82 ! 81 insert into sys.functions values (37, 'mbr_above', 'mbrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 81
83 insert into sys.args values (31632, 37, 'res_0', 'boolean', 1, 0, 0, 0); 83 ! 82 insert into sys.args values (31629, 37, 'res_0', 'boolean', 1, 0, 0, 0); 82
84 insert into sys.args values (31633, 37, 'arg_1', 'geometry', 0, 0, 1, 1); 84 ! 83 insert into sys.args values (31630, 37, 'arg_1', 'mbr', 0, 0, 1, 1); 83
85 insert into sys.args values (31634, 37, 'arg_2', 'geometry', 0, 0, 1, 2); 85 ! 84 insert into sys.args values (31631, 37, 'arg_2', 'mbr', 0, 0, 1, 2); 84
86 insert into sys.functions values (38, 'mbr_below', 'mbrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 86 85 insert into sys.functions values (38, 'mbr_below', 'mbrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 85
87 insert into sys.args values (31635, 38, 'res_0', 'boolean', 1, 0, 0, 0); 87 ! 86 insert into sys.args values (31632, 38, 'res_0', 'boolean', 1, 0, 0, 0); 86
88 insert into sys.args values (31636, 38, 'arg_1', 'mbr', 0, 0, 1, 1); 88 ! 87 insert into sys.args values (31633, 38, 'arg_1', 'geometry', 0, 0, 1, 1); 87
89 insert into sys.args values (31637, 38, 'arg_2', 'mbr', 0, 0, 1, 2); 89 ! 88 insert into sys.args values (31634, 38, 'arg_2', 'geometry', 0, 0, 1, 2); 88
90 insert into sys.functions values (39, 'mbr_right', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 90 ! 89 insert into sys.functions values (39, 'mbr_below', 'mbrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 89
91 insert into sys.args values (31638, 39, 'res_0', 'boolean', 1, 0, 0, 0); 91 ! 90 insert into sys.args values (31635, 39, 'res_0', 'boolean', 1, 0, 0, 0); 90
92 insert into sys.args values (31639, 39, 'arg_1', 'geometry', 0, 0, 1, 1); 92 ! 91 insert into sys.args values (31636, 39, 'arg_1', 'mbr', 0, 0, 1, 1); 91
93 insert into sys.args values (31640, 39, 'arg_2', 'geometry', 0, 0, 1, 2); 93 ! 92 insert into sys.args values (31637, 39, 'arg_2', 'mbr', 0, 0, 1, 2); 92
94 insert into sys.functions values (40, 'mbr_right', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 94 93 insert into sys.functions values (40, 'mbr_right', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 93
95 insert into sys.args values (31641, 40, 'res_0', 'boolean', 1, 0, 0, 0); 95 ! 94 insert into sys.args values (31638, 40, 'res_0', 'boolean', 1, 0, 0, 0); 94
96 insert into sys.args values (31642, 40, 'arg_1', 'mbr', 0, 0, 1, 1); 96 ! 95 insert into sys.args values (31639, 40, 'arg_1', 'geometry', 0, 0, 1, 1); 95
97 insert into sys.args values (31643, 40, 'arg_2', 'mbr', 0, 0, 1, 2); 97 ! 96 insert into sys.args values (31640, 40, 'arg_2', 'geometry', 0, 0, 1, 2); 96
98 insert into sys.functions values (41, 'mbr_left', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 98 ! 97 insert into sys.functions values (41, 'mbr_right', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 97
99 insert into sys.args values (31644, 41, 'res_0', 'boolean', 1, 0, 0, 0); 99 ! 98 insert into sys.args values (31641, 41, 'res_0', 'boolean', 1, 0, 0, 0); 98
100 insert into sys.args values (31645, 41, 'arg_1', 'geometry', 0, 0, 1, 1); 100 ! 99 insert into sys.args values (31642, 41, 'arg_1', 'mbr', 0, 0, 1, 1); 99
101 insert into sys.args values (31646, 41, 'arg_2', 'geometry', 0, 0, 1, 2); 101 ! 100 insert into sys.args values (31643, 41, 'arg_2', 'mbr', 0, 0, 1, 2); 100
102 insert into sys.functions values (42, 'mbr_left', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 102 101 insert into sys.functions values (42, 'mbr_left', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 101
103 insert into sys.args values (31647, 42, 'res_0', 'boolean', 1, 0, 0, 0); 103 ! 102 insert into sys.args values (31644, 42, 'res_0', 'boolean', 1, 0, 0, 0); 102
104 insert into sys.args values (31648, 42, 'arg_1', 'mbr', 0, 0, 1, 1); 104 ! 103 insert into sys.args values (31645, 42, 'arg_1', 'geometry', 0, 0, 1, 1); 103
105 insert into sys.args values (31649, 42, 'arg_2', 'mbr', 0, 0, 1, 2); 105 ! 104 insert into sys.args values (31646, 42, 'arg_2', 'geometry', 0, 0, 1, 2); 104
106 insert into sys.functions values (43, 'mbr_overlap_or_above', 'mbrOverlapOrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 106 ! 105 insert into sys.functions values (43, 'mbr_left', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 105
107 insert into sys.args values (31650, 43, 'res_0', 'boolean', 1, 0, 0, 0); 107 ! 106 insert into sys.args values (31647, 43, 'res_0', 'boolean', 1, 0, 0, 0); 106
108 insert into sys.args values (31651, 43, 'arg_1', 'geometry', 0, 0, 1, 1); 108 ! 107 insert into sys.args values (31648, 43, 'arg_1', 'mbr', 0, 0, 1, 1); 107
109 insert into sys.args values (31652, 43, 'arg_2', 'geometry', 0, 0, 1, 2); 109 ! 108 insert into sys.args values (31649, 43, 'arg_2', 'mbr', 0, 0, 1, 2); 108
110 insert into sys.functions values (44, 'mbr_overlap_or_above', 'mbrOverlapOrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 110 109 insert into sys.functions values (44, 'mbr_overlap_or_above', 'mbrOverlapOrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 109
111 insert into sys.args values (31653, 44, 'res_0', 'boolean', 1, 0, 0, 0); 111 ! 110 insert into sys.args values (31650, 44, 'res_0', 'boolean', 1, 0, 0, 0); 110
112 insert into sys.args values (31654, 44, 'arg_1', 'mbr', 0, 0, 1, 1); 112 ! 111 insert into sys.args values (31651, 44, 'arg_1', 'geometry', 0, 0, 1, 1); 111
113 insert into sys.args values (31655, 44, 'arg_2', 'mbr', 0, 0, 1, 2); 113 ! 112 insert into sys.args values (31652, 44, 'arg_2', 'geometry', 0, 0, 1, 2); 112
114 insert into sys.functions values (45, 'mbr_overlap_or_below', 'mbrOverlapOrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 114 ! 113 insert into sys.functions values (45, 'mbr_overlap_or_above', 'mbrOverlapOrAbove', 'geom', 0, 1, false, false, false, 2000, true, true); 113
115 insert into sys.args values (31656, 45, 'res_0', 'boolean', 1, 0, 0, 0); 115 ! 114 insert into sys.args values (31653, 45, 'res_0', 'boolean', 1, 0, 0, 0); 114
116 insert into sys.args values (31657, 45, 'arg_1', 'geometry', 0, 0, 1, 1); 116 ! 115 insert into sys.args values (31654, 45, 'arg_1', 'mbr', 0, 0, 1, 1); 115
117 insert into sys.args values (31658, 45, 'arg_2', 'geometry', 0, 0, 1, 2); 117 ! 116 insert into sys.args values (31655, 45, 'arg_2', 'mbr', 0, 0, 1, 2); 116
118 insert into sys.functions values (46, 'mbr_overlap_or_below', 'mbrOverlapOrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 118 117 insert into sys.functions values (46, 'mbr_overlap_or_below', 'mbrOverlapOrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 117
119 insert into sys.args values (31659, 46, 'res_0', 'boolean', 1, 0, 0, 0); 119 ! 118 insert into sys.args values (31656, 46, 'res_0', 'boolean', 1, 0, 0, 0); 118
120 insert into sys.args values (31660, 46, 'arg_1', 'mbr', 0, 0, 1, 1); 120 ! 119 insert into sys.args values (31657, 46, 'arg_1', 'geometry', 0, 0, 1, 1); 119
121 insert into sys.args values (31661, 46, 'arg_2', 'mbr', 0, 0, 1, 2); 121 ! 120 insert into sys.args values (31658, 46, 'arg_2', 'geometry', 0, 0, 1, 2); 120
122 insert into sys.functions values (47, 'mbr_overlap_or_right', 'mbrOverlapOrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 122 ! 121 insert into sys.functions values (47, 'mbr_overlap_or_below', 'mbrOverlapOrBelow', 'geom', 0, 1, false, false, false, 2000, true, true); 121
123 insert into sys.args values (31662, 47, 'res_0', 'boolean', 1, 0, 0, 0); 123 ! 122 insert into sys.args values (31659, 47, 'res_0', 'boolean', 1, 0, 0, 0); 122
124 insert into sys.args values (31663, 47, 'arg_1', 'geometry', 0, 0, 1, 1); 124 ! 123 insert into sys.args values (31660, 47, 'arg_1', 'mbr', 0, 0, 1, 1); 123
125 insert into sys.args values (31664, 47, 'arg_2', 'geometry', 0, 0, 1, 2); 125 ! 124 insert into sys.args values (31661, 47, 'arg_2', 'mbr', 0, 0, 1, 2); 124
126 insert into sys.functions values (48, 'mbr_overlap_or_right', 'mbrOverlapOrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 126 125 insert into sys.functions values (48, 'mbr_overlap_or_right', 'mbrOverlapOrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 125
127 insert into sys.args values (31665, 48, 'res_0', 'boolean', 1, 0, 0, 0); 127 ! 126 insert into sys.args values (31662, 48, 'res_0', 'boolean', 1, 0, 0, 0); 126
128 insert into sys.args values (31666, 48, 'arg_1', 'mbr', 0, 0, 1, 1); 128 ! 127 insert into sys.args values (31663, 48, 'arg_1', 'geometry', 0, 0, 1, 1); 127
129 insert into sys.args values (31667, 48, 'arg_2', 'mbr', 0, 0, 1, 2); 129 ! 128 insert into sys.args values (31664, 48, 'arg_2', 'geometry', 0, 0, 1, 2); 128
130 insert into sys.functions values (49, 'mbr_overlap_or_left', 'mbrOverlapOrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 130 ! 129 insert into sys.functions values (49, 'mbr_overlap_or_right', 'mbrOverlapOrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 129
131 insert into sys.args values (31668, 49, 'res_0', 'boolean', 1, 0, 0, 0); 131 ! 130 insert into sys.args values (31665, 49, 'res_0', 'boolean', 1, 0, 0, 0); 130
132 insert into sys.args values (31669, 49, 'arg_1', 'geometry', 0, 0, 1, 1); 132 ! 131 insert into sys.args values (31666, 49, 'arg_1', 'mbr', 0, 0, 1, 1); 131
133 insert into sys.args values (31670, 49, 'arg_2', 'geometry', 0, 0, 1, 2); 133 ! 132 insert into sys.args values (31667, 49, 'arg_2', 'mbr', 0, 0, 1, 2); 132
134 insert into sys.functions values (50, 'mbr_overlap_or_left', 'mbrOverlapOrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 134 133 insert into sys.functions values (50, 'mbr_overlap_or_left', 'mbrOverlapOrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 133
135 insert into sys.args values (31671, 50, 'res_0', 'boolean', 1, 0, 0, 0); 135 ! 134 insert into sys.args values (31668, 50, 'res_0', 'boolean', 1, 0, 0, 0); 134
136 insert into sys.args values (31672, 50, 'arg_1', 'mbr', 0, 0, 1, 1); 136 ! 135 insert into sys.args values (31669, 50, 'arg_1', 'geometry', 0, 0, 1, 1); 135
137 insert into sys.args values (31673, 50, 'arg_2', 'mbr', 0, 0, 1, 2); 137 ! 136 insert into sys.args values (31670, 50, 'arg_2', 'geometry', 0, 0, 1, 2); 136
138 insert into sys.functions values (51, 'mbr_contains', 'mbrContains', 'geom', 0, 1, false, false, false, 2000, true, true); 138 ! 137 insert into sys.functions values (51, 'mbr_overlap_or_left', 'mbrOverlapOrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 137
139 insert into sys.args values (31674, 51, 'res_0', 'boolean', 1, 0, 0, 0); 139 ! 138 insert into sys.args values (31671, 51, 'res_0', 'boolean', 1, 0, 0, 0); 138
140 insert into sys.args values (31675, 51, 'arg_1', 'geometry', 0, 0, 1, 1); 140 ! 139 insert into sys.args values (31672, 51, 'arg_1', 'mbr', 0, 0, 1, 1); 139
141 insert into sys.args values (31676, 51, 'arg_2', 'geometry', 0, 0, 1, 2); 141 ! 140 insert into sys.args values (31673, 51, 'arg_2', 'mbr', 0, 0, 1, 2); 140
142 insert into sys.functions values (52, 'mbr_contains', 'mbrContains', 'geom', 0, 1, false, false, false, 2000, true, true); 142 141 insert into sys.functions values (52, 'mbr_contains', 'mbrContains', 'geom', 0, 1, false, false, false, 2000, true, true); 141
143 insert into sys.args values (31677, 52, 'res_0', 'boolean', 1, 0, 0, 0); 143 ! 142 insert into sys.args values (31674, 52, 'res_0', 'boolean', 1, 0, 0, 0); 142
144 insert into sys.args values (31678, 52, 'arg_1', 'mbr', 0, 0, 1, 1); 144 ! 143 insert into sys.args values (31675, 52, 'arg_1', 'geometry', 0, 0, 1, 1); 143
145 insert into sys.args values (31679, 52, 'arg_2', 'mbr', 0, 0, 1, 2); 145 ! 144 insert into sys.args values (31676, 52, 'arg_2', 'geometry', 0, 0, 1, 2); 144
146 insert into sys.functions values (53, 'mbr_contained', 'mbrContained', 'geom', 0, 1, false, false, false, 2000, true, true); 146 ! 145 insert into sys.functions values (53, 'mbr_contains', 'mbrContains', 'geom', 0, 1, false, false, false, 2000, true, true); 145
147 insert into sys.args values (31680, 53, 'res_0', 'boolean', 1, 0, 0, 0); 147 ! 146 insert into sys.args values (31677, 53, 'res_0', 'boolean', 1, 0, 0, 0); 146
148 insert into sys.args values (31681, 53, 'arg_1', 'geometry', 0, 0, 1, 1); 148 ! 147 insert into sys.args values (31678, 53, 'arg_1', 'mbr', 0, 0, 1, 1); 147
149 insert into sys.args values (31682, 53, 'arg_2', 'geometry', 0, 0, 1, 2); 149 ! 148 insert into sys.args values (31679, 53, 'arg_2', 'mbr', 0, 0, 1, 2); 148
150 insert into sys.functions values (54, 'mbr_contained', 'mbrContained', 'geom', 0, 1, false, false, false, 2000, true, true); 150 149 insert into sys.functions values (54, 'mbr_contained', 'mbrContained', 'geom', 0, 1, false, false, false, 2000, true, true); 149
151 insert into sys.args values (31683, 54, 'res_0', 'boolean', 1, 0, 0, 0); 151 ! 150 insert into sys.args values (31680, 54, 'res_0', 'boolean', 1, 0, 0, 0); 150
152 insert into sys.args values (31684, 54, 'arg_1', 'mbr', 0, 0, 1, 1); 152 ! 151 insert into sys.args values (31681, 54, 'arg_1', 'geometry', 0, 0, 1, 1); 151
153 insert into sys.args values (31685, 54, 'arg_2', 'mbr', 0, 0, 1, 2); 153 ! 152 insert into sys.args values (31682, 54, 'arg_2', 'geometry', 0, 0, 1, 2); 152
154 insert into sys.functions values (55, 'mbr_equal', 'mbrEqual', 'geom', 0, 1, false, false, false, 2000, true, true); 154 ! 153 insert into sys.functions values (55, 'mbr_contained', 'mbrContained', 'geom', 0, 1, false, false, false, 2000, true, true); 153
155 insert into sys.args values (31686, 55, 'res_0', 'boolean', 1, 0, 0, 0); 155 ! 154 insert into sys.args values (31683, 55, 'res_0', 'boolean', 1, 0, 0, 0); 154
156 insert into sys.args values (31687, 55, 'arg_1', 'geometry', 0, 0, 1, 1); 156 ! 155 insert into sys.args values (31684, 55, 'arg_1', 'mbr', 0, 0, 1, 1); 155
157 insert into sys.args values (31688, 55, 'arg_2', 'geometry', 0, 0, 1, 2); 157 ! 156 insert into sys.args values (31685, 55, 'arg_2', 'mbr', 0, 0, 1, 2); 156
158 insert into sys.functions values (56, 'mbr_equal', 'mbrEqual', 'geom', 0, 1, false, false, false, 2000, true, true); 158 157 insert into sys.functions values (56, 'mbr_equal', 'mbrEqual', 'geom', 0, 1, false, false, false, 2000, true, true); 157
159 insert into sys.args values (31689, 56, 'res_0', 'boolean', 1, 0, 0, 0); 159 ! 158 insert into sys.args values (31686, 56, 'res_0', 'boolean', 1, 0, 0, 0); 158
160 insert into sys.args values (31690, 56, 'arg_1', 'mbr', 0, 0, 1, 1); 160 ! 159 insert into sys.args values (31687, 56, 'arg_1', 'geometry', 0, 0, 1, 1); 159
161 insert into sys.args values (31691, 56, 'arg_2', 'mbr', 0, 0, 1, 2); 161 ! 160 insert into sys.args values (31688, 56, 'arg_2', 'geometry', 0, 0, 1, 2); 160
162 insert into sys.functions values (57, 'mbr_distance', 'mbrDistance', 'geom', 0, 1, false, false, false, 2000, true, true); 162 ! 161 insert into sys.functions values (57, 'mbr_equal', 'mbrEqual', 'geom', 0, 1, false, false, false, 2000, true, true); 161
163 insert into sys.args values (31692, 57, 'res_0', 'double', 53, 0, 0, 0); 163 ! 162 insert into sys.args values (31689, 57, 'res_0', 'boolean', 1, 0, 0, 0); 162
164 insert into sys.args values (31693, 57, 'arg_1', 'geometry', 0, 0, 1, 1); 164 ! 163 insert into sys.args values (31690, 57, 'arg_1', 'mbr', 0, 0, 1, 1); 163
165 insert into sys.args values (31694, 57, 'arg_2', 'geometry', 0, 0, 1, 2); 165 ! 164 insert into sys.args values (31691, 57, 'arg_2', 'mbr', 0, 0, 1, 2); 164
166 insert into sys.functions values (58, 'mbr_distance', 'mbrDistance', 'geom', 0, 1, false, false, false, 2000, true, true); 166 165 insert into sys.functions values (58, 'mbr_distance', 'mbrDistance', 'geom', 0, 1, false, false, false, 2000, true, true); 165
167 insert into sys.args values (31695, 58, 'res_0', 'double', 53, 0, 0, 0); 167 ! 166 insert into sys.args values (31692, 58, 'res_0', 'double', 53, 0, 0, 0); 166
168 insert into sys.args values (31696, 58, 'arg_1', 'mbr', 0, 0, 1, 1); 168 ! 167 insert into sys.args values (31693, 58, 'arg_1', 'geometry', 0, 0, 1, 1); 167
169 insert into sys.args values (31697, 58, 'arg_2', 'mbr', 0, 0, 1, 2); 169 ! 168 insert into sys.args values (31694, 58, 'arg_2', 'geometry', 0, 0, 1, 2); 168
170 insert into sys.functions values (59, 'left_shift', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 170 ! 169 insert into sys.functions values (59, 'mbr_distance', 'mbrDistance', 'geom', 0, 1, false, false, false, 2000, true, true); 169
171 insert into sys.args values (31698, 59, 'res_0', 'boolean', 1, 0, 0, 0); 171 ! 170 insert into sys.args values (31695, 59, 'res_0', 'double', 53, 0, 0, 0); 170
172 insert into sys.args values (31699, 59, 'arg_1', 'geometry', 0, 0, 1, 1); 172 ! 171 insert into sys.args values (31696, 59, 'arg_1', 'mbr', 0, 0, 1, 1); 171
173 insert into sys.args values (31700, 59, 'arg_2', 'geometry', 0, 0, 1, 2); 173 ! 172 insert into sys.args values (31697, 59, 'arg_2', 'mbr', 0, 0, 1, 2); 172
174 insert into sys.functions values (60, 'left_shift', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 174 173 insert into sys.functions values (60, 'left_shift', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 173
175 insert into sys.args values (31701, 60, 'res_0', 'boolean', 1, 0, 0, 0); 175 ! 174 insert into sys.args values (31698, 60, 'res_0', 'boolean', 1, 0, 0, 0); 174
176 insert into sys.args values (31702, 60, 'arg_1', 'mbr', 0, 0, 1, 1); 176 ! 175 insert into sys.args values (31699, 60, 'arg_1', 'geometry', 0, 0, 1, 1); 175
177 insert into sys.args values (31703, 60, 'arg_2', 'mbr', 0, 0, 1, 2); 177 ! 176 insert into sys.args values (31700, 60, 'arg_2', 'geometry', 0, 0, 1, 2); 176
178 insert into sys.functions values (61, 'right_shift', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 178 ! 177 insert into sys.functions values (61, 'left_shift', 'mbrLeft', 'geom', 0, 1, false, false, false, 2000, true, true); 177
179 insert into sys.args values (31704, 61, 'res_0', 'boolean', 1, 0, 0, 0); 179 ! 178 insert into sys.args values (31701, 61, 'res_0', 'boolean', 1, 0, 0, 0); 178
180 insert into sys.args values (31705, 61, 'arg_1', 'geometry', 0, 0, 1, 1); 180 ! 179 insert into sys.args values (31702, 61, 'arg_1', 'mbr', 0, 0, 1, 1); 179
181 insert into sys.args values (31706, 61, 'arg_2', 'geometry', 0, 0, 1, 2); 181 ! 180 insert into sys.args values (31703, 61, 'arg_2', 'mbr', 0, 0, 1, 2); 180
182 insert into sys.functions values (62, 'right_shift', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 182 181 insert into sys.functions values (62, 'right_shift', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 181
183 insert into sys.args values (31707, 62, 'res_0', 'boolean', 1, 0, 0, 0); 183 ! 182 insert into sys.args values (31704, 62, 'res_0', 'boolean', 1, 0, 0, 0); 182
184 insert into sys.args values (31708, 62, 'arg_1', 'mbr', 0, 0, 1, 1); 184 ! 183 insert into sys.args values (31705, 62, 'arg_1', 'geometry', 0, 0, 1, 1); 183
185 insert into sys.args values (31709, 62, 'arg_2', 'mbr', 0, 0, 1, 2); 185 ! 184 insert into sys.args values (31706, 62, 'arg_2', 'geometry', 0, 0, 1, 2); 184
186 insert into sys.functions values (63, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 186 ! 185 insert into sys.functions values (63, 'right_shift', 'mbrRight', 'geom', 0, 1, false, false, false, 2000, true, true); 185
187 insert into sys.args values (31710, 63, 'res_0', 'tinyint', 8, 0, 0, 0); 187 ! 186 insert into sys.args values (31707, 63, 'res_0', 'boolean', 1, 0, 0, 0); 186
188 insert into sys.args values (31711, 63, 'arg_1', 'any', 0, 0, 1, 1); 188 ! 187 insert into sys.args values (31708, 63, 'arg_1', 'mbr', 0, 0, 1, 1); 187
+ 188 insert into sys.args values (31709, 63, 'arg_2', 'mbr', 0, 0, 1, 2); 188
189 insert into sys.functions values (64, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 189 189 insert into sys.functions values (64, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 189
190 insert into sys.args values (31712, 64, 'res_0', 'smallint', 16, 0, 0, 0); 190 ! 190 insert into sys.args values (31710, 64, 'res_0', 'tinyint', 8, 0, 0, 0); 190
191 insert into sys.args values (31713, 64, 'arg_1', 'any', 0, 0, 1, 1); 191 ! 191 insert into sys.args values (31711, 64, 'arg_1', 'any', 0, 0, 1, 1); 191
192 insert into sys.functions values (65, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 192 192 insert into sys.functions values (65, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 192
193 insert into sys.args values (31714, 65, 'res_0', 'int', 32, 0, 0, 0); 193 ! 193 insert into sys.args values (31712, 65, 'res_0', 'smallint', 16, 0, 0, 0); 193
194 insert into sys.args values (31715, 65, 'arg_1', 'any', 0, 0, 1, 1); 194 ! 194 insert into sys.args values (31713, 65, 'arg_1', 'any', 0, 0, 1, 1); 194
195 insert into sys.functions values (66, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 195 195 insert into sys.functions values (66, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 195
196 insert into sys.args values (31716, 66, 'res_0', 'bigint', 64, 0, 0, 0); 196 ! 196 insert into sys.args values (31714, 66, 'res_0', 'int', 32, 0, 0, 0); 196
197 insert into sys.args values (31717, 66, 'arg_1', 'any', 0, 0, 1, 1); 197 ! 197 insert into sys.args values (31715, 66, 'arg_1', 'any', 0, 0, 1, 1); 197
198 insert into sys.functions values (67, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 198 198 insert into sys.functions values (67, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 198
199 insert into sys.args values (31718, 67, 'res_0', 'hugeint', 128, 0, 0, 0); 199 ! 199 insert into sys.args values (31716, 67, 'res_0', 'bigint', 64, 0, 0, 0); 199
200 insert into sys.args values (31719, 67, 'arg_1', 'any', 0, 0, 1, 1); 200 ! 200 insert into sys.args values (31717, 67, 'arg_1', 'any', 0, 0, 1, 1); 200
201 insert into sys.functions values (68, 'not_unique', 'not_unique', 'aggr', 0, 3, false, false, false, 2000, true, true); 201 ! 201 insert into sys.functions values (68, 'grouping', '', '', 0, 3, false, false, false, 2000, true, true); 201
202 insert into sys.args values (31720, 68, 'res_0', 'boolean', 1, 0, 0, 0); 202 ! 202 insert into sys.args values (31718, 68, 'res_0', 'hugeint', 128, 0, 0, 0); 202
203 insert into sys.args values (31721, 68, 'arg_1', 'oid', 63, 0, 1, 1); 203 ! 203 insert into sys.args values (31719, 68, 'arg_1', 'any', 0, 0, 1, 1); 203
204 insert into sys.functions values (69, 'hash', 'hash', 'mkey', 0, 1, false, false, false, 2000, true, true); 204 ! 204 insert into sys.functions values (69, 'not_unique', 'not_unique', 'aggr', 0, 3, false, false, false, 2000, true, true); 204
205 insert into sys.args values (31722, 69, 'res_0', 'bigint', 64, 0, 0, 0); 205 ! 205 insert into sys.args values (31720, 69, 'res_0', 'boolean', 1, 0, 0, 0); 205
206 insert into sys.args values (31723, 69, 'arg_1', 'any', 0, 0, 1, 1); 206 ! 206 insert into sys.args values (31721, 69, 'arg_1', 'oid', 63, 0, 1, 1); 206
207 insert into sys.functions values (70, 'rotate_xor_hash', 'rotate_xor_hash', 'calc', 0, 1, false, false, false, 2000, true, true); 207 ! 207 insert into sys.functions values (70, 'hash', 'hash', 'mkey', 0, 1, false, false, false, 2000, true, true); 207
208 insert into sys.args values (31724, 70, 'res_0', 'bigint', 64, 0, 0, 0); 208 ! 208 insert into sys.args values (31722, 70, 'res_0', 'bigint', 64, 0, 0, 0); 208
209 insert into sys.args values (31725, 70, 'arg_1', 'bigint', 64, 0, 1, 1); 209 ! 209 insert into sys.args values (31723, 70, 'arg_1', 'any', 0, 0, 1, 1); 209
210 insert into sys.args values (31726, 70, 'arg_2', 'int', 32, 0, 1, 2); 210 ! 210 insert into sys.functions values (71, 'rotate_xor_hash', 'rotate_xor_hash', 'calc', 0, 1, false, false, false, 2000, true, true); 210
211 insert into sys.args values (31727, 70, 'arg_3', 'any', 0, 0, 1, 3); 211 ! 211 insert into sys.args values (31724, 71, 'res_0', 'bigint', 64, 0, 0, 0); 211
212 insert into sys.functions values (71, '=', '=', 'calc', 0, 1, false, false, false, 2000, true, false); 212 ! 212 insert into sys.args values (31725, 71, 'arg_1', 'bigint', 64, 0, 1, 1); 212
213 insert into sys.args values (31728, 71, 'res_0', 'boolean', 1, 0, 0, 0); 213 ! 213 insert into sys.args values (31726, 71, 'arg_2', 'int', 32, 0, 1, 2); 213
214 insert into sys.args values (31729, 71, 'arg_1', 'any', 0, 0, 1, 1); 214 ! 214 insert into sys.args values (31727, 71, 'arg_3', 'any', 0, 0, 1, 3); 214
215 insert into sys.args values (31730, 71, 'arg_2', 'any', 0, 0, 1, 2); 215 ! 215 insert into sys.functions values (72, '=', '=', 'calc', 0, 1, false, false, false, 2000, true, false); 215
216 insert into sys.functions values (72, '<>', '!=', 'calc', 0, 1, false, false, false, 2000, true, false); 216 ! 216 insert into sys.args values (31728, 72, 'res_0', 'boolean', 1, 0, 0, 0); 216
217 insert into sys.args values (31731, 72, 'res_0', 'boolean', 1, 0, 0, 0); 217 ! 217 insert into sys.args values (31729, 72, 'arg_1', 'any', 0, 0, 1, 1); 217
218 insert into sys.args values (31732, 72, 'arg_1', 'any', 0, 0, 1, 1); 218 ! 218 insert into sys.args values (31730, 72, 'arg_2', 'any', 0, 0, 1, 2); 218
219 insert into sys.args values (31733, 72, 'arg_2', 'any', 0, 0, 1, 2); 219 ! 219 insert into sys.functions values (73, '<>', '!=', 'calc', 0, 1, false, false, false, 2000, true, false); 219
220 insert into sys.functions values (73, 'isnull', 'isnil', 'calc', 0, 1, false, false, false, 2000, true, true); 220 ! 220 insert into sys.args values (31731, 73, 'res_0', 'boolean', 1, 0, 0, 0); 220
221 insert into sys.args values (31734, 73, 'res_0', 'boolean', 1, 0, 0, 0); 221 ! 221 insert into sys.args values (31732, 73, 'arg_1', 'any', 0, 0, 1, 1); 221
222 insert into sys.args values (31735, 73, 'arg_1', 'any', 0, 0, 1, 1); 222 ! 222 insert into sys.args values (31733, 73, 'arg_2', 'any', 0, 0, 1, 2); 222
223 insert into sys.functions values (74, 'isnotnull', 'isnotnil', 'calc', 0, 1, false, false, false, 2000, true, true); 223 ! 223 insert into sys.functions values (74, 'isnull', 'isnil', 'calc', 0, 1, false, false, false, 2000, true, true); 223
224 insert into sys.args values (31736, 74, 'res_0', 'boolean', 1, 0, 0, 0); 224 ! 224 insert into sys.args values (31734, 74, 'res_0', 'boolean', 1, 0, 0, 0); 224
225 insert into sys.args values (31737, 74, 'arg_1', 'any', 0, 0, 1, 1); 225 ! 225 insert into sys.args values (31735, 74, 'arg_1', 'any', 0, 0, 1, 1); 225
226 insert into sys.functions values (75, '>', '>', 'calc', 0, 1, false, false, false, 2000, true, false); 226 ! 226 insert into sys.functions values (75, 'isnotnull', 'isnotnil', 'calc', 0, 1, false, false, false, 2000, true, true); 226
227 insert into sys.args values (31738, 75, 'res_0', 'boolean', 1, 0, 0, 0); 227 ! 227 insert into sys.args values (31736, 75, 'res_0', 'boolean', 1, 0, 0, 0); 227
228 insert into sys.args values (31739, 75, 'arg_1', 'any', 0, 0, 1, 1); 228 ! 228 insert into sys.args values (31737, 75, 'arg_1', 'any', 0, 0, 1, 1); 228
229 insert into sys.args values (31740, 75, 'arg_2', 'any', 0, 0, 1, 2); 229 - 229 insert into sys.functions values (76, '>', '>', 'calc', 0, 1, false, false, false, 2000, true, false); 229
230 insert into sys.functions values (76, '>=', '>=', 'calc', 0, 1, false, false, false, 2000, true, false); 230 -
231 insert into sys.args values (31741, 76, 'res_0', 'boolean', 1, 0, 0, 0); 231 ! 230 insert into sys.args values (31738, 76, 'res_0', 'boolean', 1, 0, 0, 0); 230
232 insert into sys.args values (31742, 76, 'arg_1', 'any', 0, 0, 1, 1); 232 ! 231 insert into sys.args values (31739, 76, 'arg_1', 'any', 0, 0, 1, 1); 231
233 insert into sys.args values (31743, 76, 'arg_2', 'any', 0, 0, 1, 2); 233 ! 232 insert into sys.args values (31740, 76, 'arg_2', 'any', 0, 0, 1, 2); 232
234 insert into sys.functions values (77, '<', '<', 'calc', 0, 1, false, false, false, 2000, true, false); 234 ! 233 insert into sys.functions values (77, '>=', '>=', 'calc', 0, 1, false, false, false, 2000, true, false); 233
235 insert into sys.args values (31744, 77, 'res_0', 'boolean', 1, 0, 0, 0); 235 ! 234 insert into sys.args values (31741, 77, 'res_0', 'boolean', 1, 0, 0, 0); 234
236 insert into sys.args values (31745, 77, 'arg_1', 'any', 0, 0, 1, 1); 236 ! 235 insert into sys.args values (31742, 77, 'arg_1', 'any', 0, 0, 1, 1); 235
237 insert into sys.args values (31746, 77, 'arg_2', 'any', 0, 0, 1, 2); 237 ! 236 insert into sys.args values (31743, 77, 'arg_2', 'any', 0, 0, 1, 2); 236
238 insert into sys.functions values (78, '<=', '<=', 'calc', 0, 1, false, false, false, 2000, true, false); 238 - 237 insert into sys.functions values (78, '<', '<', 'calc', 0, 1, false, false, false, 2000, true, false); 237
239 insert into sys.args values (31747, 78, 'res_0', 'boolean', 1, 0, 0, 0); 239 ! 238 insert into sys.args values (31744, 78, 'res_0', 'boolean', 1, 0, 0, 0); 238
240 insert into sys.args values (31748, 78, 'arg_1', 'any', 0, 0, 1, 1); 240 ! 239 insert into sys.args values (31745, 78, 'arg_1', 'any', 0, 0, 1, 1); 239
241 insert into sys.args values (31749, 78, 'arg_2', 'any', 0, 0, 1, 2); 241 ! 240 insert into sys.args values (31746, 78, 'arg_2', 'any', 0, 0, 1, 2); 240
242 insert into sys.functions values (79, 'between', 'between', 'calc', 0, 1, false, false, false, 2000, true, false); 242 ! 241 insert into sys.functions values (79, '<=', '<=', 'calc', 0, 1, false, false, false, 2000, true, false); 241
243 insert into sys.args values (31750, 79, 'res_0', 'boolean', 1, 0, 0, 0); 243 ! 242 insert into sys.args values (31747, 79, 'res_0', 'boolean', 1, 0, 0, 0); 242
+ 243 insert into sys.args values (31748, 79, 'arg_1', 'any', 0, 0, 1, 1); 243
244 insert into sys.args values (31751, 79, 'arg_1', 'any', 0, 0, 1, 1); 244 ! 244 insert into sys.args values (31749, 79, 'arg_2', 'any', 0, 0, 1, 2); 244
245 insert into sys.args values (31752, 79, 'arg_2', 'any', 0, 0, 1, 2); 245 ! 245 insert into sys.functions values (80, 'between', 'between', 'calc', 0, 1, false, false, false, 2000, true, false); 245
246 insert into sys.args values (31753, 79, 'arg_3', 'any', 0, 0, 1, 3); 246 ! 246 insert into sys.args values (31750, 80, 'res_0', 'boolean', 1, 0, 0, 0); 246
247 insert into sys.args values (31754, 79, 'arg_4', 'boolean', 1, 0, 1, 4); 247 ! 247 insert into sys.args values (31751, 80, 'arg_1', 'any', 0, 0, 1, 1); 247
248 insert into sys.args values (31755, 79, 'arg_5', 'boolean', 1, 0, 1, 5); 248 ! 248 insert into sys.args values (31752, 80, 'arg_2', 'any', 0, 0, 1, 2); 248
249 insert into sys.args values (31756, 79, 'arg_6', 'boolean', 1, 0, 1, 6); 249 ! 249 insert into sys.args values (31753, 80, 'arg_3', 'any', 0, 0, 1, 3); 249
250 insert into sys.args values (31757, 79, 'arg_7', 'boolean', 1, 0, 1, 7); 250 ! 250 insert into sys.args values (31754, 80, 'arg_4', 'boolean', 1, 0, 1, 4); 250
251 insert into sys.args values (31758, 79, 'arg_8', 'boolean', 1, 0, 1, 8); 251 ! 251 insert into sys.args values (31755, 80, 'arg_5', 'boolean', 1, 0, 1, 5); 251
252 insert into sys.functions values (80, 'zero_or_one', 'zero_or_one', 'aggr', 0, 3, false, false, false, 2000, true, true); 252 ! 252 insert into sys.args values (31756, 80, 'arg_6', 'boolean', 1, 0, 1, 6); 252
253 insert into sys.args values (31759, 80, 'res_0', 'any', 0, 0, 0, 0); 253 ! 253 insert into sys.args values (31757, 80, 'arg_7', 'boolean', 1, 0, 1, 7); 253
254 insert into sys.args values (31760, 80, 'arg_1', 'any', 0, 0, 1, 1); 254 ! 254 insert into sys.args values (31758, 80, 'arg_8', 'boolean', 1, 0, 1, 8); 254
255 insert into sys.functions values (81, 'all', 'all', 'aggr', 0, 3, false, false, false, 2000, true, true); 255 ! 255 insert into sys.functions values (81, 'zero_or_one', 'zero_or_one', 'aggr', 0, 3, false, false, false, 2000, true, true); 255
256 insert into sys.args values (31761, 81, 'res_0', 'any', 0, 0, 0, 0); 256 ! 256 insert into sys.args values (31759, 81, 'res_0', 'any', 0, 0, 0, 0); 256
257 insert into sys.args values (31762, 81, 'arg_1', 'any', 0, 0, 1, 1); 257 ! 257 insert into sys.args values (31760, 81, 'arg_1', 'any', 0, 0, 1, 1); 257
258 insert into sys.functions values (82, 'null', 'null', 'aggr', 0, 3, false, false, false, 2000, true, true); 258 ! 258 insert into sys.functions values (82, 'all', 'all', 'aggr', 0, 3, false, false, false, 2000, true, true); 258
259 insert into sys.args values (31763, 82, 'res_0', 'boolean', 1, 0, 0, 0); 259 ! 259 insert into sys.args values (31761, 82, 'res_0', 'any', 0, 0, 0, 0); 259
260 insert into sys.args values (31764, 82, 'arg_1', 'any', 0, 0, 1, 1); 260 ! 260 insert into sys.args values (31762, 82, 'arg_1', 'any', 0, 0, 1, 1); 260
261 insert into sys.functions values (83, 'any', 'any', 'sql', 0, 1, false, false, false, 2000, true, true); 261 ! 261 insert into sys.functions values (83, 'null', 'null', 'aggr', 0, 3, false, false, false, 2000, true, true); 261
262 insert into sys.args values (31765, 83, 'res_0', 'boolean', 1, 0, 0, 0); 262 ! 262 insert into sys.args values (31763, 83, 'res_0', 'boolean', 1, 0, 0, 0); 262
263 insert into sys.args values (31766, 83, 'arg_1', 'boolean', 1, 0, 1, 1); 263 ! 263 insert into sys.args values (31764, 83, 'arg_1', 'any', 0, 0, 1, 1); 263
264 insert into sys.args values (31767, 83, 'arg_2', 'boolean', 1, 0, 1, 2); 264 ! 264 insert into sys.functions values (84, 'any', 'any', 'sql', 0, 1, false, false, false, 2000, true, true); 264
265 insert into sys.args values (31768, 83, 'arg_3', 'boolean', 1, 0, 1, 3); 265 ! 265 insert into sys.args values (31765, 84, 'res_0', 'boolean', 1, 0, 0, 0); 265
266 insert into sys.functions values (84, 'all', 'all', 'sql', 0, 1, false, false, false, 2000, true, true); 266 ! 266 insert into sys.args values (31766, 84, 'arg_1', 'boolean', 1, 0, 1, 1); 266
267 insert into sys.args values (31769, 84, 'res_0', 'boolean', 1, 0, 0, 0); 267 ! 267 insert into sys.args values (31767, 84, 'arg_2', 'boolean', 1, 0, 1, 2); 267
268 insert into sys.args values (31770, 84, 'arg_1', 'boolean', 1, 0, 1, 1); 268 ! 268 insert into sys.args values (31768, 84, 'arg_3', 'boolean', 1, 0, 1, 3); 268
269 insert into sys.args values (31771, 84, 'arg_2', 'boolean', 1, 0, 1, 2); 269 ! 269 insert into sys.functions values (85, 'all', 'all', 'sql', 0, 1, false, false, false, 2000, true, true); 269
270 insert into sys.args values (31772, 84, 'arg_3', 'boolean', 1, 0, 1, 3); 270 ! 270 insert into sys.args values (31769, 85, 'res_0', 'boolean', 1, 0, 0, 0); 270
271 insert into sys.functions values (85, 'anyequal', 'anyequal', 'aggr', 0, 3, false, false, false, 2000, true, true); 271 ! 271 insert into sys.args values (31770, 85, 'arg_1', 'boolean', 1, 0, 1, 1); 271
272 insert into sys.args values (31773, 85, 'res_0', 'boolean', 1, 0, 0, 0); 272 ! 272 insert into sys.args values (31771, 85, 'arg_2', 'boolean', 1, 0, 1, 2); 272
273 insert into sys.args values (31774, 85, 'arg_1', 'any', 0, 0, 1, 1); 273 ! 273 insert into sys.args values (31772, 85, 'arg_3', 'boolean', 1, 0, 1, 3); 273
274 insert into sys.functions values (86, 'allnotequal', 'allnotequal', 'aggr', 0, 3, false, false, false, 2000, true, true); 274 ! 274 insert into sys.functions values (86, 'anyequal', 'anyequal', 'aggr', 0, 3, false, false, false, 2000, true, true); 274
275 insert into sys.args values (31775, 86, 'res_0', 'boolean', 1, 0, 0, 0); 275 ! 275 insert into sys.args values (31773, 86, 'res_0', 'boolean', 1, 0, 0, 0); 275
276 insert into sys.args values (31776, 86, 'arg_1', 'any', 0, 0, 1, 1); 276 ! 276 insert into sys.args values (31774, 86, 'arg_1', 'any', 0, 0, 1, 1); 276
277 insert into sys.functions values (87, 'sql_anyequal', 'anyequal', 'aggr', 0, 1, false, false, false, 2000, true, true); 277 ! 277 insert into sys.functions values (87, 'allnotequal', 'allnotequal', 'aggr', 0, 3, false, false, false, 2000, true, true); 277
278 insert into sys.args values (31777, 87, 'res_0', 'boolean', 1, 0, 0, 0); 278 ! 278 insert into sys.args values (31775, 87, 'res_0', 'boolean', 1, 0, 0, 0); 278
279 insert into sys.args values (31778, 87, 'arg_1', 'any', 0, 0, 1, 1); 279 ! 279 insert into sys.args values (31776, 87, 'arg_1', 'any', 0, 0, 1, 1); 279
280 insert into sys.args values (31779, 87, 'arg_2', 'any', 0, 0, 1, 2); 280 ! 280 insert into sys.functions values (88, 'sql_anyequal', 'anyequal', 'aggr', 0, 1, false, false, false, 2000, true, true); 280
281 insert into sys.functions values (88, 'sql_not_anyequal', 'not_anyequal', 'aggr', 0, 1, false, false, false, 2000, true, true); 281 ! 281 insert into sys.args values (31777, 88, 'res_0', 'boolean', 1, 0, 0, 0); 281
282 insert into sys.args values (31780, 88, 'res_0', 'boolean', 1, 0, 0, 0); 282 ! 282 insert into sys.args values (31778, 88, 'arg_1', 'any', 0, 0, 1, 1); 282
283 insert into sys.args values (31781, 88, 'arg_1', 'any', 0, 0, 1, 1); 283 ! 283 insert into sys.args values (31779, 88, 'arg_2', 'any', 0, 0, 1, 2); 283
284 insert into sys.args values (31782, 88, 'arg_2', 'any', 0, 0, 1, 2); 284 ! 284 insert into sys.functions values (89, 'sql_not_anyequal', 'not_anyequal', 'aggr', 0, 1, false, false, false, 2000, true, true); 284
285 insert into sys.functions values (89, 'exist', 'exist', 'aggr', 0, 3, false, false, false, 2000, true, true); 285 ! 285 insert into sys.args values (31780, 89, 'res_0', 'boolean', 1, 0, 0, 0); 285
286 insert into sys.args values (31783, 89, 'res_0', 'boolean', 1, 0, 0, 0); 286 ! 286 insert into sys.args values (31781, 89, 'arg_1', 'any', 0, 0, 1, 1); 286
287 insert into sys.args values (31784, 89, 'arg_1', 'any', 0, 0, 1, 1); 287 ! 287 insert into sys.args values (31782, 89, 'arg_2', 'any', 0, 0, 1, 2); 287
288 insert into sys.functions values (90, 'not_exist', 'not_exist', 'aggr', 0, 3, false, false, false, 2000, true, true); 288 - 288 insert into sys.functions values (90, 'exist', 'exist', 'aggr', 0, 3, false, false, false, 2000, true, true); 288
289 insert into sys.args values (31785, 90, 'res_0', 'boolean', 1, 0, 0, 0); 289 ! 289 insert into sys.args values (31783, 90, 'res_0', 'boolean', 1, 0, 0, 0); 289
290 insert into sys.args values (31786, 90, 'arg_1', 'any', 0, 0, 1, 1); 290 ! 290 insert into sys.args values (31784, 90, 'arg_1', 'any', 0, 0, 1, 1); 290
291 insert into sys.functions values (91, 'sql_exists', 'exist', 'aggr', 0, 1, false, false, false, 2000, true, true); 291 ! 291 insert into sys.functions values (91, 'not_exist', 'not_exist', 'aggr', 0, 3, false, false, false, 2000, true, true); 291
292 insert into sys.args values (31787, 91, 'res_0', 'boolean', 1, 0, 0, 0); 292 ! 292 insert into sys.args values (31785, 91, 'res_0', 'boolean', 1, 0, 0, 0); 292
293 insert into sys.args values (31788, 91, 'arg_1', 'any', 0, 0, 1, 1); 293 ! 293 insert into sys.args values (31786, 91, 'arg_1', 'any', 0, 0, 1, 1); 293
294 insert into sys.functions values (92, 'sql_not_exists', 'not_exist', 'aggr', 0, 1, false, false, false, 2000, true, true); 294 - 294 insert into sys.functions values (92, 'sql_exists', 'exist', 'aggr', 0, 1, false, false, false, 2000, true, true); 294
295 insert into sys.args values (31789, 92, 'res_0', 'boolean', 1, 0, 0, 0); 295 ! 295 insert into sys.args values (31787, 92, 'res_0', 'boolean', 1, 0, 0, 0); 295
296 insert into sys.args values (31790, 92, 'arg_1', 'any', 0, 0, 1, 1); 296 ! 296 insert into sys.args values (31788, 92, 'arg_1', 'any', 0, 0, 1, 1); 296
297 insert into sys.functions values (93, 'identity', 'identity', 'calc', 0, 1, false, false, false, 2000, true, true); 297 ! 297 insert into sys.functions values (93, 'sql_not_exists', 'not_exist', 'aggr', 0, 1, false, false, false, 2000, true, true); 297
298 insert into sys.args values (31791, 93, 'res_0', 'oid', 63, 0, 0, 0); 298 ! 298 insert into sys.args values (31789, 93, 'res_0', 'boolean', 1, 0, 0, 0); 298
299 insert into sys.args values (31792, 93, 'arg_1', 'any', 0, 0, 1, 1); 299 ! 299 insert into sys.args values (31790, 93, 'arg_1', 'any', 0, 0, 1, 1); 299
300 insert into sys.functions values (94, 'rowid', 'identity', 'calc', 0, 1, false, false, false, 2000, true, true); 300 ! 300 insert into sys.functions values (94, 'identity', 'identity', 'calc', 0, 1, false, false, false, 2000, true, true); 300
301 insert into sys.args values (31793, 94, 'res_0', 'int', 32, 0, 0, 0); 301 ! 301 insert into sys.args values (31791, 94, 'res_0', 'oid', 63, 0, 0, 0); 301
302 insert into sys.args values (31794, 94, 'arg_1', 'any', 0, 0, 1, 1); 302 ! 302 insert into sys.args values (31792, 94, 'arg_1', 'any', 0, 0, 1, 1); 302
303 insert into sys.functions values (95, 'rowid', 'rowid', 'calc', 0, 1, false, false, false, 2000, true, true); 303 ! 303 insert into sys.functions values (95, 'rowid', 'identity', 'calc', 0, 1, false, false, false, 2000, true, true); 303
304 insert into sys.args values (31795, 95, 'res_0', 'oid', 63, 0, 0, 0); 304 ! 304 insert into sys.args values (31793, 95, 'res_0', 'int', 32, 0, 0, 0); 304
305 insert into sys.args values (31796, 95, 'arg_1', 'any', 0, 0, 1, 1); 305 ! 305 insert into sys.args values (31794, 95, 'arg_1', 'any', 0, 0, 1, 1); 305
306 insert into sys.args values (31797, 95, 'arg_2', 'varchar', 0, 0, 1, 2); 306 ! 306 insert into sys.functions values (96, 'rowid', 'rowid', 'calc', 0, 1, false, false, false, 2000, true, true); 306
307 insert into sys.args values (31798, 95, 'arg_3', 'varchar', 0, 0, 1, 3); 307 ! 307 insert into sys.args values (31795, 96, 'res_0', 'oid', 63, 0, 0, 0); 307
308 insert into sys.functions values (96, 'min', 'min', 'aggr', 0, 3, false, false, false, 2000, true, false); 308 ! 308 insert into sys.args values (31796, 96, 'arg_1', 'any', 0, 0, 1, 1); 308
309 insert into sys.args values (31799, 96, 'res_0', 'any', 0, 0, 0, 0); 309 ! 309 insert into sys.args values (31797, 96, 'arg_2', 'varchar', 0, 0, 1, 2); 309
310 insert into sys.args values (31800, 96, 'arg_1', 'any', 0, 0, 1, 1); 310 ! 310 insert into sys.args values (31798, 96, 'arg_3', 'varchar', 0, 0, 1, 3); 310
311 insert into sys.functions values (97, 'max', 'max', 'aggr', 0, 3, false, false, false, 2000, true, false); 311 ! 311 insert into sys.functions values (97, 'min', 'min', 'aggr', 0, 3, false, false, false, 2000, true, false); 311
312 insert into sys.args values (31801, 97, 'res_0', 'any', 0, 0, 0, 0); 312 ! 312 insert into sys.args values (31799, 97, 'res_0', 'any', 0, 0, 0, 0); 312
313 insert into sys.args values (31802, 97, 'arg_1', 'any', 0, 0, 1, 1); 313 ! 313 insert into sys.args values (31800, 97, 'arg_1', 'any', 0, 0, 1, 1); 313
314 insert into sys.functions values (98, 'sql_min', 'min', 'calc', 0, 1, false, false, false, 2000, true, false); 314 ! 314 insert into sys.functions values (98, 'max', 'max', 'aggr', 0, 3, false, false, false, 2000, true, false); 314
315 insert into sys.args values (31803, 98, 'res_0', 'any', 0, 0, 0, 0); 315 ! 315 insert into sys.args values (31801, 98, 'res_0', 'any', 0, 0, 0, 0); 315
316 insert into sys.args values (31804, 98, 'arg_1', 'any', 0, 0, 1, 1); 316 ! 316 insert into sys.args values (31802, 98, 'arg_1', 'any', 0, 0, 1, 1); 316
317 insert into sys.args values (31805, 98, 'arg_2', 'any', 0, 0, 1, 2); 317 ! 317 insert into sys.functions values (99, 'sql_min', 'min', 'calc', 0, 1, false, false, false, 2000, true, false); 317
318 insert into sys.functions values (99, 'sql_max', 'max', 'calc', 0, 1, false, false, false, 2000, true, false); 318 -
319 insert into sys.args values (31806, 99, 'res_0', 'any', 0, 0, 0, 0); 319 ! 318 insert into sys.args values (31803, 99, 'res_0', 'any', 0, 0, 0, 0); 318
320 insert into sys.args values (31807, 99, 'arg_1', 'any', 0, 0, 1, 1); 320 ! 319 insert into sys.args values (31804, 99, 'arg_1', 'any', 0, 0, 1, 1); 319
321 insert into sys.args values (31808, 99, 'arg_2', 'any', 0, 0, 1, 2); 321 ! 320 insert into sys.args values (31805, 99, 'arg_2', 'any', 0, 0, 1, 2); 320
322 insert into sys.functions values (100, 'least', 'min_no_nil', 'calc', 0, 1, false, false, false, 2000, true, true); 322 ! 321 insert into sys.functions values (100, 'sql_max', 'max', 'calc', 0, 1, false, false, false, 2000, true, false); 321
323 insert into sys.args values (31809, 100, 'res_0', 'any', 0, 0, 0, 0); 323 ! 322 insert into sys.args values (31806, 100, 'res_0', 'any', 0, 0, 0, 0); 322
324 insert into sys.args values (31810, 100, 'arg_1', 'any', 0, 0, 1, 1); 324 ! 323 insert into sys.args values (31807, 100, 'arg_1', 'any', 0, 0, 1, 1); 323
325 insert into sys.args values (31811, 100, 'arg_2', 'any', 0, 0, 1, 2); 325 ! 324 insert into sys.args values (31808, 100, 'arg_2', 'any', 0, 0, 1, 2); 324
326 insert into sys.functions values (101, 'greatest', 'max_no_nil', 'calc', 0, 1, false, false, false, 2000, true, true); 326 ! 325 insert into sys.functions values (101, 'least', 'min_no_nil', 'calc', 0, 1, false, false, false, 2000, true, true); 325
327 insert into sys.args values (31812, 101, 'res_0', 'any', 0, 0, 0, 0); 327 ! 326 insert into sys.args values (31809, 101, 'res_0', 'any', 0, 0, 0, 0); 326
328 insert into sys.args values (31813, 101, 'arg_1', 'any', 0, 0, 1, 1); 328 ! 327 insert into sys.args values (31810, 101, 'arg_1', 'any', 0, 0, 1, 1); 327
329 insert into sys.args values (31814, 101, 'arg_2', 'any', 0, 0, 1, 2); 329 ! 328 insert into sys.args values (31811, 101, 'arg_2', 'any', 0, 0, 1, 2); 328
330 insert into sys.functions values (102, 'ifthenelse', 'ifthenelse', 'calc', 0, 1, false, false, false, 2000, true, true); 330 ! 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 (31812, 102, 'res_0', 'any', 0, 0, 0, 0); 330
331 insert into sys.args values (31815, 102, 'res_0', 'any', 0, 0, 0, 0); 331 ! 331 insert into sys.args values (31813, 102, 'arg_1', 'any', 0, 0, 1, 1); 331
332 insert into sys.args values (31816, 102, 'arg_1', 'boolean', 1, 0, 1, 1); 332 ! 332 insert into sys.args values (31814, 102, 'arg_2', 'any', 0, 0, 1, 2); 332
333 insert into sys.args values (31817, 102, 'arg_2', 'any', 0, 0, 1, 2); 333 ! 333 insert into sys.functions values (103, 'ifthenelse', 'ifthenelse', 'calc', 0, 1, false, false, false, 2000, true, true); 333
334 insert into sys.args values (31818, 102, 'arg_3', 'any', 0, 0, 1, 3); 334 ! 334 insert into sys.args values (31815, 103, 'res_0', 'any', 0, 0, 0, 0); 334
335 insert into sys.functions values (103, 'nullif', '', '', 0, 1, false, false, false, 2000, true, true); 335 ! 335 insert into sys.args values (31816, 103, 'arg_1', 'boolean', 1, 0, 1, 1); 335
336 insert into sys.args values (31819, 103, 'res_0', 'any', 0, 0, 0, 0); 336 ! 336 insert into sys.args values (31817, 103, 'arg_2', 'any', 0, 0, 1, 2); 336
337 insert into sys.args values (31820, 103, 'arg_1', 'any', 0, 0, 1, 1); 337 ! 337 insert into sys.args values (31818, 103, 'arg_3', 'any', 0, 0, 1, 3); 337
338 insert into sys.args values (31821, 103, 'arg_2', 'any', 0, 0, 1, 2); 338 ! 338 insert into sys.functions values (104, 'nullif', '', '', 0, 1, false, false, false, 2000, true, true); 338
339 insert into sys.functions values (104, 'coalesce', '', '', 0, 1, false, false, false, 2000, true, true); 339 ! 339 insert into sys.args values (31819, 104, 'res_0', 'any', 0, 0, 0, 0); 339
340 insert into sys.args values (31822, 104, 'res_0', 'any', 0, 0, 0, 0); 340 ! 340 insert into sys.args values (31820, 104, 'arg_1', 'any', 0, 0, 1, 1); 340
341 insert into sys.args values (31823, 104, 'arg_1', 'any', 0, 0, 1, 1); 341 ! 341 insert into sys.args values (31821, 104, 'arg_2', 'any', 0, 0, 1, 2); 341
342 insert into sys.args values (31824, 104, 'arg_2', 'any', 0, 0, 1, 2); 342 ! 342 insert into sys.functions values (105, 'coalesce', '', '', 0, 1, false, false, false, 2000, true, true); 342
343 insert into sys.functions values (105, 'star', '', '', 0, 1, false, false, false, 2000, true, true); 343 ! 343 insert into sys.args values (31822, 105, 'res_0', 'any', 0, 0, 0, 0); 343
344 insert into sys.args values (31825, 105, 'res_0', 'any', 0, 0, 0, 0); 344 ! 344 insert into sys.args values (31823, 105, 'arg_1', 'any', 0, 0, 1, 1); 344
345 insert into sys.functions values (106, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 345 ! 345 insert into sys.args values (31824, 105, 'arg_2', 'any', 0, 0, 1, 2); 345
346 insert into sys.args values (31826, 106, 'res_0', 'hugeint', 128, 0, 0, 0); 346 ! 346 insert into sys.functions values (106, 'star', '', '', 0, 1, false, false, false, 2000, true, true); 346
347 insert into sys.args values (31827, 106, 'arg_1', 'tinyint', 8, 0, 1, 1); 347 ! 347 insert into sys.args values (31825, 106, 'res_0', 'any', 0, 0, 0, 0); 347
348 insert into sys.functions values (107, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 348 348 insert into sys.functions values (107, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 348
349 insert into sys.args values (31828, 107, 'res_0', 'hugeint', 128, 0, 0, 0); 349 ! 349 insert into sys.args values (31826, 107, 'res_0', 'hugeint', 128, 0, 0, 0); 349
350 insert into sys.args values (31829, 107, 'arg_1', 'smallint', 16, 0, 1, 1); 350 ! 350 insert into sys.args values (31827, 107, 'arg_1', 'tinyint', 8, 0, 1, 1); 350
351 insert into sys.functions values (108, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 351 351 insert into sys.functions values (108, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 351
352 insert into sys.args values (31830, 108, 'res_0', 'hugeint', 128, 0, 0, 0); 352 ! 352 insert into sys.args values (31828, 108, 'res_0', 'hugeint', 128, 0, 0, 0); 352
353 insert into sys.args values (31831, 108, 'arg_1', 'int', 32, 0, 1, 1); 353 ! 353 insert into sys.args values (31829, 108, 'arg_1', 'smallint', 16, 0, 1, 1); 353
354 insert into sys.functions values (109, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 354 354 insert into sys.functions values (109, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 354
355 insert into sys.args values (31832, 109, 'res_0', 'hugeint', 128, 0, 0, 0); 355 ! 355 insert into sys.args values (31830, 109, 'res_0', 'hugeint', 128, 0, 0, 0); 355
356 insert into sys.args values (31833, 109, 'arg_1', 'hugeint', 128, 0, 1, 1); 356 ! 356 insert into sys.args values (31831, 109, 'arg_1', 'int', 32, 0, 1, 1); 356
357 insert into sys.functions values (110, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 357 357 insert into sys.functions values (110, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 357
358 insert into sys.args values (31834, 110, 'res_0', 'bigint', 64, 0, 0, 0); 358 ! 358 insert into sys.args values (31832, 110, 'res_0', 'hugeint', 128, 0, 0, 0); 358
359 insert into sys.args values (31835, 110, 'arg_1', 'bigint', 64, 0, 1, 1); 359 ! 359 insert into sys.args values (31833, 110, 'arg_1', 'hugeint', 128, 0, 1, 1); 359
360 insert into sys.functions values (111, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 360 360 insert into sys.functions values (111, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 360
361 insert into sys.args values (31836, 111, 'res_0', 'decimal', 38, 0, 0, 0); 361 ! 361 insert into sys.args values (31834, 111, 'res_0', 'bigint', 64, 0, 0, 0); 361
362 insert into sys.args values (31837, 111, 'arg_1', 'decimal', 2, 0, 1, 1); 362 ! 362 insert into sys.args values (31835, 111, 'arg_1', 'bigint', 64, 0, 1, 1); 362
363 insert into sys.functions values (112, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 363 363 insert into sys.functions values (112, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 363
364 insert into sys.args values (31838, 112, 'res_0', 'decimal', 38, 0, 0, 0); 364 ! 364 insert into sys.args values (31836, 112, 'res_0', 'decimal', 38, 0, 0, 0); 364
365 insert into sys.args values (31839, 112, 'arg_1', 'decimal', 4, 0, 1, 1); 365 ! 365 insert into sys.args values (31837, 112, 'arg_1', 'decimal', 2, 0, 1, 1); 365
366 insert into sys.functions values (113, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 366 366 insert into sys.functions values (113, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 366
367 insert into sys.args values (31840, 113, 'res_0', 'decimal', 38, 0, 0, 0); 367 ! 367 insert into sys.args values (31838, 113, 'res_0', 'decimal', 38, 0, 0, 0); 367
368 insert into sys.args values (31841, 113, 'arg_1', 'decimal', 9, 0, 1, 1); 368 ! 368 insert into sys.args values (31839, 113, 'arg_1', 'decimal', 4, 0, 1, 1); 368
369 insert into sys.functions values (114, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 369 369 insert into sys.functions values (114, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 369
370 insert into sys.args values (31842, 114, 'res_0', 'decimal', 38, 0, 0, 0); 370 ! 370 insert into sys.args values (31840, 114, 'res_0', 'decimal', 38, 0, 0, 0); 370
371 insert into sys.args values (31843, 114, 'arg_1', 'decimal', 18, 0, 1, 1); 371 ! 371 insert into sys.args values (31841, 114, 'arg_1', 'decimal', 9, 0, 1, 1); 371
372 insert into sys.functions values (115, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 372 372 insert into sys.functions values (115, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 372
373 insert into sys.args values (31844, 115, 'res_0', 'decimal', 38, 0, 0, 0); 373 ! 373 insert into sys.args values (31842, 115, 'res_0', 'decimal', 38, 0, 0, 0); 373
374 insert into sys.args values (31845, 115, 'arg_1', 'decimal', 38, 0, 1, 1); 374 ! 374 insert into sys.args values (31843, 115, 'arg_1', 'decimal', 18, 0, 1, 1); 374
375 insert into sys.functions values (116, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 375 ! 375 insert into sys.functions values (116, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 375
376 insert into sys.args values (31846, 116, 'res_0', 'hugeint', 128, 0, 0, 0); 376 ! 376 insert into sys.args values (31844, 116, 'res_0', 'decimal', 38, 0, 0, 0); 376
377 insert into sys.args values (31847, 116, 'arg_1', 'tinyint', 8, 0, 1, 1); 377 ! 377 insert into sys.args values (31845, 116, 'arg_1', 'decimal', 38, 0, 1, 1); 377
378 insert into sys.functions values (117, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 378 378 insert into sys.functions values (117, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 378
379 insert into sys.args values (31848, 117, 'res_0', 'hugeint', 128, 0, 0, 0); 379 ! 379 insert into sys.args values (31846, 117, 'res_0', 'hugeint', 128, 0, 0, 0); 379
380 insert into sys.args values (31849, 117, 'arg_1', 'smallint', 16, 0, 1, 1); 380 ! 380 insert into sys.args values (31847, 117, 'arg_1', 'tinyint', 8, 0, 1, 1); 380
381 insert into sys.functions values (118, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 381 381 insert into sys.functions values (118, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 381
382 insert into sys.args values (31850, 118, 'res_0', 'hugeint', 128, 0, 0, 0); 382 ! 382 insert into sys.args values (31848, 118, 'res_0', 'hugeint', 128, 0, 0, 0); 382
383 insert into sys.args values (31851, 118, 'arg_1', 'int', 32, 0, 1, 1); 383 ! 383 insert into sys.args values (31849, 118, 'arg_1', 'smallint', 16, 0, 1, 1); 383
384 insert into sys.functions values (119, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 384 384 insert into sys.functions values (119, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 384
385 insert into sys.args values (31852, 119, 'res_0', 'hugeint', 128, 0, 0, 0); 385 ! 385 insert into sys.args values (31850, 119, 'res_0', 'hugeint', 128, 0, 0, 0); 385
386 insert into sys.args values (31853, 119, 'arg_1', 'bigint', 64, 0, 1, 1); 386 ! 386 insert into sys.args values (31851, 119, 'arg_1', 'int', 32, 0, 1, 1); 386
387 insert into sys.functions values (120, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 387 387 insert into sys.functions values (120, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 387
388 insert into sys.args values (31854, 120, 'res_0', 'hugeint', 128, 0, 0, 0); 388 ! 388 insert into sys.args values (31852, 120, 'res_0', 'hugeint', 128, 0, 0, 0); 388
389 insert into sys.args values (31855, 120, 'arg_1', 'hugeint', 128, 0, 1, 1); 389 ! 389 insert into sys.args values (31853, 120, 'arg_1', 'bigint', 64, 0, 1, 1); 389
390 insert into sys.functions values (121, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 390 ! 390 insert into sys.functions values (121, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 390
391 insert into sys.args values (31856, 121, 'res_0', 'tinyint', 8, 0, 0, 0); 391 ! 391 insert into sys.args values (31854, 121, 'res_0', 'hugeint', 128, 0, 0, 0); 391
392 insert into sys.args values (31857, 121, 'arg_1', 'tinyint', 8, 0, 1, 1); 392 ! 392 insert into sys.args values (31855, 121, 'arg_1', 'hugeint', 128, 0, 1, 1); 392
393 insert into sys.args values (31858, 121, 'arg_2', 'tinyint', 8, 0, 1, 2); 393 -
394 insert into sys.functions values (122, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 394 393 insert into sys.functions values (122, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 393
395 insert into sys.args values (31859, 122, 'res_0', 'smallint', 16, 0, 0, 0); 395 ! 394 insert into sys.args values (31856, 122, 'res_0', 'tinyint', 8, 0, 0, 0); 394
396 insert into sys.args values (31860, 122, 'arg_1', 'smallint', 16, 0, 1, 1); 396 ! 395 insert into sys.args values (31857, 122, 'arg_1', 'tinyint', 8, 0, 1, 1); 395
397 insert into sys.args values (31861, 122, 'arg_2', 'smallint', 16, 0, 1, 2); 397 ! 396 insert into sys.args values (31858, 122, 'arg_2', 'tinyint', 8, 0, 1, 2); 396
398 insert into sys.functions values (123, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 398 397 insert into sys.functions values (123, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 397
399 insert into sys.args values (31862, 123, 'res_0', 'int', 32, 0, 0, 0); 399 ! 398 insert into sys.args values (31859, 123, 'res_0', 'smallint', 16, 0, 0, 0); 398
400 insert into sys.args values (31863, 123, 'arg_1', 'int', 32, 0, 1, 1); 400 ! 399 insert into sys.args values (31860, 123, 'arg_1', 'smallint', 16, 0, 1, 1); 399
401 insert into sys.args values (31864, 123, 'arg_2', 'int', 32, 0, 1, 2); 401 ! 400 insert into sys.args values (31861, 123, 'arg_2', 'smallint', 16, 0, 1, 2); 400
402 insert into sys.functions values (124, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 402 401 insert into sys.functions values (124, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 401
403 insert into sys.args values (31865, 124, 'res_0', 'bigint', 64, 0, 0, 0); 403 ! 402 insert into sys.args values (31862, 124, 'res_0', 'int', 32, 0, 0, 0); 402
404 insert into sys.args values (31866, 124, 'arg_1', 'bigint', 64, 0, 1, 1); 404 ! 403 insert into sys.args values (31863, 124, 'arg_1', 'int', 32, 0, 1, 1); 403
405 insert into sys.args values (31867, 124, 'arg_2', 'bigint', 64, 0, 1, 2); 405 ! 404 insert into sys.args values (31864, 124, 'arg_2', 'int', 32, 0, 1, 2); 404
406 insert into sys.functions values (125, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 406 405 insert into sys.functions values (125, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 405
407 insert into sys.args values (31868, 125, 'res_0', 'hugeint', 128, 0, 0, 0); 407 ! 406 insert into sys.args values (31865, 125, 'res_0', 'bigint', 64, 0, 0, 0); 406
408 insert into sys.args values (31869, 125, 'arg_1', 'hugeint', 128, 0, 1, 1); 408 ! 407 insert into sys.args values (31866, 125, 'arg_1', 'bigint', 64, 0, 1, 1); 407
409 insert into sys.args values (31870, 125, 'arg_2', 'hugeint', 128, 0, 1, 2); 409 ! 408 insert into sys.args values (31867, 125, 'arg_2', 'bigint', 64, 0, 1, 2); 408
410 insert into sys.functions values (126, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 410 409 insert into sys.functions values (126, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 409
411 insert into sys.args values (31871, 126, 'res_0', 'decimal', 2, 0, 0, 0); 411 ! 410 insert into sys.args values (31868, 126, 'res_0', 'hugeint', 128, 0, 0, 0); 410
412 insert into sys.args values (31872, 126, 'arg_1', 'decimal', 2, 0, 1, 1); 412 ! 411 insert into sys.args values (31869, 126, 'arg_1', 'hugeint', 128, 0, 1, 1); 411
413 insert into sys.args values (31873, 126, 'arg_2', 'decimal', 2, 0, 1, 2); 413 ! 412 insert into sys.args values (31870, 126, 'arg_2', 'hugeint', 128, 0, 1, 2); 412
414 insert into sys.functions values (127, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 414 413 insert into sys.functions values (127, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 413
415 insert into sys.args values (31874, 127, 'res_0', 'decimal', 4, 0, 0, 0); 415 ! 414 insert into sys.args values (31871, 127, 'res_0', 'decimal', 2, 0, 0, 0); 414
416 insert into sys.args values (31875, 127, 'arg_1', 'decimal', 4, 0, 1, 1); 416 ! 415 insert into sys.args values (31872, 127, 'arg_1', 'decimal', 2, 0, 1, 1); 415
417 insert into sys.args values (31876, 127, 'arg_2', 'decimal', 4, 0, 1, 2); 417 ! 416 insert into sys.args values (31873, 127, 'arg_2', 'decimal', 2, 0, 1, 2); 416
418 insert into sys.functions values (128, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 418 417 insert into sys.functions values (128, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 417
419 insert into sys.args values (31877, 128, 'res_0', 'decimal', 9, 0, 0, 0); 419 ! 418 insert into sys.args values (31874, 128, 'res_0', 'decimal', 4, 0, 0, 0); 418
420 insert into sys.args values (31878, 128, 'arg_1', 'decimal', 9, 0, 1, 1); 420 ! 419 insert into sys.args values (31875, 128, 'arg_1', 'decimal', 4, 0, 1, 1); 419
421 insert into sys.args values (31879, 128, 'arg_2', 'decimal', 9, 0, 1, 2); 421 ! 420 insert into sys.args values (31876, 128, 'arg_2', 'decimal', 4, 0, 1, 2); 420
422 insert into sys.functions values (129, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 422 421 insert into sys.functions values (129, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 421
423 insert into sys.args values (31880, 129, 'res_0', 'decimal', 18, 0, 0, 0); 423 ! 422 insert into sys.args values (31877, 129, 'res_0', 'decimal', 9, 0, 0, 0); 422
424 insert into sys.args values (31881, 129, 'arg_1', 'decimal', 18, 0, 1, 1); 424 ! 423 insert into sys.args values (31878, 129, 'arg_1', 'decimal', 9, 0, 1, 1); 423
425 insert into sys.args values (31882, 129, 'arg_2', 'decimal', 18, 0, 1, 2); 425 ! 424 insert into sys.args values (31879, 129, 'arg_2', 'decimal', 9, 0, 1, 2); 424
426 insert into sys.functions values (130, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 426 425 insert into sys.functions values (130, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 425
427 insert into sys.args values (31883, 130, 'res_0', 'decimal', 38, 0, 0, 0); 427 ! 426 insert into sys.args values (31880, 130, 'res_0', 'decimal', 18, 0, 0, 0); 426
428 insert into sys.args values (31884, 130, 'arg_1', 'decimal', 38, 0, 1, 1); 428 ! 427 insert into sys.args values (31881, 130, 'arg_1', 'decimal', 18, 0, 1, 1); 427
429 insert into sys.args values (31885, 130, 'arg_2', 'decimal', 38, 0, 1, 2); 429 ! 428 insert into sys.args values (31882, 130, 'arg_2', 'decimal', 18, 0, 1, 2); 428
430 insert into sys.functions values (131, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 430 429 insert into sys.functions values (131, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 429
431 insert into sys.args values (31886, 131, 'res_0', 'real', 24, 0, 0, 0); 431 ! 430 insert into sys.args values (31883, 131, 'res_0', 'decimal', 38, 0, 0, 0); 430
432 insert into sys.args values (31887, 131, 'arg_1', 'real', 24, 0, 1, 1); 432 ! 431 insert into sys.args values (31884, 131, 'arg_1', 'decimal', 38, 0, 1, 1); 431
433 insert into sys.args values (31888, 131, 'arg_2', 'real', 24, 0, 1, 2); 433 ! 432 insert into sys.args values (31885, 131, 'arg_2', 'decimal', 38, 0, 1, 2); 432
434 insert into sys.functions values (132, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 434 433 insert into sys.functions values (132, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 433
435 insert into sys.args values (31889, 132, 'res_0', 'double', 53, 0, 0, 0); 435 ! 434 insert into sys.args values (31886, 132, 'res_0', 'real', 24, 0, 0, 0); 434
436 insert into sys.args values (31890, 132, 'arg_1', 'double', 53, 0, 1, 1); 436 ! 435 insert into sys.args values (31887, 132, 'arg_1', 'real', 24, 0, 1, 1); 435
437 insert into sys.args values (31891, 132, 'arg_2', 'double', 53, 0, 1, 2); 437 ! 436 insert into sys.args values (31888, 132, 'arg_2', 'real', 24, 0, 1, 2); 436
438 insert into sys.functions values (133, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 438 ! 437 insert into sys.functions values (133, 'mod', '%', 'calc', 0, 1, false, false, false, 2000, true, false); 437
439 insert into sys.args values (31892, 133, 'res_0', 'real', 24, 0, 0, 0); 439 ! 438 insert into sys.args values (31889, 133, 'res_0', 'double', 53, 0, 0, 0); 438
440 insert into sys.args values (31893, 133, 'arg_1', 'real', 24, 0, 1, 1); 440 ! 439 insert into sys.args values (31890, 133, 'arg_1', 'double', 53, 0, 1, 1); 439
insert into sys. + 440 insert into sys.args values (31891, 133, 'arg_2', 'double', 53, 0, 1, 2); 440
441 functions values (134, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 441 ! 441 insert into sys.functions values (134, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 441
442 insert into sys.args values (31894, 134, 'res_0', 'real', 24, 0, 0, 0); 442 ! 442 insert into sys.args values (31892, 134, 'res_0', 'real', 24, 0, 0, 0); 442
443 insert into sys.args values (31895, 134, 'arg_1', 'real', 24, 0, 1, 1); 443 ! 443 insert into sys.args values (31893, 134, 'arg_1', 'real', 24, 0, 1, 1); 443
444 insert into sys.functions values (135, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 444 ! 444 insert into sys.functions values (135, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 444
445 insert into sys.args values (31896, 135, 'res_0', 'double', 53, 0, 0, 0); 445 ! 445 insert into sys.args values (31894, 135, 'res_0', 'real', 24, 0, 0, 0); 445
446 insert into sys.args values (31897, 135, 'arg_1', 'double', 53, 0, 1, 1); 446 ! 446 insert into sys.args values (31895, 135, 'arg_1', 'real', 24, 0, 1, 1); 446
447 insert into sys.functions values (136, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 447 ! 447 insert into sys.functions values (136, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 447
448 insert into sys.args values (31898, 136, 'res_0', 'double', 53, 0, 0, 0); 448 ! 448 insert into sys.args values (31896, 136, 'res_0', 'double', 53, 0, 0, 0); 448
449 insert into sys.args values (31899, 136, 'arg_1', 'double', 53, 0, 1, 1); 449 ! 449 insert into sys.args values (31897, 136, 'arg_1', 'double', 53, 0, 1, 1); 449
450 insert into sys.functions values (137, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 450 ! 450 insert into sys.functions values (137, 'prod', 'prod', 'aggr', 0, 3, false, false, false, 2000, true, false); 450
451 insert into sys.args values (31900, 137, 'res_0', 'month_interval', 32, 0, 0, 0); 451 ! 451 insert into sys.args values (31898, 137, 'res_0', 'double', 53, 0, 0, 0); 451
452 insert into sys.args values (31901, 137, 'arg_1', 'month_interval', 32, 0, 1, 1); 452 ! 452 insert into sys.args values (31899, 137, 'arg_1', 'double', 53, 0, 1, 1); 452
453 insert into sys.functions values (138, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 453 453 insert into sys.functions values (138, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 453
454 insert into sys.args values (31902, 138, 'res_0', 'sec_interval', 13, 0, 0, 0); 454 ! 454 insert into sys.args values (31900, 138, 'res_0', 'month_interval', 3, 0, 0, 0); 454
455 insert into sys.args values (31903, 138, 'arg_1', 'sec_interval', 13, 0, 1, 1); 455 ! 455 insert into sys.args values (31901, 138, 'arg_1', 'month_interval', 3, 0, 1, 1); 455
456 insert into sys.functions values (139, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 456 ! 456 insert into sys.functions values (139, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 456
457 insert into sys.args values (31904, 139, 'res_0', 'double', 53, 0, 0, 0); 457 ! 457 insert into sys.args values (31902, 139, 'res_0', 'day_interval', 4, 0, 0, 0); 457
458 insert into sys.args values (31905, 139, 'arg_1', 'double', 53, 0, 1, 1); 458 ! 458 insert into sys.args values (31903, 139, 'arg_1', 'day_interval', 4, 0, 1, 1); 458
459 insert into sys.functions values (140, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 459 ! 459 insert into sys.functions values (140, 'sum', 'sum', 'aggr', 0, 3, false, false, false, 2000, true, false); 459
460 insert into sys.args values (31906, 140, 'res_0', 'double', 53, 0, 0, 0); 460 ! 460 insert into sys.args values (31904, 140, 'res_0', 'sec_interval', 13, 0, 0, 0); 460
461 insert into sys.args values (31907, 140, 'arg_1', 'tinyint', 8, 0, 1, 1); 461 ! 461 insert into sys.args values (31905, 140, 'arg_1', 'sec_interval', 13, 0, 1, 1); 461
462 insert into sys.functions values (141, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 462 462 insert into sys.functions values (141, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 462
463 insert into sys.args values (31908, 141, 'res_0', 'double', 53, 0, 0, 0); 463 ! 463 insert into sys.args values (31906, 141, 'res_0', 'double', 53, 0, 0, 0); 463
464 insert into sys.args values (31909, 141, 'arg_1', 'smallint', 16, 0, 1, 1); 464 ! 464 insert into sys.args values (31907, 141, 'arg_1', 'double', 53, 0, 1, 1); 464
465 insert into sys.functions values (142, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 465 465 insert into sys.functions values (142, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 465
466 insert into sys.args values (31910, 142, 'res_0', 'double', 53, 0, 0, 0); 466 ! 466 insert into sys.args values (31908, 142, 'res_0', 'double', 53, 0, 0, 0); 466
467 insert into sys.args values (31911, 142, 'arg_1', 'int', 32, 0, 1, 1); 467 ! 467 insert into sys.args values (31909, 142, 'arg_1', 'tinyint', 8, 0, 1, 1); 467
468 insert into sys.functions values (143, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 468 468 insert into sys.functions values (143, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 468
469 insert into sys.args values (31912, 143, 'res_0', 'double', 53, 0, 0, 0); 469 ! 469 insert into sys.args values (31910, 143, 'res_0', 'double', 53, 0, 0, 0); 469
470 insert into sys.args values (31913, 143, 'arg_1', 'bigint', 64, 0, 1, 1); 470 ! 470 insert into sys.args values (31911, 143, 'arg_1', 'smallint', 16, 0, 1, 1); 470
471 insert into sys.functions values (144, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 471 471 insert into sys.functions values (144, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 471
472 insert into sys.args values (31914, 144, 'res_0', 'double', 53, 0, 0, 0); 472 ! 472 insert into sys.args values (31912, 144, 'res_0', 'double', 53, 0, 0, 0); 472
473 insert into sys.args values (31915, 144, 'arg_1', 'hugeint', 128, 0, 1, 1); 473 ! 473 insert into sys.args values (31913, 144, 'arg_1', 'int', 32, 0, 1, 1); 473
474 insert into sys.functions values (145, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 474 474 insert into sys.functions values (145, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 474
475 insert into sys.args values (31916, 145, 'res_0', 'double', 53, 0, 0, 0); 475 ! 475 insert into sys.args values (31914, 145, 'res_0', 'double', 53, 0, 0, 0); 475
476 insert into sys.args values (31917, 145, 'arg_1', 'real', 24, 0, 1, 1); 476 ! 476 insert into sys.args values (31915, 145, 'arg_1', 'bigint', 64, 0, 1, 1); 476
477 insert into sys.functions values (146, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 477 477 insert into sys.functions values (146, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 477
478 insert into sys.args values (31918, 146, 'res_0', 'decimal', 2, 0, 0, 0); 478 ! 478 insert into sys.args values (31916, 146, 'res_0', 'double', 53, 0, 0, 0); 478
479 insert into sys.args values (31919, 146, 'arg_1', 'decimal', 2, 0, 1, 1); 479 ! 479 insert into sys.args values (31917, 146, 'arg_1', 'hugeint', 128, 0, 1, 1); 479
480 insert into sys.functions values (147, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 480 480 insert into sys.functions values (147, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 480
481 insert into sys.args values (31920, 147, 'res_0', 'decimal', 4, 0, 0, 0); 481 ! 481 insert into sys.args values (31918, 147, 'res_0', 'double', 53, 0, 0, 0); 481
482 insert into sys.args values (31921, 147, 'arg_1', 'decimal', 4, 0, 1, 1); 482 ! 482 insert into sys.args values (31919, 147, 'arg_1', 'real', 24, 0, 1, 1); 482
483 insert into sys.functions values (148, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 483 483 insert into sys.functions values (148, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 483
484 insert into sys.args values (31922, 148, 'res_0', 'decimal', 9, 0, 0, 0); 484 ! 484 insert into sys.args values (31920, 148, 'res_0', 'decimal', 2, 0, 0, 0); 484
485 insert into sys.args values (31923, 148, 'arg_1', 'decimal', 9, 0, 1, 1); 485 ! 485 insert into sys.args values (31921, 148, 'arg_1', 'decimal', 2, 0, 1, 1); 485
486 insert into sys.functions values (149, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 486 486 insert into sys.functions values (149, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 486
487 insert into sys.args values (31924, 149, 'res_0', 'decimal', 18, 0, 0, 0); 487 ! 487 insert into sys.args values (31922, 149, 'res_0', 'decimal', 4, 0, 0, 0); 487
488 insert into sys.args values (31925, 149, 'arg_1', 'decimal', 18, 0, 1, 1); 488 ! 488 insert into sys.args values (31923, 149, 'arg_1', 'decimal', 4, 0, 1, 1); 488
489 insert into sys.functions values (150, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 489 489 insert into sys.functions values (150, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 489
490 insert into sys.args values (31926, 150, 'res_0', 'decimal', 38, 0, 0, 0); 490 ! 490 insert into sys.args values (31924, 150, 'res_0', 'decimal', 9, 0, 0, 0); 490
491 insert into sys.args values (31927, 150, 'arg_1', 'decimal', 38, 0, 1, 1); 491 ! 491 insert into sys.args values (31925, 150, 'arg_1', 'decimal', 9, 0, 1, 1); 491
492 insert into sys.functions values (151, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 492 492 insert into sys.functions values (151, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 492
493 insert into sys.args values (31928, 151, 'res_0', 'month_interval', 32, 0, 0, 0); 493 ! 493 insert into sys.args values (31926, 151, 'res_0', 'decimal', 18, 0, 0, 0); 493
494 insert into sys.args values (31929, 151, 'arg_1', 'month_interval', 32, 0, 1, 1); 494 ! 494 insert into sys.args values (31927, 151, 'arg_1', 'decimal', 18, 0, 1, 1); 494
495 insert into sys.functions values (152, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 495 495 insert into sys.functions values (152, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 495
496 insert into sys.args values (31930, 152, 'res_0', 'sec_interval', 13, 0, 0, 0); 496 ! 496 insert into sys.args values (31928, 152, 'res_0', 'decimal', 38, 0, 0, 0); 496
497 insert into sys.args values (31931, 152, 'arg_1', 'sec_interval', 13, 0, 1, 1); 497 ! 497 insert into sys.args values (31929, 152, 'arg_1', 'decimal', 38, 0, 1, 1); 497
498 insert into sys.functions values (153, 'count_no_nil', 'count_no_nil', 'aggr', 0, 3, false, false, false, 2000, true, true); 498 ! 498 insert into sys.functions values (153, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 498
499 insert into sys.args values (31932, 153, 'res_0', 'bigint', 64, 0, 0, 0); 499 ! 499 insert into sys.args values (31930, 153, 'res_0', 'month_interval', 3, 0, 0, 0); 499
insert into sys. + 500 insert into sys.args values (31931, 153, 'arg_1', 'month_interval', 3, 0, 1, 1); 500
500 functions values (154, 'count', 'count', 'aggr', 0, 3, false, false, false, 2000, true, true); 500 ! 501 insert into sys.functions values (154, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 501
501 insert into sys.args values (31933, 154, 'res_0', 'bigint', 64, 0, 0, 0); 501 ! 502 insert into sys.args values (31932, 154, 'res_0', 'day_interval', 4, 0, 0, 0); 502
502 insert into sys.args values (31934, 154, 'arg_1', 'any', 0, 0, 1, 1); 502 ! 503 insert into sys.args values (31933, 154, 'arg_1', 'day_interval', 4, 0, 1, 1); 503
503 insert into sys.functions values (155, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 503 ! 504 insert into sys.functions values (155, 'avg', 'avg', 'aggr', 0, 3, false, false, false, 2000, true, false); 504
504 insert into sys.args values (31935, 155, 'res_0', 'char', 0, 0, 0, 0); 504 ! 505 insert into sys.args values (31934, 155, 'res_0', 'sec_interval', 13, 0, 0, 0); 505
505 insert into sys.args values (31936, 155, 'arg_1', 'char', 0, 0, 1, 1); 505 ! 506 insert into sys.args values (31935, 155, 'arg_1', 'sec_interval', 13, 0, 1, 1); 506
506 insert into sys.functions values (156, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 506 ! 507 insert into sys.functions values (156, 'count_no_nil', 'count_no_nil', 'aggr', 0, 3, false, false, false, 2000, true, true); 507
507 insert into sys.args values (31937, 156, 'res_0', 'char', 0, 0, 0, 0); 507 -
508 insert into sys.args values (31938, 156, 'arg_1', 'char', 0, 0, 1, 1); 508 ! 508 insert into sys.args values (31936, 156, 'res_0', 'bigint', 64, 0, 0, 0); 508
509 insert into sys.args values (31939, 156, 'arg_2', 'char', 0, 0, 1, 2); 509 ! 509 insert into sys.functions values (157, 'count', 'count', 'aggr', 0, 3, false, false, false, 2000, true, true); 509
510 insert into sys.functions values (157, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 510 -
511 insert into sys.args values (31940, 157, 'res_0', 'varchar', 0, 0, 0, 0); 511 ! 510 insert into sys.args values (31937, 157, 'res_0', 'bigint', 64, 0, 0, 0); 510
512 insert into sys.args values (31941, 157, 'arg_1', 'varchar', 0, 0, 1, 1); 512 ! 511 insert into sys.args values (31938, 157, 'arg_1', 'any', 0, 0, 1, 1); 511
513 insert into sys.functions values (158, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 513 512 insert into sys.functions values (158, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 512
514 insert into sys.args values (31942, 158, 'res_0', 'varchar', 0, 0, 0, 0); 514 ! 513 insert into sys.args values (31939, 158, 'res_0', 'char', 0, 0, 0, 0); 513
515 insert into sys.args values (31943, 158, 'arg_1', 'varchar', 0, 0, 1, 1); 515 ! 514 insert into sys.args values (31940, 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
516 insert into sys.args values (31944, 158, 'arg_2', 'varchar', 0, 0, 1, 2); 516 ! 516 insert into sys.args values (31941, 159, 'res_0', 'char', 0, 0, 0, 0); 516
517 insert into sys.functions values (159, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 517 -
518 insert into sys.args values (31945, 159, 'res_0', 'clob', 0, 0, 0, 0); 518 ! 517 insert into sys.args values (31942, 159, 'arg_1', 'char', 0, 0, 1, 1); 517
519 insert into sys.args values (31946, 159, 'arg_1', 'clob', 0, 0, 1, 1); 519 ! 518 insert into sys.args values (31943, 159, 'arg_2', 'char', 0, 0, 1, 2); 518
520 insert into sys.functions values (160, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 520 519 insert into sys.functions values (160, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 519
521 insert into sys.args values (31947, 160, 'res_0', 'clob', 0, 0, 0, 0); 521 ! 520 insert into sys.args values (31944, 160, 'res_0', 'varchar', 0, 0, 0, 0); 520
522 insert into sys.args values (31948, 160, 'arg_1', 'clob', 0, 0, 1, 1); 522 ! 521 insert into sys.args values (31945, 160, 'arg_1', 'varchar', 0, 0, 1, 1); 521
523 insert into sys.args values (31949, 160, 'arg_2', 'clob', 0, 0, 1, 2); 523 ! 522 insert into sys.functions values (161, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 522
524 insert into sys.functions values (161, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 524 ! 523 insert into sys.args values (31946, 161, 'res_0', 'varchar', 0, 0, 0, 0); 523
525 insert into sys.args values (31950, 161, 'res_0', 'boolean', 1, 0, 0, 0); 525 ! 524 insert into sys.args values (31947, 161, 'arg_1', 'varchar', 0, 0, 1, 1); 524
526 insert into sys.args values (31951, 161, 'arg_1', 'any', 0, 0, 1, 1); 526 ! 525 insert into sys.args values (31948, 161, 'arg_2', 'varchar', 0, 0, 1, 2); 525
527 insert into sys.functions values (162, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 527 ! 526 insert into sys.functions values (162, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 526
528 insert into sys.args values (31952, 162, 'res_0', 'boolean', 1, 0, 0, 0); 528 ! 527 insert into sys.args values (31949, 162, 'res_0', 'clob', 0, 0, 0, 0); 527
529 insert into sys.args values (31953, 162, 'arg_1', 'boolean', 1, 0, 1, 1); 529 ! 528 insert into sys.args values (31950, 162, 'arg_1', 'clob', 0, 0, 1, 1); 528
530 insert into sys.args values (31954, 162, 'arg_2', 'any', 0, 0, 1, 2); 530 ! 529 insert into sys.functions values (163, 'listagg', 'str_group_concat', 'aggr', 0, 3, false, false, false, 2000, true, true); 529
531 insert into sys.functions values (163, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 531 ! 530 insert into sys.args values (31951, 163, 'res_0', 'clob', 0, 0, 0, 0); 530
532 insert into sys.args values (31955, 163, 'res_0', 'bigint', 64, 0, 0, 0); 532 ! 531 insert into sys.args values (31952, 163, 'arg_1', 'clob', 0, 0, 1, 1); 531
533 insert into sys.args values (31956, 163, 'arg_1', 'any', 0, 0, 1, 1); 533 ! 532 insert into sys.args values (31953, 163, 'arg_2', 'clob', 0, 0, 1, 2); 532
534 insert into sys.args values (31957, 163, 'arg_2', 'int', 32, 0, 1, 2); 534 ! 533 insert into sys.functions values (164, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 533
535 insert into sys.args values (31958, 163, 'arg_3', 'int', 32, 0, 1, 3); 535 ! 534 insert into sys.args values (31954, 164, 'res_0', 'boolean', 1, 0, 0, 0); 534
536 insert into sys.args values (31959, 163, 'arg_4', 'int', 32, 0, 1, 4); 536 ! 535 insert into sys.args values (31955, 164, 'arg_1', 'any', 0, 0, 1, 1); 535
537 insert into sys.args values (31960, 163, 'arg_5', 'tinyint', 8, 0, 1, 5); 537 ! 536 insert into sys.functions values (165, 'diff', 'diff', 'sql', 0, 6, false, false, false, 2000, true, true); 536
538 insert into sys.functions values (164, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 538 -
539 insert into sys.args values (31961, 164, 'res_0', 'bigint', 64, 0, 0, 0); 539 ! 537 insert into sys.args values (31956, 165, 'res_0', 'boolean', 1, 0, 0, 0); 537
540 insert into sys.args values (31962, 164, 'arg_1', 'boolean', 1, 0, 1, 1); 540 ! 538 insert into sys.args values (31957, 165, 'arg_1', 'boolean', 1, 0, 1, 1); 538
541 insert into sys.args values (31963, 164, 'arg_2', 'any', 0, 0, 1, 2); 541 ! 539 insert into sys.args values (31958, 165, 'arg_2', 'any', 0, 0, 1, 2); 539
542 insert into sys.args values (31964, 164, 'arg_3', 'int', 32, 0, 1, 3); 542 -
543 insert into sys.args values (31965, 164, 'arg_4', 'int', 32, 0, 1, 4); 543 -
544 insert into sys.args values (31966, 164, 'arg_5', 'int', 32, 0, 1, 5); 544 -
545 insert into sys.args values (31967, 164, 'arg_6', 'tinyint', 8, 0, 1, 6); 545 -
546 insert into sys.functions values (165, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 546 -
547 insert into sys.args values (31968, 165, 'res_0', 'bigint', 64, 0, 0, 0); 547 -
548 insert into sys.args values (31969, 165, 'arg_1', 'any', 0, 0, 1, 1); 548 -
549 insert into sys.args values (31970, 165, 'arg_2', 'int', 32, 0, 1, 2); 549 -
550 insert into sys.args values (31971, 165, 'arg_3', 'int', 32, 0, 1, 3); 550 -
551 insert into sys.args values (31972, 165, 'arg_4', 'int', 32, 0, 1, 4); 551 -
552 insert into sys.args values (31973, 165, 'arg_5', 'smallint', 16, 0, 1, 5); 552 -
553 insert into sys.functions values (166, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 553 540 insert into sys.functions values (166, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 540
554 insert into sys.args values (31974, 166, 'res_0', 'bigint', 64, 0, 0, 0); 554 ! 541 insert into sys.args values (31959, 166, 'res_0', 'bigint', 64, 0, 0, 0); 541
555 insert into sys.args values (31975, 166, 'arg_1', 'boolean', 1, 0, 1, 1); 555 ! 542 insert into sys.args values (31960, 166, 'arg_1', 'any', 0, 0, 1, 1); 542
556 insert into sys.args values (31976, 166, 'arg_2', 'any', 0, 0, 1, 2); 556 ! 543 insert into sys.args values (31961, 166, 'arg_2', 'int', 32, 0, 1, 2); 543
557 insert into sys.args values (31977, 166, 'arg_3', 'int', 32, 0, 1, 3); 557 ! 544 insert into sys.args values (31962, 166, 'arg_3', 'int', 32, 0, 1, 3); 544
558 insert into sys.args values (31978, 166, 'arg_4', 'int', 32, 0, 1, 4); 558 ! 545 insert into sys.args values (31963, 166, 'arg_4', 'int', 32, 0, 1, 4); 545
559 insert into sys.args values (31979, 166, 'arg_5', 'int', 32, 0, 1, 5); 559 ! 546 insert into sys.args values (31964, 166, 'arg_5', 'tinyint', 8, 0, 1, 5); 546
560 insert into sys.args values (31980, 166, 'arg_6', 'smallint', 16, 0, 1, 6); 560 -
561 insert into sys.functions values (167, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 561 547 insert into sys.functions values (167, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 547
562 insert into sys.args values (31981, 167, 'res_0', 'bigint', 64, 0, 0, 0); 562 ! 548 insert into sys.args values (31965, 167, 'res_0', 'bigint', 64, 0, 0, 0); 548
563 insert into sys.args values (31982, 167, 'arg_1', 'any', 0, 0, 1, 1); 563 ! 549 insert into sys.args values (31966, 167, 'arg_1', 'boolean', 1, 0, 1, 1); 549
564 insert into sys.args values (31983, 167, 'arg_2', 'int', 32, 0, 1, 2); 564 ! 550 insert into sys.args values (31967, 167, 'arg_2', 'any', 0, 0, 1, 2); 550
565 insert into sys.args values (31984, 167, 'arg_3', 'int', 32, 0, 1, 3); 565 ! 551 insert into sys.args values (31968, 167, 'arg_3', 'int', 32, 0, 1, 3); 551
566 insert into sys.args values (31985, 167, 'arg_4', 'int', 32, 0, 1, 4); 566 ! 552 insert into sys.args values (31969, 167, 'arg_4', 'int', 32, 0, 1, 4); 552
567 insert into sys.args values (31986, 167, 'arg_5', 'int', 32, 0, 1, 5); 567 ! 553 insert into sys.args values (31970, 167, 'arg_5', 'int', 32, 0, 1, 5); 553
+ 554 insert into sys.args values (31971, 167, 'arg_6', 'tinyint', 8, 0, 1, 6); 554
568 insert into sys.functions values (168, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 568 555 insert into sys.functions values (168, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 555
569 insert into sys.args values (31987, 168, 'res_0', 'bigint', 64, 0, 0, 0); 569 ! 556 insert into sys.args values (31972, 168, 'res_0', 'bigint', 64, 0, 0, 0); 556
570 insert into sys.args values (31988, 168, 'arg_1', 'boolean', 1, 0, 1, 1); 570 ! 557 insert into sys.args values (31973, 168, 'arg_1', 'any', 0, 0, 1, 1); 557
571 insert into sys.args values (31989, 168, 'arg_2', 'any', 0, 0, 1, 2); 571 ! 558 insert into sys.args values (31974, 168, 'arg_2', 'int', 32, 0, 1, 2); 558
572 insert into sys.args values (31990, 168, 'arg_3', 'int', 32, 0, 1, 3); 572 ! 559 insert into sys.args values (31975, 168, 'arg_3', 'int', 32, 0, 1, 3); 559
573 insert into sys.args values (31991, 168, 'arg_4', 'int', 32, 0, 1, 4); 573 ! 560 insert into sys.args values (31976, 168, 'arg_4', 'int', 32, 0, 1, 4); 560
574 insert into sys.args values (31992, 168, 'arg_5', 'int', 32, 0, 1, 5); 574 ! 561 insert into sys.args values (31977, 168, 'arg_5', 'smallint', 16, 0, 1, 5); 561
575 insert into sys.args values (31993, 168, 'arg_6', 'int', 32, 0, 1, 6); 575 -
576 insert into sys.functions values (169, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 576 562 insert into sys.functions values (169, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 562
577 insert into sys.args values (31994, 169, 'res_0', 'bigint', 64, 0, 0, 0); 577 ! 563 insert into sys.args values (31978, 169, 'res_0', 'bigint', 64, 0, 0, 0); 563
578 insert into sys.args values (31995, 169, 'arg_1', 'any', 0, 0, 1, 1); 578 ! 564 insert into sys.args values (31979, 169, 'arg_1', 'boolean', 1, 0, 1, 1); 564
579 insert into sys.args values (31996, 169, 'arg_2', 'int', 32, 0, 1, 2); 579 ! 565 insert into sys.args values (31980, 169, 'arg_2', 'any', 0, 0, 1, 2); 565
580 insert into sys.args values (31997, 169, 'arg_3', 'int', 32, 0, 1, 3); 580 ! 566 insert into sys.args values (31981, 169, 'arg_3', 'int', 32, 0, 1, 3); 566
581 insert into sys.args values (31998, 169, 'arg_4', 'int', 32, 0, 1, 4); 581 ! 567 insert into sys.args values (31982, 169, 'arg_4', 'int', 32, 0, 1, 4); 567
582 insert into sys.args values (31999, 169, 'arg_5', 'bigint', 64, 0, 1, 5); 582 ! 568 insert into sys.args values (31983, 169, 'arg_5', 'int', 32, 0, 1, 5); 568
+ 569 insert into sys.args values (31984, 169, 'arg_6', 'smallint', 16, 0, 1, 6); 569
583 insert into sys.functions values (170, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 583 570 insert into sys.functions values (170, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 570
584 insert into sys.args values (32000, 170, 'res_0', 'bigint', 64, 0, 0, 0); 584 ! 571 insert into sys.args values (31985, 170, 'res_0', 'bigint', 64, 0, 0, 0); 571
585 insert into sys.args values (32001, 170, 'arg_1', 'boolean', 1, 0, 1, 1); 585 ! 572 insert into sys.args values (31986, 170, 'arg_1', 'any', 0, 0, 1, 1); 572
586 insert into sys.args values (32002, 170, 'arg_2', 'any', 0, 0, 1, 2); 586 ! 573 insert into sys.args values (31987, 170, 'arg_2', 'int', 32, 0, 1, 2); 573
587 insert into sys.args values (32003, 170, 'arg_3', 'int', 32, 0, 1, 3); 587 ! 574 insert into sys.args values (31988, 170, 'arg_3', 'int', 32, 0, 1, 3); 574
588 insert into sys.args values (32004, 170, 'arg_4', 'int', 32, 0, 1, 4); 588 ! 575 insert into sys.args values (31989, 170, 'arg_4', 'int', 32, 0, 1, 4); 575
589 insert into sys.args values (32005, 170, 'arg_5', 'int', 32, 0, 1, 5); 589 ! 576 insert into sys.args values (31990, 170, 'arg_5', 'int', 32, 0, 1, 5); 576
590 insert into sys.args values (32006, 170, 'arg_6', 'bigint', 64, 0, 1, 6); 590 -
591 insert into sys.functions values (171, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 591 577 insert into sys.functions values (171, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 577
592 insert into sys.args values (32007, 171, 'res_0', 'bigint', 64, 0, 0, 0); 592 ! 578 insert into sys.args values (31991, 171, 'res_0', 'bigint', 64, 0, 0, 0); 578
593 insert into sys.args values (32008, 171, 'arg_1', 'any', 0, 0, 1, 1); 593 ! 579 insert into sys.args values (31992, 171, 'arg_1', 'boolean', 1, 0, 1, 1); 579
594 insert into sys.args values (32009, 171, 'arg_2', 'int', 32, 0, 1, 2); 594 ! 580 insert into sys.args values (31993, 171, 'arg_2', 'any', 0, 0, 1, 2); 580
595 insert into sys.args values (32010, 171, 'arg_3', 'int', 32, 0, 1, 3); 595 ! 581 insert into sys.args values (31994, 171, 'arg_3', 'int', 32, 0, 1, 3); 581
596 insert into sys.args values (32011, 171, 'arg_4', 'int', 32, 0, 1, 4); 596 ! 582 insert into sys.args values (31995, 171, 'arg_4', 'int', 32, 0, 1, 4); 582
597 insert into sys.args values (32012, 171, 'arg_5', 'real', 24, 0, 1, 5); 597 ! 583 insert into sys.args values (31996, 171, 'arg_5', 'int', 32, 0, 1, 5); 583
+ 584 insert into sys.args values (31997, 171, 'arg_6', 'int', 32, 0, 1, 6); 584
598 insert into sys.functions values (172, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 598 585 insert into sys.functions values (172, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 585
599 insert into sys.args values (32013, 172, 'res_0', 'bigint', 64, 0, 0, 0); 599 ! 586 insert into sys.args values (31998, 172, 'res_0', 'bigint', 64, 0, 0, 0); 586
600 insert into sys.args values (32014, 172, 'arg_1', 'boolean', 1, 0, 1, 1); 600 ! 587 insert into sys.args values (31999, 172, 'arg_1', 'any', 0, 0, 1, 1); 587
601 insert into sys.args values (32015, 172, 'arg_2', 'any', 0, 0, 1, 2); 601 ! 588 insert into sys.args values (32000, 172, 'arg_2', 'int', 32, 0, 1, 2); 588
602 insert into sys.args values (32016, 172, 'arg_3', 'int', 32, 0, 1, 3); 602 ! 589 insert into sys.args values (32001, 172, 'arg_3', 'int', 32, 0, 1, 3); 589
603 insert into sys.args values (32017, 172, 'arg_4', 'int', 32, 0, 1, 4); 603 ! 590 insert into sys.args values (32002, 172, 'arg_4', 'int', 32, 0, 1, 4); 590
604 insert into sys.args values (32018, 172, 'arg_5', 'int', 32, 0, 1, 5); 604 ! 591 insert into sys.args values (32003, 172, 'arg_5', 'bigint', 64, 0, 1, 5); 591
605 insert into sys.args values (32019, 172, 'arg_6', 'real', 24, 0, 1, 6); 605 -
606 insert into sys.functions values (173, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 606 592 insert into sys.functions values (173, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 592
607 insert into sys.args values (32020, 173, 'res_0', 'bigint', 64, 0, 0, 0); 607 ! 593 insert into sys.args values (32004, 173, 'res_0', 'bigint', 64, 0, 0, 0); 593
608 insert into sys.args values (32021, 173, 'arg_1', 'any', 0, 0, 1, 1); 608 ! 594 insert into sys.args values (32005, 173, 'arg_1', 'boolean', 1, 0, 1, 1); 594
609 insert into sys.args values (32022, 173, 'arg_2', 'int', 32, 0, 1, 2); 609 ! 595 insert into sys.args values (32006, 173, 'arg_2', 'any', 0, 0, 1, 2); 595
610 insert into sys.args values (32023, 173, 'arg_3', 'int', 32, 0, 1, 3); 610 ! 596 insert into sys.args values (32007, 173, 'arg_3', 'int', 32, 0, 1, 3); 596
611 insert into sys.args values (32024, 173, 'arg_4', 'int', 32, 0, 1, 4); 611 ! 597 insert into sys.args values (32008, 173, 'arg_4', 'int', 32, 0, 1, 4); 597
612 insert into sys.args values (32025, 173, 'arg_5', 'double', 53, 0, 1, 5); 612 ! 598 insert into sys.args values (32009, 173, 'arg_5', 'int', 32, 0, 1, 5); 598
+ 599 insert into sys.args values (32010, 173, 'arg_6', 'bigint', 64, 0, 1, 6); 599
613 insert into sys.functions values (174, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 613 600 insert into sys.functions values (174, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 600
614 insert into sys.args values (32026, 174, 'res_0', 'bigint', 64, 0, 0, 0); 614 ! 601 insert into sys.args values (32011, 174, 'res_0', 'bigint', 64, 0, 0, 0); 601
615 insert into sys.args values (32027, 174, 'arg_1', 'boolean', 1, 0, 1, 1); 615 ! 602 insert into sys.args values (32012, 174, 'arg_1', 'any', 0, 0, 1, 1); 602
616 insert into sys.args values (32028, 174, 'arg_2', 'any', 0, 0, 1, 2); 616 ! 603 insert into sys.args values (32013, 174, 'arg_2', 'int', 32, 0, 1, 2); 603
617 insert into sys.args values (32029, 174, 'arg_3', 'int', 32, 0, 1, 3); 617 ! 604 insert into sys.args values (32014, 174, 'arg_3', 'int', 32, 0, 1, 3); 604
618 insert into sys.args values (32030, 174, 'arg_4', 'int', 32, 0, 1, 4); 618 ! 605 insert into sys.args values (32015, 174, 'arg_4', 'int', 32, 0, 1, 4); 605
619 insert into sys.args values (32031, 174, 'arg_5', 'int', 32, 0, 1, 5); 619 ! 606 insert into sys.args values (32016, 174, 'arg_5', 'real', 24, 0, 1, 5); 606
620 insert into sys.args values (32032, 174, 'arg_6', 'double', 53, 0, 1, 6); 620 -
621 insert into sys.functions values (175, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 621 607 insert into sys.functions values (175, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 607
622 insert into sys.args values (32033, 175, 'res_0', 'bigint', 64, 0, 0, 0); 622 ! 608 insert into sys.args values (32017, 175, 'res_0', 'bigint', 64, 0, 0, 0); 608
623 insert into sys.args values (32034, 175, 'arg_1', 'any', 0, 0, 1, 1); 623 ! 609 insert into sys.args values (32018, 175, 'arg_1', 'boolean', 1, 0, 1, 1); 609
624 insert into sys.args values (32035, 175, 'arg_2', 'int', 32, 0, 1, 2); 624 ! 610 insert into sys.args values (32019, 175, 'arg_2', 'any', 0, 0, 1, 2); 610
625 insert into sys.args values (32036, 175, 'arg_3', 'int', 32, 0, 1, 3); 625 ! 611 insert into sys.args values (32020, 175, 'arg_3', 'int', 32, 0, 1, 3); 611
626 insert into sys.args values (32037, 175, 'arg_4', 'int', 32, 0, 1, 4); 626 ! 612 insert into sys.args values (32021, 175, 'arg_4', 'int', 32, 0, 1, 4); 612
627 insert into sys.args values (32038, 175, 'arg_5', 'hugeint', 128, 0, 1, 5); 627 ! 613 insert into sys.args values (32022, 175, 'arg_5', 'int', 32, 0, 1, 5); 613
+ 614 insert into sys.args values (32023, 175, 'arg_6', 'real', 24, 0, 1, 6); 614
628 insert into sys.functions values (176, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 628 615 insert into sys.functions values (176, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 615
629 insert into sys.args values (32039, 176, 'res_0', 'bigint', 64, 0, 0, 0); 629 ! 616 insert into sys.args values (32024, 176, 'res_0', 'bigint', 64, 0, 0, 0); 616
630 insert into sys.args values (32040, 176, 'arg_1', 'boolean', 1, 0, 1, 1); 630 ! 617 insert into sys.args values (32025, 176, 'arg_1', 'any', 0, 0, 1, 1); 617
631 insert into sys.args values (32041, 176, 'arg_2', 'any', 0, 0, 1, 2); 631 ! 618 insert into sys.args values (32026, 176, 'arg_2', 'int', 32, 0, 1, 2); 618
632 insert into sys.args values (32042, 176, 'arg_3', 'int', 32, 0, 1, 3); 632 ! 619 insert into sys.args values (32027, 176, 'arg_3', 'int', 32, 0, 1, 3); 619
633 insert into sys.args values (32043, 176, 'arg_4', 'int', 32, 0, 1, 4); 633 ! 620 insert into sys.args values (32028, 176, 'arg_4', 'int', 32, 0, 1, 4); 620
634 insert into sys.args values (32044, 176, 'arg_5', 'int', 32, 0, 1, 5); 634 ! 621 insert into sys.args values (32029, 176, 'arg_5', 'double', 53, 0, 1, 5); 621
635 insert into sys.args values (32045, 176, 'arg_6', 'hugeint', 128, 0, 1, 6); 635 -
636 insert into sys.functions values (177, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 636 622 insert into sys.functions values (177, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 622
637 insert into sys.args values (32046, 177, 'res_0', 'bigint', 64, 0, 0, 0); 637 ! 623 insert into sys.args values (32030, 177, 'res_0', 'bigint', 64, 0, 0, 0); 623
638 insert into sys.args values (32047, 177, 'arg_1', 'any', 0, 0, 1, 1); 638 ! 624 insert into sys.args values (32031, 177, 'arg_1', 'boolean', 1, 0, 1, 1); 624
639 insert into sys.args values (32048, 177, 'arg_2', 'int', 32, 0, 1, 2); 639 ! 625 insert into sys.args values (32032, 177, 'arg_2', 'any', 0, 0, 1, 2); 625
640 insert into sys.args values (32049, 177, 'arg_3', 'int', 32, 0, 1, 3); 640 ! 626 insert into sys.args values (32033, 177, 'arg_3', 'int', 32, 0, 1, 3); 626
641 insert into sys.args values (32050, 177, 'arg_4', 'int', 32, 0, 1, 4); 641 ! 627 insert into sys.args values (32034, 177, 'arg_4', 'int', 32, 0, 1, 4); 627
642 insert into sys.args values (32051, 177, 'arg_5', 'decimal', 2, 0, 1, 5); 642 ! 628 insert into sys.args values (32035, 177, 'arg_5', 'int', 32, 0, 1, 5); 628
+ 629 insert into sys.args values (32036, 177, 'arg_6', 'double', 53, 0, 1, 6); 629
643 insert into sys.functions values (178, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 643 630 insert into sys.functions values (178, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 630
644 insert into sys.args values (32052, 178, 'res_0', 'bigint', 64, 0, 0, 0); 644 ! 631 insert into sys.args values (32037, 178, 'res_0', 'bigint', 64, 0, 0, 0); 631
645 insert into sys.args values (32053, 178, 'arg_1', 'boolean', 1, 0, 1, 1); 645 ! 632 insert into sys.args values (32038, 178, 'arg_1', 'any', 0, 0, 1, 1); 632
646 insert into sys.args values (32054, 178, 'arg_2', 'any', 0, 0, 1, 2); 646 ! 633 insert into sys.args values (32039, 178, 'arg_2', 'int', 32, 0, 1, 2); 633
647 insert into sys.args values (32055, 178, 'arg_3', 'int', 32, 0, 1, 3); 647 ! 634 insert into sys.args values (32040, 178, 'arg_3', 'int', 32, 0, 1, 3); 634
648 insert into sys.args values (32056, 178, 'arg_4', 'int', 32, 0, 1, 4); 648 ! 635 insert into sys.args values (32041, 178, 'arg_4', 'int', 32, 0, 1, 4); 635
649 insert into sys.args values (32057, 178, 'arg_5', 'int', 32, 0, 1, 5); 649 ! 636 insert into sys.args values (32042, 178, 'arg_5', 'hugeint', 128, 0, 1, 5); 636
650 insert into sys.args values (32058, 178, 'arg_6', 'decimal', 2, 0, 1, 6); 650 -
651 insert into sys.functions values (179, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 651 637 insert into sys.functions values (179, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 637
652 insert into sys.args values (32059, 179, 'res_0', 'bigint', 64, 0, 0, 0); 652 ! 638 insert into sys.args values (32043, 179, 'res_0', 'bigint', 64, 0, 0, 0); 638
653 insert into sys.args values (32060, 179, 'arg_1', 'any', 0, 0, 1, 1); 653 ! 639 insert into sys.args values (32044, 179, 'arg_1', 'boolean', 1, 0, 1, 1); 639
654 insert into sys.args values (32061, 179, 'arg_2', 'int', 32, 0, 1, 2); 654 ! 640 insert into sys.args values (32045, 179, 'arg_2', 'any', 0, 0, 1, 2); 640
655 insert into sys.args values (32062, 179, 'arg_3', 'int', 32, 0, 1, 3); 655 ! 641 insert into sys.args values (32046, 179, 'arg_3', 'int', 32, 0, 1, 3); 641
656 insert into sys.args values (32063, 179, 'arg_4', 'int', 32, 0, 1, 4); 656 ! 642 insert into sys.args values (32047, 179, 'arg_4', 'int', 32, 0, 1, 4); 642
657 insert into sys.args values (32064, 179, 'arg_5', 'decimal', 4, 0, 1, 5); 657 ! 643 insert into sys.args values (32048, 179, 'arg_5', 'int', 32, 0, 1, 5); 643
+ 644 insert into sys.args values (32049, 179, 'arg_6', 'hugeint', 128, 0, 1, 6); 644
658 insert into sys.functions values (180, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 658 645 insert into sys.functions values (180, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 645
659 insert into sys.args values (32065, 180, 'res_0', 'bigint', 64, 0, 0, 0); 659 ! 646 insert into sys.args values (32050, 180, 'res_0', 'bigint', 64, 0, 0, 0); 646
660 insert into sys.args values (32066, 180, 'arg_1', 'boolean', 1, 0, 1, 1); 660 ! 647 insert into sys.args values (32051, 180, 'arg_1', 'any', 0, 0, 1, 1); 647
661 insert into sys.args values (32067, 180, 'arg_2', 'any', 0, 0, 1, 2); 661 ! 648 insert into sys.args values (32052, 180, 'arg_2', 'int', 32, 0, 1, 2); 648
662 insert into sys.args values (32068, 180, 'arg_3', 'int', 32, 0, 1, 3); 662 ! 649 insert into sys.args values (32053, 180, 'arg_3', 'int', 32, 0, 1, 3); 649
663 insert into sys.args values (32069, 180, 'arg_4', 'int', 32, 0, 1, 4); 663 ! 650 insert into sys.args values (32054, 180, 'arg_4', 'int', 32, 0, 1, 4); 650
664 insert into sys.args values (32070, 180, 'arg_5', 'int', 32, 0, 1, 5); 664 ! 651 insert into sys.args values (32055, 180, 'arg_5', 'decimal', 2, 0, 1, 5); 651
665 insert into sys.args values (32071, 180, 'arg_6', 'decimal', 4, 0, 1, 6); 665 -
666 insert into sys.functions values (181, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 666 652 insert into sys.functions values (181, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 652
667 insert into sys.args values (32072, 181, 'res_0', 'bigint', 64, 0, 0, 0); 667 ! 653 insert into sys.args values (32056, 181, 'res_0', 'bigint', 64, 0, 0, 0); 653
668 insert into sys.args values (32073, 181, 'arg_1', 'any', 0, 0, 1, 1); 668 ! 654 insert into sys.args values (32057, 181, 'arg_1', 'boolean', 1, 0, 1, 1); 654
669 insert into sys.args values (32074, 181, 'arg_2', 'int', 32, 0, 1, 2); 669 ! 655 insert into sys.args values (32058, 181, 'arg_2', 'any', 0, 0, 1, 2); 655
670 insert into sys.args values (32075, 181, 'arg_3', 'int', 32, 0, 1, 3); 670 ! 656 insert into sys.args values (32059, 181, 'arg_3', 'int', 32, 0, 1, 3); 656
671 insert into sys.args values (32076, 181, 'arg_4', 'int', 32, 0, 1, 4); 671 ! 657 insert into sys.args values (32060, 181, 'arg_4', 'int', 32, 0, 1, 4); 657
672 insert into sys.args values (32077, 181, 'arg_5', 'decimal', 9, 0, 1, 5); 672 ! 658 insert into sys.args values (32061, 181, 'arg_5', 'int', 32, 0, 1, 5); 658
+ 659 insert into sys.args values (32062, 181, 'arg_6', 'decimal', 2, 0, 1, 6); 659
673 insert into sys.functions values (182, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 673 660 insert into sys.functions values (182, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 660
674 insert into sys.args values (32078, 182, 'res_0', 'bigint', 64, 0, 0, 0); 674 ! 661 insert into sys.args values (32063, 182, 'res_0', 'bigint', 64, 0, 0, 0); 661
675 insert into sys.args values (32079, 182, 'arg_1', 'boolean', 1, 0, 1, 1); 675 ! 662 insert into sys.args values (32064, 182, 'arg_1', 'any', 0, 0, 1, 1); 662
676 insert into sys.args values (32080, 182, 'arg_2', 'any', 0, 0, 1, 2); 676 ! 663 insert into sys.args values (32065, 182, 'arg_2', 'int', 32, 0, 1, 2); 663
677 insert into sys.args values (32081, 182, 'arg_3', 'int', 32, 0, 1, 3); 677 ! 664 insert into sys.args values (32066, 182, 'arg_3', 'int', 32, 0, 1, 3); 664
678 insert into sys.args values (32082, 182, 'arg_4', 'int', 32, 0, 1, 4); 678 ! 665 insert into sys.args values (32067, 182, 'arg_4', 'int', 32, 0, 1, 4); 665
679 insert into sys.args values (32083, 182, 'arg_5', 'int', 32, 0, 1, 5); 679 ! 666 insert into sys.args values (32068, 182, 'arg_5', 'decimal', 4, 0, 1, 5); 666
680 insert into sys.args values (32084, 182, 'arg_6', 'decimal', 9, 0, 1, 6); 680 -
681 insert into sys.functions values (183, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 681 667 insert into sys.functions values (183, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 667
682 insert into sys.args values (32085, 183, 'res_0', 'bigint', 64, 0, 0, 0); 682 ! 668 insert into sys.args values (32069, 183, 'res_0', 'bigint', 64, 0, 0, 0); 668
683 insert into sys.args values (32086, 183, 'arg_1', 'any', 0, 0, 1, 1); 683 ! 669 insert into sys.args values (32070, 183, 'arg_1', 'boolean', 1, 0, 1, 1); 669
684 insert into sys.args values (32087, 183, 'arg_2', 'int', 32, 0, 1, 2); 684 ! 670 insert into sys.args values (32071, 183, 'arg_2', 'any', 0, 0, 1, 2); 670
685 insert into sys.args values (32088, 183, 'arg_3', 'int', 32, 0, 1, 3); 685 ! 671 insert into sys.args values (32072, 183, 'arg_3', 'int', 32, 0, 1, 3); 671
686 insert into sys.args values (32089, 183, 'arg_4', 'int', 32, 0, 1, 4); 686 ! 672 insert into sys.args values (32073, 183, 'arg_4', 'int', 32, 0, 1, 4); 672
687 insert into sys.args values (32090, 183, 'arg_5', 'decimal', 18, 0, 1, 5); 687 ! 673 insert into sys.args values (32074, 183, 'arg_5', 'int', 32, 0, 1, 5); 673
+ 674 insert into sys.args values (32075, 183, 'arg_6', 'decimal', 4, 0, 1, 6); 674
688 insert into sys.functions values (184, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 688 675 insert into sys.functions values (184, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 675
689 insert into sys.args values (32091, 184, 'res_0', 'bigint', 64, 0, 0, 0); 689 ! 676 insert into sys.args values (32076, 184, 'res_0', 'bigint', 64, 0, 0, 0); 676
690 insert into sys.args values (32092, 184, 'arg_1', 'boolean', 1, 0, 1, 1); 690 ! 677 insert into sys.args values (32077, 184, 'arg_1', 'any', 0, 0, 1, 1); 677
691 insert into sys.args values (32093, 184, 'arg_2', 'any', 0, 0, 1, 2); 691 ! 678 insert into sys.args values (32078, 184, 'arg_2', 'int', 32, 0, 1, 2); 678
692 insert into sys.args values (32094, 184, 'arg_3', 'int', 32, 0, 1, 3); 692 ! 679 insert into sys.args values (32079, 184, 'arg_3', 'int', 32, 0, 1, 3); 679
693 insert into sys.args values (32095, 184, 'arg_4', 'int', 32, 0, 1, 4); 693 ! 680 insert into sys.args values (32080, 184, 'arg_4', 'int', 32, 0, 1, 4); 680
694 insert into sys.args values (32096, 184, 'arg_5', 'int', 32, 0, 1, 5); 694 ! 681 insert into sys.args values (32081, 184, 'arg_5', 'decimal', 9, 0, 1, 5); 681
695 insert into sys.args values (32097, 184, 'arg_6', 'decimal', 18, 0, 1, 6); 695 -
696 insert into sys.functions values (185, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 696 682 insert into sys.functions values (185, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 682
697 insert into sys.args values (32098, 185, 'res_0', 'bigint', 64, 0, 0, 0); 697 ! 683 insert into sys.args values (32082, 185, 'res_0', 'bigint', 64, 0, 0, 0); 683
698 insert into sys.args values (32099, 185, 'arg_1', 'any', 0, 0, 1, 1); 698 ! 684 insert into sys.args values (32083, 185, 'arg_1', 'boolean', 1, 0, 1, 1); 684
699 insert into sys.args values (32100, 185, 'arg_2', 'int', 32, 0, 1, 2); 699 ! 685 insert into sys.args values (32084, 185, 'arg_2', 'any', 0, 0, 1, 2); 685
700 insert into sys.args values (32101, 185, 'arg_3', 'int', 32, 0, 1, 3); 700 ! 686 insert into sys.args values (32085, 185, 'arg_3', 'int', 32, 0, 1, 3); 686
701 insert into sys.args values (32102, 185, 'arg_4', 'int', 32, 0, 1, 4); 701 ! 687 insert into sys.args values (32086, 185, 'arg_4', 'int', 32, 0, 1, 4); 687
702 insert into sys.args values (32103, 185, 'arg_5', 'decimal', 38, 0, 1, 5); 702 ! 688 insert into sys.args values (32087, 185, 'arg_5', 'int', 32, 0, 1, 5); 688
+ 689 insert into sys.args values (32088, 185, 'arg_6', 'decimal', 9, 0, 1, 6); 689
703 insert into sys.functions values (186, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 703 690 insert into sys.functions values (186, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 690
704 insert into sys.args values (32104, 186, 'res_0', 'bigint', 64, 0, 0, 0); 704 ! 691 insert into sys.args values (32089, 186, 'res_0', 'bigint', 64, 0, 0, 0); 691
705 insert into sys.args values (32105, 186, 'arg_1', 'boolean', 1, 0, 1, 1); 705 ! 692 insert into sys.args values (32090, 186, 'arg_1', 'any', 0, 0, 1, 1); 692
706 insert into sys.args values (32106, 186, 'arg_2', 'any', 0, 0, 1, 2); 706 ! 693 insert into sys.args values (32091, 186, 'arg_2', 'int', 32, 0, 1, 2); 693
707 insert into sys.args values (32107, 186, 'arg_3', 'int', 32, 0, 1, 3); 707 ! 694 insert into sys.args values (32092, 186, 'arg_3', 'int', 32, 0, 1, 3); 694
708 insert into sys.args values (32108, 186, 'arg_4', 'int', 32, 0, 1, 4); 708 ! 695 insert into sys.args values (32093, 186, 'arg_4', 'int', 32, 0, 1, 4); 695
709 insert into sys.args values (32109, 186, 'arg_5', 'int', 32, 0, 1, 5); 709 ! 696 insert into sys.args values (32094, 186, 'arg_5', 'decimal', 18, 0, 1, 5); 696
710 insert into sys.args values (32110, 186, 'arg_6', 'decimal', 38, 0, 1, 6); 710 -
711 insert into sys.functions values (187, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 711 697 insert into sys.functions values (187, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 697
712 insert into sys.args values (32111, 187, 'res_0', 'bigint', 64, 0, 0, 0); 712 ! 698 insert into sys.args values (32095, 187, 'res_0', 'bigint', 64, 0, 0, 0); 698
713 insert into sys.args values (32112, 187, 'arg_1', 'any', 0, 0, 1, 1); 713 ! 699 insert into sys.args values (32096, 187, 'arg_1', 'boolean', 1, 0, 1, 1); 699
714 insert into sys.args values (32113, 187, 'arg_2', 'int', 32, 0, 1, 2); 714 ! 700 insert into sys.args values (32097, 187, 'arg_2', 'any', 0, 0, 1, 2); 700
715 insert into sys.args values (32114, 187, 'arg_3', 'int', 32, 0, 1, 3); 715 ! 701 insert into sys.args values (32098, 187, 'arg_3', 'int', 32, 0, 1, 3); 701
716 insert into sys.args values (32115, 187, 'arg_4', 'int', 32, 0, 1, 4); 716 ! 702 insert into sys.args values (32099, 187, 'arg_4', 'int', 32, 0, 1, 4); 702
717 insert into sys.args values (32116, 187, 'arg_5', 'month_interval', 32, 0, 1, 5); 717 ! 703 insert into sys.args values (32100, 187, 'arg_5', 'int', 32, 0, 1, 5); 703
+ 704 insert into sys.args values (32101, 187, 'arg_6', 'decimal', 18, 0, 1, 6); 704
718 insert into sys.functions values (188, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 718 705 insert into sys.functions values (188, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 705
719 insert into sys.args values (32117, 188, 'res_0', 'bigint', 64, 0, 0, 0); 719 ! 706 insert into sys.args values (32102, 188, 'res_0', 'bigint', 64, 0, 0, 0); 706
720 insert into sys.args values (32118, 188, 'arg_1', 'boolean', 1, 0, 1, 1); 720 ! 707 insert into sys.args values (32103, 188, 'arg_1', 'any', 0, 0, 1, 1); 707
721 insert into sys.args values (32119, 188, 'arg_2', 'any', 0, 0, 1, 2); 721 ! 708 insert into sys.args values (32104, 188, 'arg_2', 'int', 32, 0, 1, 2); 708
722 insert into sys.args values (32120, 188, 'arg_3', 'int', 32, 0, 1, 3); 722 ! 709 insert into sys.args values (32105, 188, 'arg_3', 'int', 32, 0, 1, 3); 709
723 insert into sys.args values (32121, 188, 'arg_4', 'int', 32, 0, 1, 4); 723 ! 710 insert into sys.args values (32106, 188, 'arg_4', 'int', 32, 0, 1, 4); 710
724 insert into sys.args values (32122, 188, 'arg_5', 'int', 32, 0, 1, 5); 724 ! 711 insert into sys.args values (32107, 188, 'arg_5', 'decimal', 38, 0, 1, 5); 711
725 insert into sys.args values (32123, 188, 'arg_6', 'month_interval', 32, 0, 1, 6); 725 -
726 insert into sys.functions values (189, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 726 712 insert into sys.functions values (189, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 712
727 insert into sys.args values (32124, 189, 'res_0', 'bigint', 64, 0, 0, 0); 727 ! 713 insert into sys.args values (32108, 189, 'res_0', 'bigint', 64, 0, 0, 0); 713
728 insert into sys.args values (32125, 189, 'arg_1', 'any', 0, 0, 1, 1); 728 ! 714 insert into sys.args values (32109, 189, 'arg_1', 'boolean', 1, 0, 1, 1); 714
729 insert into sys.args values (32126, 189, 'arg_2', 'int', 32, 0, 1, 2); 729 ! 715 insert into sys.args values (32110, 189, 'arg_2', 'any', 0, 0, 1, 2); 715
730 insert into sys.args values (32127, 189, 'arg_3', 'int', 32, 0, 1, 3); 730 ! 716 insert into sys.args values (32111, 189, 'arg_3', 'int', 32, 0, 1, 3); 716
731 insert into sys.args values (32128, 189, 'arg_4', 'int', 32, 0, 1, 4); 731 ! 717 insert into sys.args values (32112, 189, 'arg_4', 'int', 32, 0, 1, 4); 717
732 insert into sys.args values (32129, 189, 'arg_5', 'sec_interval', 13, 0, 1, 5); 732 ! 718 insert into sys.args values (32113, 189, 'arg_5', 'int', 32, 0, 1, 5); 718
+ 719 insert into sys.args values (32114, 189, 'arg_6', 'decimal', 38, 0, 1, 6); 719
733 insert into sys.functions values (190, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 733 720 insert into sys.functions values (190, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 720
734 insert into sys.args values (32130, 190, 'res_0', 'bigint', 64, 0, 0, 0); 734 ! 721 insert into sys.args values (32115, 190, 'res_0', 'bigint', 64, 0, 0, 0); 721
735 insert into sys.args values (32131, 190, 'arg_1', 'boolean', 1, 0, 1, 1); 735 ! 722 insert into sys.args values (32116, 190, 'arg_1', 'any', 0, 0, 1, 1); 722
736 insert into sys.args values (32132, 190, 'arg_2', 'any', 0, 0, 1, 2); 736 ! 723 insert into sys.args values (32117, 190, 'arg_2', 'int', 32, 0, 1, 2); 723
737 insert into sys.args values (32133, 190, 'arg_3', 'int', 32, 0, 1, 3); 737 ! 724 insert into sys.args values (32118, 190, 'arg_3', 'int', 32, 0, 1, 3); 724
738 insert into sys.args values (32134, 190, 'arg_4', 'int', 32, 0, 1, 4); 738 ! 725 insert into sys.args values (32119, 190, 'arg_4', 'int', 32, 0, 1, 4); 725
739 insert into sys.args values (32135, 190, 'arg_5', 'int', 32, 0, 1, 5); 739 ! 726 insert into sys.args values (32120, 190, 'arg_5', 'month_interval', 3, 0, 1, 5); 726
740 insert into sys.args values (32136, 190, 'arg_6', 'sec_interval', 13, 0, 1, 6); 740 ! 727 insert into sys.functions values (191, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 727
741 insert into sys.functions values (191, 'rank', 'rank', 'sql', 0, 6, false, false, false, 2000, true, true); 741 ! 728 insert into sys.args values (32121, 191, 'res_0', 'bigint', 64, 0, 0, 0); 728
742 insert into sys.args values (32137, 191, 'res_0', 'int', 32, 0, 0, 0); 742 ! 729 insert into sys.args values (32122, 191, 'arg_1', 'boolean', 1, 0, 1, 1); 729
743 insert into sys.args values (32138, 191, 'arg_1', 'any', 0, 0, 1, 1); 743 ! 730 insert into sys.args values (32123, 191, 'arg_2', 'any', 0, 0, 1, 2); 730
744 insert into sys.args values (32139, 191, 'arg_2', 'boolean', 1, 0, 1, 2); 744 ! 731 insert into sys.args values (32124, 191, 'arg_3', 'int', 32, 0, 1, 3); 731
745 insert into sys.args values (32140, 191, 'arg_3', 'boolean', 1, 0, 1, 3); 745 ! 732 insert into sys.args values (32125, 191, 'arg_4', 'int', 32, 0, 1, 4); 732
746 insert into sys.functions values (192, 'dense_rank', 'dense_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 746 ! 733 insert into sys.args values (32126, 191, 'arg_5', 'int', 32, 0, 1, 5); 733
747 insert into sys.args values (32141, 192, 'res_0', 'int', 32, 0, 0, 0); 747 ! 734 insert into sys.args values (32127, 191, 'arg_6', 'month_interval', 3, 0, 1, 6); 734
748 insert into sys.args values (32142, 192, 'arg_1', 'any', 0, 0, 1, 1); 748 ! 735 insert into sys.functions values (192, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 735
749 insert into sys.args values (32143, 192, 'arg_2', 'boolean', 1, 0, 1, 2); 749 ! 736 insert into sys.args values (32128, 192, 'res_0', 'bigint', 64, 0, 0, 0); 736
750 insert into sys.args values (32144, 192, 'arg_3', 'boolean', 1, 0, 1, 3); 750 ! 737 insert into sys.args values (32129, 192, 'arg_1', 'any', 0, 0, 1, 1); 737
751 insert into sys.functions values (193, 'row_number', 'row_number', 'sql', 0, 6, false, false, false, 2000, true, true); 751 ! 738 insert into sys.args values (32130, 192, 'arg_2', 'int', 32, 0, 1, 2); 738
752 insert into sys.args values (32145, 193, 'res_0', 'int', 32, 0, 0, 0); 752 ! 739 insert into sys.args values (32131, 192, 'arg_3', 'int', 32, 0, 1, 3); 739
753 insert into sys.args values (32146, 193, 'arg_1', 'any', 0, 0, 1, 1); 753 ! 740 insert into sys.args values (32132, 192, 'arg_4', 'int', 32, 0, 1, 4); 740
754 insert into sys.args values (32147, 193, 'arg_2', 'boolean', 1, 0, 1, 2); 754 ! 741 insert into sys.args values (32133, 192, 'arg_5', 'day_interval', 4, 0, 1, 5); 741
755 insert into sys.args values (32148, 193, 'arg_3', 'boolean', 1, 0, 1, 3); 755 ! 742 insert into sys.functions values (193, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 742
756 insert into sys.functions values (194, 'percent_rank', 'percent_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 756 ! 743 insert into sys.args values (32134, 193, 'res_0', 'bigint', 64, 0, 0, 0); 743
757 insert into sys.args values (32149, 194, 'res_0', 'double', 53, 0, 0, 0); 757 ! 744 insert into sys.args values (32135, 193, 'arg_1', 'boolean', 1, 0, 1, 1); 744
758 insert into sys.args values (32150, 194, 'arg_1', 'any', 0, 0, 1, 1); 758 ! 745 insert into sys.args values (32136, 193, 'arg_2', 'any', 0, 0, 1, 2); 745
759 insert into sys.args values (32151, 194, 'arg_2', 'boolean', 1, 0, 1, 2); 759 ! 746 insert into sys.args values (32137, 193, 'arg_3', 'int', 32, 0, 1, 3); 746
760 insert into sys.args values (32152, 194, 'arg_3', 'boolean', 1, 0, 1, 3); 760 ! 747 insert into sys.args values (32138, 193, 'arg_4', 'int', 32, 0, 1, 4); 747
761 insert into sys.functions values (195, 'cume_dist', 'cume_dist', 'sql', 0, 6, false, false, false, 2000, true, true); 761 ! 748 insert into sys.args values (32139, 193, 'arg_5', 'int', 32, 0, 1, 5); 748
762 insert into sys.args values (32153, 195, 'res_0', 'double', 53, 0, 0, 0); 762 ! 749 insert into sys.args values (32140, 193, 'arg_6', 'day_interval', 4, 0, 1, 6); 749
763 insert into sys.args values (32154, 195, 'arg_1', 'any', 0, 0, 1, 1); 763 ! 750 insert into sys.functions values (194, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 750
764 insert into sys.args values (32155, 195, 'arg_2', 'boolean', 1, 0, 1, 2); 764 ! 751 insert into sys.args values (32141, 194, 'res_0', 'bigint', 64, 0, 0, 0); 751
765 insert into sys.args values (32156, 195, 'arg_3', 'boolean', 1, 0, 1, 3); 765 ! 752 insert into sys.args values (32142, 194, 'arg_1', 'any', 0, 0, 1, 1); 752
766 insert into sys.functions values (196, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 766 ! 753 insert into sys.args values (32143, 194, 'arg_2', 'int', 32, 0, 1, 2); 753
767 insert into sys.args values (32157, 196, 'res_0', 'tinyint', 8, 0, 0, 0); 767 ! 754 insert into sys.args values (32144, 194, 'arg_3', 'int', 32, 0, 1, 3); 754
768 insert into sys.args values (32158, 196, 'arg_1', 'any', 0, 0, 1, 1); 768 ! 755 insert into sys.args values (32145, 194, 'arg_4', 'int', 32, 0, 1, 4); 755
769 insert into sys.args values (32159, 196, 'arg_2', 'tinyint', 8, 0, 1, 2); 769 ! 756 insert into sys.args values (32146, 194, 'arg_5', 'sec_interval', 13, 0, 1, 5); 756
770 insert into sys.args values (32160, 196, 'arg_3', 'boolean', 1, 0, 1, 3); 770 ! 757 insert into sys.functions values (195, 'window_bound', 'window_bound', 'sql', 0, 6, false, false, false, 2000, true, true); 757
771 insert into sys.args values (32161, 196, 'arg_4', 'boolean', 1, 0, 1, 4); 771 ! 758 insert into sys.args values (32147, 195, 'res_0', 'bigint', 64, 0, 0, 0); 758
772 insert into sys.functions values (197, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 772 ! 759 insert into sys.args values (32148, 195, 'arg_1', 'boolean', 1, 0, 1, 1); 759
773 insert into sys.args values (32162, 197, 'res_0', 'smallint', 16, 0, 0, 0); 773 ! 760 insert into sys.args values (32149, 195, 'arg_2', 'any', 0, 0, 1, 2); 760
774 insert into sys.args values (32163, 197, 'arg_1', 'any', 0, 0, 1, 1); 774 ! 761 insert into sys.args values (32150, 195, 'arg_3', 'int', 32, 0, 1, 3); 761
775 insert into sys.args values (32164, 197, 'arg_2', 'smallint', 16, 0, 1, 2); 775 ! 762 insert into sys.args values (32151, 195, 'arg_4', 'int', 32, 0, 1, 4); 762
776 insert into sys.args values (32165, 197, 'arg_3', 'boolean', 1, 0, 1, 3); 776 ! 763 insert into sys.args values (32152, 195, 'arg_5', 'int', 32, 0, 1, 5); 763
777 insert into sys.args values (32166, 197, 'arg_4', 'boolean', 1, 0, 1, 4); 777 ! 764 insert into sys.args values (32153, 195, 'arg_6', 'sec_interval', 13, 0, 1, 6); 764
778 insert into sys.functions values (198, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 778 ! 765 insert into sys.functions values (196, 'rank', 'rank', 'sql', 0, 6, false, false, false, 2000, true, true); 765
779 insert into sys.args values (32167, 198, 'res_0', 'int', 32, 0, 0, 0); 779 ! 766 insert into sys.args values (32154, 196, 'res_0', 'int', 32, 0, 0, 0); 766
780 insert into sys.args values (32168, 198, 'arg_1', 'any', 0, 0, 1, 1); 780 ! 767 insert into sys.args values (32155, 196, 'arg_1', 'any', 0, 0, 1, 1); 767
781 insert into sys.args values (32169, 198, 'arg_2', 'int', 32, 0, 1, 2); 781 ! 768 insert into sys.args values (32156, 196, 'arg_2', 'boolean', 1, 0, 1, 2); 768
782 insert into sys.args values (32170, 198, 'arg_3', 'boolean', 1, 0, 1, 3); 782 ! 769 insert into sys.args values (32157, 196, 'arg_3', 'boolean', 1, 0, 1, 3); 769
783 insert into sys.args values (32171, 198, 'arg_4', 'boolean', 1, 0, 1, 4); 783 ! 770 insert into sys.functions values (197, 'dense_rank', 'dense_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 770
784 insert into sys.functions values (199, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 784 ! 771 insert into sys.args values (32158, 197, 'res_0', 'int', 32, 0, 0, 0); 771
785 insert into sys.args values (32172, 199, 'res_0', 'bigint', 64, 0, 0, 0); 785 ! 772 insert into sys.args values (32159, 197, 'arg_1', 'any', 0, 0, 1, 1); 772
786 insert into sys.args values (32173, 199, 'arg_1', 'any', 0, 0, 1, 1); 786 ! 773 insert into sys.args values (32160, 197, 'arg_2', 'boolean', 1, 0, 1, 2); 773
787 insert into sys.args values (32174, 199, 'arg_2', 'bigint', 64, 0, 1, 2); 787 ! 774 insert into sys.args values (32161, 197, 'arg_3', 'boolean', 1, 0, 1, 3); 774
788 insert into sys.args values (32175, 199, 'arg_3', 'boolean', 1, 0, 1, 3); 788 ! 775 insert into sys.functions values (198, 'row_number', 'row_number', 'sql', 0, 6, false, false, false, 2000, true, true); 775
789 insert into sys.args values (32176, 199, 'arg_4', 'boolean', 1, 0, 1, 4); 789 ! 776 insert into sys.args values (32162, 198, 'res_0', 'int', 32, 0, 0, 0); 776
790 insert into sys.functions values (200, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 790 ! 777 insert into sys.args values (32163, 198, 'arg_1', 'any', 0, 0, 1, 1); 777
791 insert into sys.args values (32177, 200, 'res_0', 'hugeint', 128, 0, 0, 0); 791 ! 778 insert into sys.args values (32164, 198, 'arg_2', 'boolean', 1, 0, 1, 2); 778
792 insert into sys.args values (32178, 200, 'arg_1', 'any', 0, 0, 1, 1); 792 ! 779 insert into sys.args values (32165, 198, 'arg_3', 'boolean', 1, 0, 1, 3); 779
793 insert into sys.args values (32179, 200, 'arg_2', 'hugeint', 128, 0, 1, 2); 793 ! 780 insert into sys.functions values (199, 'percent_rank', 'percent_rank', 'sql', 0, 6, false, false, false, 2000, true, true); 780
794 insert into sys.args values (32180, 200, 'arg_3', 'boolean', 1, 0, 1, 3); 794 ! 781 insert into sys.args values (32166, 199, 'res_0', 'double', 53, 0, 0, 0); 781
795 insert into sys.args values (32181, 200, 'arg_4', 'boolean', 1, 0, 1, 4); 795 ! 782 insert into sys.args values (32167, 199, 'arg_1', 'any', 0, 0, 1, 1); 782
insert into sys. + 783 insert into sys.args values (32168, 199, 'arg_2', 'boolean', 1, 0, 1, 2); 783
+ 784 insert into sys.args values (32169, 199, 'arg_3', 'boolean', 1, 0, 1, 3); 784
796 functions values (201, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 796 ! 785 insert into sys.functions values (200, 'cume_dist', 'cume_dist', 'sql', 0, 6, false, false, false, 2000, true, true); 785
797 insert into sys.args values (32182, 201, 'res_0', 'any', 0, 0, 0, 0); 797 ! 786 insert into sys.args values (32170, 200, 'res_0', 'double', 53, 0, 0, 0); 786
798 insert into sys.args values (32183, 201, 'arg_1', 'any', 0, 0, 1, 1); 798 ! 787 insert into sys.args values (32171, 200, 'arg_1', 'any', 0, 0, 1, 1); 787
799 insert into sys.args values (32184, 201, 'arg_2', 'boolean', 1, 0, 1, 2); 799 ! 788 insert into sys.args values (32172, 200, 'arg_2', 'boolean', 1, 0, 1, 2); 788
800 insert into sys.args values (32185, 201, 'arg_3', 'boolean', 1, 0, 1, 3); 800 ! 789 insert into sys.args values (32173, 200, 'arg_3', 'boolean', 1, 0, 1, 3); 789
801 insert into sys.functions values (202, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 801 ! 790 insert into sys.functions values (201, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 790
802 insert into sys.args values (32186, 202, 'res_0', 'any', 0, 0, 0, 0); 802 ! 791 insert into sys.args values (32174, 201, 'res_0', 'tinyint', 8, 0, 0, 0); 791
803 insert into sys.args values (32187, 202, 'arg_1', 'any', 0, 0, 1, 1); 803 ! 792 insert into sys.args values (32175, 201, 'arg_1', 'any', 0, 0, 1, 1); 792
804 insert into sys.args values (32188, 202, 'arg_2', 'tinyint', 8, 0, 1, 2); 804 ! 793 insert into sys.args values (32176, 201, 'arg_2', 'tinyint', 8, 0, 1, 2); 793
805 insert into sys.args values (32189, 202, 'arg_3', 'boolean', 1, 0, 1, 3); 805 ! 794 insert into sys.args values (32177, 201, 'arg_3', 'boolean', 1, 0, 1, 3); 794
806 insert into sys.args values (32190, 202, 'arg_4', 'boolean', 1, 0, 1, 4); 806 ! 795 insert into sys.args values (32178, 201, 'arg_4', 'boolean', 1, 0, 1, 4); 795
807 insert into sys.functions values (203, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 807 ! 796 insert into sys.functions values (202, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 796
808 insert into sys.args values (32191, 203, 'res_0', 'any', 0, 0, 0, 0); 808 ! 797 insert into sys.args values (32179, 202, 'res_0', 'smallint', 16, 0, 0, 0); 797
809 insert into sys.args values (32192, 203, 'arg_1', 'any', 0, 0, 1, 1); 809 ! 798 insert into sys.args values (32180, 202, 'arg_1', 'any', 0, 0, 1, 1); 798
810 insert into sys.args values (32193, 203, 'arg_2', 'smallint', 16, 0, 1, 2); 810 ! 799 insert into sys.args values (32181, 202, 'arg_2', 'smallint', 16, 0, 1, 2); 799
811 insert into sys.args values (32194, 203, 'arg_3', 'boolean', 1, 0, 1, 3); 811 ! 800 insert into sys.args values (32182, 202, 'arg_3', 'boolean', 1, 0, 1, 3); 800
812 insert into sys.args values (32195, 203, 'arg_4', 'boolean', 1, 0, 1, 4); 812 ! 801 insert into sys.args values (32183, 202, 'arg_4', 'boolean', 1, 0, 1, 4); 801
813 insert into sys.functions values (204, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 813 ! 802 insert into sys.functions values (203, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 802
814 insert into sys.args values (32196, 204, 'res_0', 'any', 0, 0, 0, 0); 814 ! 803 insert into sys.args values (32184, 203, 'res_0', 'int', 32, 0, 0, 0); 803
815 insert into sys.args values (32197, 204, 'arg_1', 'any', 0, 0, 1, 1); 815 ! 804 insert into sys.args values (32185, 203, 'arg_1', 'any', 0, 0, 1, 1); 804
816 insert into sys.args values (32198, 204, 'arg_2', 'int', 32, 0, 1, 2); 816 ! 805 insert into sys.args values (32186, 203, 'arg_2', 'int', 32, 0, 1, 2); 805
817 insert into sys.args values (32199, 204, 'arg_3', 'boolean', 1, 0, 1, 3); 817 ! 806 insert into sys.args values (32187, 203, 'arg_3', 'boolean', 1, 0, 1, 3); 806
818 insert into sys.args values (32200, 204, 'arg_4', 'boolean', 1, 0, 1, 4); 818 ! 807 insert into sys.args values (32188, 203, 'arg_4', 'boolean', 1, 0, 1, 4); 807
819 insert into sys.functions values (205, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 819 ! 808 insert into sys.functions values (204, 'ntile', 'ntile', 'sql', 0, 6, false, false, false, 2000, true, true); 808
820 insert into sys.args values (32201, 205, 'res_0', 'any', 0, 0, 0, 0); 820 ! 809 insert into sys.args values (32189, 204, 'res_0', 'bigint', 64, 0, 0, 0); 809
821 insert into sys.args values (32202, 205, 'arg_1', 'any', 0, 0, 1, 1); 821 ! 810 insert into sys.args values (32190, 204, 'arg_1', 'any', 0, 0, 1, 1); 810
822 insert into sys.args values (32203, 205, 'arg_2', 'bigint', 64, 0, 1, 2); 822 ! 811 insert into sys.args values (32191, 204, 'arg_2', 'bigint', 64, 0, 1, 2); 811
823 insert into sys.args values (32204, 205, 'arg_3', 'boolean', 1, 0, 1, 3); 823 ! 812 insert into sys.args values (32192, 204, 'arg_3', 'boolean', 1, 0, 1, 3); 812
824 insert into sys.args values (32205, 205, 'arg_4', 'boolean', 1, 0, 1, 4); 824 ! 813 insert into sys.args values (32193, 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 (32194, 205, 'res_0', 'hugeint', 128, 0, 0, 0); 815
+ 816 insert into sys.args values (32195, 205, 'arg_1', 'any', 0, 0, 1, 1); 816
+ 817 insert into sys.args values (32196, 205, 'arg_2', 'hugeint', 128, 0, 1, 2); 817
+ 818 insert into sys.args values (32197, 205, 'arg_3', 'boolean', 1, 0, 1, 3); 818
+ 819 insert into sys.args values (32198, 205, 'arg_4', 'boolean', 1, 0, 1, 4); 819
825 insert into sys.functions values (206, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 825 820 insert into sys.functions values (206, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 820
826 insert into sys.args values (32206, 206, 'res_0', 'any', 0, 0, 0, 0); 826 ! 821 insert into sys.args values (32199, 206, 'res_0', 'any', 0, 0, 0, 0); 821
827 insert into sys.args values (32207, 206, 'arg_1', 'any', 0, 0, 1, 1); 827 ! 822 insert into sys.args values (32200, 206, 'arg_1', 'any', 0, 0, 1, 1); 822
828 insert into sys.args values (32208, 206, 'arg_2', 'hugeint', 128, 0, 1, 2); 828 ! 823 insert into sys.args values (32201, 206, 'arg_2', 'boolean', 1, 0, 1, 2); 823
829 insert into sys.args values (32209, 206, 'arg_3', 'boolean', 1, 0, 1, 3); 829 ! 824 insert into sys.args values (32202, 206, 'arg_3', 'boolean', 1, 0, 1, 3); 824
830 insert into sys.args values (32210, 206, 'arg_4', 'boolean', 1, 0, 1, 4); 830 -
831 insert into sys.functions values (207, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 831 825 insert into sys.functions values (207, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 825
832 insert into sys.args values (32211, 207, 'res_0', 'any', 0, 0, 0, 0); 832 ! 826 insert into sys.args values (32203, 207, 'res_0', 'any', 0, 0, 0, 0); 826
833 insert into sys.args values (32212, 207, 'arg_1', 'any', 0, 0, 1, 1); 833 ! 827 insert into sys.args values (32204, 207, 'arg_1', 'any', 0, 0, 1, 1); 827
834 insert into sys.args values (32213, 207, 'arg_2', 'tinyint', 8, 0, 1, 2); 834 ! 828 insert into sys.args values (32205, 207, 'arg_2', 'tinyint', 8, 0, 1, 2); 828
835 insert into sys.args values (32214, 207, 'arg_3', 'any', 0, 0, 1, 3); 835 ! 829 insert into sys.args values (32206, 207, 'arg_3', 'boolean', 1, 0, 1, 3); 829
836 insert into sys.args values (32215, 207, 'arg_4', 'boolean', 1, 0, 1, 4); 836 ! 830 insert into sys.args values (32207, 207, 'arg_4', 'boolean', 1, 0, 1, 4); 830
837 insert into sys.args values (32216, 207, 'arg_5', 'boolean', 1, 0, 1, 5); 837 -
838 insert into sys.functions values (208, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 838 831 insert into sys.functions values (208, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 831
839 insert into sys.args values (32217, 208, 'res_0', 'any', 0, 0, 0, 0); 839 ! 832 insert into sys.args values (32208, 208, 'res_0', 'any', 0, 0, 0, 0); 832
840 insert into sys.args values (32218, 208, 'arg_1', 'any', 0, 0, 1, 1); 840 ! 833 insert into sys.args values (32209, 208, 'arg_1', 'any', 0, 0, 1, 1); 833
841 insert into sys.args values (32219, 208, 'arg_2', 'smallint', 16, 0, 1, 2); 841 ! 834 insert into sys.args values (32210, 208, 'arg_2', 'smallint', 16, 0, 1, 2); 834
842 insert into sys.args values (32220, 208, 'arg_3', 'any', 0, 0, 1, 3); 842 ! 835 insert into sys.args values (32211, 208, 'arg_3', 'boolean', 1, 0, 1, 3); 835
843 insert into sys.args values (32221, 208, 'arg_4', 'boolean', 1, 0, 1, 4); 843 ! 836 insert into sys.args values (32212, 208, 'arg_4', 'boolean', 1, 0, 1, 4); 836
844 insert into sys.args values (32222, 208, 'arg_5', 'boolean', 1, 0, 1, 5); 844 -
845 insert into sys.functions values (209, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 845 837 insert into sys.functions values (209, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 837
846 insert into sys.args values (32223, 209, 'res_0', 'any', 0, 0, 0, 0); 846 ! 838 insert into sys.args values (32213, 209, 'res_0', 'any', 0, 0, 0, 0); 838
847 insert into sys.args values (32224, 209, 'arg_1', 'any', 0, 0, 1, 1); 847 ! 839 insert into sys.args values (32214, 209, 'arg_1', 'any', 0, 0, 1, 1); 839
848 insert into sys.args values (32225, 209, 'arg_2', 'int', 32, 0, 1, 2); 848 ! 840 insert into sys.args values (32215, 209, 'arg_2', 'int', 32, 0, 1, 2); 840
849 insert into sys.args values (32226, 209, 'arg_3', 'any', 0, 0, 1, 3); 849 ! 841 insert into sys.args values (32216, 209, 'arg_3', 'boolean', 1, 0, 1, 3); 841
850 insert into sys.args values (32227, 209, 'arg_4', 'boolean', 1, 0, 1, 4); 850 ! 842 insert into sys.args values (32217, 209, 'arg_4', 'boolean', 1, 0, 1, 4); 842
851 insert into sys.args values (32228, 209, 'arg_5', 'boolean', 1, 0, 1, 5); 851 -
852 insert into sys.functions values (210, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 852 843 insert into sys.functions values (210, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 843
853 insert into sys.args values (32229, 210, 'res_0', 'any', 0, 0, 0, 0); 853 ! 844 insert into sys.args values (32218, 210, 'res_0', 'any', 0, 0, 0, 0); 844
854 insert into sys.args values (32230, 210, 'arg_1', 'any', 0, 0, 1, 1); 854 ! 845 insert into sys.args values (32219, 210, 'arg_1', 'any', 0, 0, 1, 1); 845
855 insert into sys.args values (32231, 210, 'arg_2', 'bigint', 64, 0, 1, 2); 855 ! 846 insert into sys.args values (32220, 210, 'arg_2', 'bigint', 64, 0, 1, 2); 846
856 insert into sys.args values (32232, 210, 'arg_3', 'any', 0, 0, 1, 3); 856 ! 847 insert into sys.args values (32221, 210, 'arg_3', 'boolean', 1, 0, 1, 3); 847
857 insert into sys.args values (32233, 210, 'arg_4', 'boolean', 1, 0, 1, 4); 857 ! 848 insert into sys.args values (32222, 210, 'arg_4', 'boolean', 1, 0, 1, 4); 848
858 insert into sys.args values (32234, 210, 'arg_5', 'boolean', 1, 0, 1, 5); 858 -
859 insert into sys.functions values (211, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 859 849 insert into sys.functions values (211, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 849
860 insert into sys.args values (32235, 211, 'res_0', 'any', 0, 0, 0, 0); 860 ! 850 insert into sys.args values (32223, 211, 'res_0', 'any', 0, 0, 0, 0); 850
861 insert into sys.args values (32236, 211, 'arg_1', 'any', 0, 0, 1, 1); 861 ! 851 insert into sys.args values (32224, 211, 'arg_1', 'any', 0, 0, 1, 1); 851
862 insert into sys.args values (32237, 211, 'arg_2', 'hugeint', 128, 0, 1, 2); 862 ! 852 insert into sys.args values (32225, 211, 'arg_2', 'hugeint', 128, 0, 1, 2); 852
863 insert into sys.args values (32238, 211, 'arg_3', 'any', 0, 0, 1, 3); 863 ! 853 insert into sys.args values (32226, 211, 'arg_3', 'boolean', 1, 0, 1, 3); 853
864 insert into sys.args values (32239, 211, 'arg_4', 'boolean', 1, 0, 1, 4); 864 ! 854 insert into sys.args values (32227, 211, 'arg_4', 'boolean', 1, 0, 1, 4); 854
865 insert into sys.args values (32240, 211, 'arg_5', 'boolean', 1, 0, 1, 5); 865 ! 855 insert into sys.functions values (212, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 855
866 insert into sys.functions values (212, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 866 ! 856 insert into sys.args values (32228, 212, 'res_0', 'any', 0, 0, 0, 0); 856
867 insert into sys.args values (32241, 212, 'res_0', 'any', 0, 0, 0, 0); 867 ! 857 insert into sys.args values (32229, 212, 'arg_1', 'any', 0, 0, 1, 1); 857
868 insert into sys.args values (32242, 212, 'arg_1', 'any', 0, 0, 1, 1); 868 ! 858 insert into sys.args values (32230, 212, 'arg_2', 'tinyint', 8, 0, 1, 2); 858
869 insert into sys.args values (32243, 212, 'arg_2', 'boolean', 1, 0, 1, 2); 869 ! 859 insert into sys.args values (32231, 212, 'arg_3', 'any', 0, 0, 1, 3); 859
870 insert into sys.args values (32244, 212, 'arg_3', 'boolean', 1, 0, 1, 3); 870 ! 860 insert into sys.args values (32232, 212, 'arg_4', 'boolean', 1, 0, 1, 4); 860
insert into sys. + 861 insert into sys.args values (32233, 212, 'arg_5', 'boolean', 1, 0, 1, 5); 861
871 functions values (213, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 871 ! 862 insert into sys.functions values (213, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 862
872 insert into sys.args values (32245, 213, 'res_0', 'any', 0, 0, 0, 0); 872 ! 863 insert into sys.args values (32234, 213, 'res_0', 'any', 0, 0, 0, 0); 863
873 insert into sys.args values (32246, 213, 'arg_1', 'any', 0, 0, 1, 1); 873 ! 864 insert into sys.args values (32235, 213, 'arg_1', 'any', 0, 0, 1, 1); 864
874 insert into sys.args values (32247, 213, 'arg_2', 'tinyint', 8, 0, 1, 2); 874 ! 865 insert into sys.args values (32236, 213, 'arg_2', 'smallint', 16, 0, 1, 2); 865
875 insert into sys.args values (32248, 213, 'arg_3', 'boolean', 1, 0, 1, 3); 875 ! 866 insert into sys.args values (32237, 213, 'arg_3', 'any', 0, 0, 1, 3); 866
876 insert into sys.args values (32249, 213, 'arg_4', 'boolean', 1, 0, 1, 4); 876 ! 867 insert into sys.args values (32238, 213, 'arg_4', 'boolean', 1, 0, 1, 4); 867
+ 868 insert into sys.args values (32239, 213, 'arg_5', 'boolean', 1, 0, 1, 5); 868
877 insert into sys.functions values (214, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 877 ! 869 insert into sys.functions values (214, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 869
878 insert into sys.args values (32250, 214, 'res_0', 'any', 0, 0, 0, 0); 878 ! 870 insert into sys.args values (32240, 214, 'res_0', 'any', 0, 0, 0, 0); 870
879 insert into sys.args values (32251, 214, 'arg_1', 'any', 0, 0, 1, 1); 879 ! 871 insert into sys.args values (32241, 214, 'arg_1', 'any', 0, 0, 1, 1); 871
880 insert into sys.args values (32252, 214, 'arg_2', 'smallint', 16, 0, 1, 2); 880 ! 872 insert into sys.args values (32242, 214, 'arg_2', 'int', 32, 0, 1, 2); 872
881 insert into sys.args values (32253, 214, 'arg_3', 'boolean', 1, 0, 1, 3); 881 ! 873 insert into sys.args values (32243, 214, 'arg_3', 'any', 0, 0, 1, 3); 873
882 insert into sys.args values (32254, 214, 'arg_4', 'boolean', 1, 0, 1, 4); 882 ! 874 insert into sys.args values (32244, 214, 'arg_4', 'boolean', 1, 0, 1, 4); 874
+ 875 insert into sys.args values (32245, 214, 'arg_5', 'boolean', 1, 0, 1, 5); 875
883 insert into sys.functions values (215, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 883 ! 876 insert into sys.functions values (215, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 876
884 insert into sys.args values (32255, 215, 'res_0', 'any', 0, 0, 0, 0); 884 ! 877 insert into sys.args values (32246, 215, 'res_0', 'any', 0, 0, 0, 0); 877
885 insert into sys.args values (32256, 215, 'arg_1', 'any', 0, 0, 1, 1); 885 ! 878 insert into sys.args values (32247, 215, 'arg_1', 'any', 0, 0, 1, 1); 878
886 insert into sys.args values (32257, 215, 'arg_2', 'int', 32, 0, 1, 2); 886 ! 879 insert into sys.args values (32248, 215, 'arg_2', 'bigint', 64, 0, 1, 2); 879
887 insert into sys.args values (32258, 215, 'arg_3', 'boolean', 1, 0, 1, 3); 887 ! 880 insert into sys.args values (32249, 215, 'arg_3', 'any', 0, 0, 1, 3); 880
888 insert into sys.args values (32259, 215, 'arg_4', 'boolean', 1, 0, 1, 4); 888 ! 881 insert into sys.args values (32250, 215, 'arg_4', 'boolean', 1, 0, 1, 4); 881
+ 882 insert into sys.args values (32251, 215, 'arg_5', 'boolean', 1, 0, 1, 5); 882
889 insert into sys.functions values (216, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 889 ! 883 insert into sys.functions values (216, 'lag', 'lag', 'sql', 0, 6, false, false, false, 2000, true, true); 883
890 insert into sys.args values (32260, 216, 'res_0', 'any', 0, 0, 0, 0); 890 ! 884 insert into sys.args values (32252, 216, 'res_0', 'any', 0, 0, 0, 0); 884
891 insert into sys.args values (32261, 216, 'arg_1', 'any', 0, 0, 1, 1); 891 ! 885 insert into sys.args values (32253, 216, 'arg_1', 'any', 0, 0, 1, 1); 885
892 insert into sys.args values (32262, 216, 'arg_2', 'bigint', 64, 0, 1, 2); 892 ! 886 insert into sys.args values (32254, 216, 'arg_2', 'hugeint', 128, 0, 1, 2); 886
893 insert into sys.args values (32263, 216, 'arg_3', 'boolean', 1, 0, 1, 3); 893 ! 887 insert into sys.args values (32255, 216, 'arg_3', 'any', 0, 0, 1, 3); 887
894 insert into sys.args values (32264, 216, 'arg_4', 'boolean', 1, 0, 1, 4); 894 ! 888 insert into sys.args values (32256, 216, 'arg_4', 'boolean', 1, 0, 1, 4); 888
+ 889 insert into sys.args values (32257, 216, 'arg_5', 'boolean', 1, 0, 1, 5); 889
895 insert into sys.functions values (217, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 895 890 insert into sys.functions values (217, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 890
896 insert into sys.args values (32265, 217, 'res_0', 'any', 0, 0, 0, 0); 896 ! 891 insert into sys.args values (32258, 217, 'res_0', 'any', 0, 0, 0, 0); 891
897 insert into sys.args values (32266, 217, 'arg_1', 'any', 0, 0, 1, 1); 897 ! 892 insert into sys.args values (32259, 217, 'arg_1', 'any', 0, 0, 1, 1); 892
898 insert into sys.args values (32267, 217, 'arg_2', 'hugeint', 128, 0, 1, 2); 898 ! 893 insert into sys.args values (32260, 217, 'arg_2', 'boolean', 1, 0, 1, 2); 893
899 insert into sys.args values (32268, 217, 'arg_3', 'boolean', 1, 0, 1, 3); 899 ! 894 insert into sys.args values (32261, 217, 'arg_3', 'boolean', 1, 0, 1, 3); 894
900 insert into sys.args values (32269, 217, 'arg_4', 'boolean', 1, 0, 1, 4); 900 -
901 insert into sys.functions values (218, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 901 895 insert into sys.functions values (218, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 895
902 insert into sys.args values (32270, 218, 'res_0', 'any', 0, 0, 0, 0); 902 ! 896 insert into sys.args values (32262, 218, 'res_0', 'any', 0, 0, 0, 0); 896
903 insert into sys.args values (32271, 218, 'arg_1', 'any', 0, 0, 1, 1); 903 ! 897 insert into sys.args values (32263, 218, 'arg_1', 'any', 0, 0, 1, 1); 897
904 insert into sys.args values (32272, 218, 'arg_2', 'tinyint', 8, 0, 1, 2); 904 ! 898 insert into sys.args values (32264, 218, 'arg_2', 'tinyint', 8, 0, 1, 2); 898
905 insert into sys.args values (32273, 218, 'arg_3', 'any', 0, 0, 1, 3); 905 ! 899 insert into sys.args values (32265, 218, 'arg_3', 'boolean', 1, 0, 1, 3); 899
906 insert into sys.args values (32274, 218, 'arg_4', 'boolean', 1, 0, 1, 4); 906 ! 900 insert into sys.args values (32266, 218, 'arg_4', 'boolean', 1, 0, 1, 4); 900
907 insert into sys.args values (32275, 218, 'arg_5', 'boolean', 1, 0, 1, 5); 907 -
908 insert into sys.functions values (219, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 908 901 insert into sys.functions values (219, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 901
909 insert into sys.args values (32276, 219, 'res_0', 'any', 0, 0, 0, 0); 909 ! 902 insert into sys.args values (32267, 219, 'res_0', 'any', 0, 0, 0, 0); 902
910 insert into sys.args values (32277, 219, 'arg_1', 'any', 0, 0, 1, 1); 910 ! 903 insert into sys.args values (32268, 219, 'arg_1', 'any', 0, 0, 1, 1); 903
911 insert into sys.args values (32278, 219, 'arg_2', 'smallint', 16, 0, 1, 2); 911 ! 904 insert into sys.args values (32269, 219, 'arg_2', 'smallint', 16, 0, 1, 2); 904
912 insert into sys.args values (32279, 219, 'arg_3', 'any', 0, 0, 1, 3); 912 ! 905 insert into sys.args values (32270, 219, 'arg_3', 'boolean', 1, 0, 1, 3); 905
913 insert into sys.args values (32280, 219, 'arg_4', 'boolean', 1, 0, 1, 4); 913 ! 906 insert into sys.args values (32271, 219, 'arg_4', 'boolean', 1, 0, 1, 4); 906
914 insert into sys.args values (32281, 219, 'arg_5', 'boolean', 1, 0, 1, 5); 914 -
915 insert into sys.functions values (220, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 915 907 insert into sys.functions values (220, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 907
916 insert into sys.args values (32282, 220, 'res_0', 'any', 0, 0, 0, 0); 916 ! 908 insert into sys.args values (32272, 220, 'res_0', 'any', 0, 0, 0, 0); 908
917 insert into sys.args values (32283, 220, 'arg_1', 'any', 0, 0, 1, 1); 917 ! 909 insert into sys.args values (32273, 220, 'arg_1', 'any', 0, 0, 1, 1); 909
918 insert into sys.args values (32284, 220, 'arg_2', 'int', 32, 0, 1, 2); 918 ! 910 insert into sys.args values (32274, 220, 'arg_2', 'int', 32, 0, 1, 2); 910
919 insert into sys.args values (32285, 220, 'arg_3', 'any', 0, 0, 1, 3); 919 ! 911 insert into sys.args values (32275, 220, 'arg_3', 'boolean', 1, 0, 1, 3); 911
920 insert into sys.args values (32286, 220, 'arg_4', 'boolean', 1, 0, 1, 4); 920 ! 912 insert into sys.args values (32276, 220, 'arg_4', 'boolean', 1, 0, 1, 4); 912
921 insert into sys.args values (32287, 220, 'arg_5', 'boolean', 1, 0, 1, 5); 921 -
922 insert into sys.functions values (221, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 922 913 insert into sys.functions values (221, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 913
923 insert into sys.args values (32288, 221, 'res_0', 'any', 0, 0, 0, 0); 923 ! 914 insert into sys.args values (32277, 221, 'res_0', 'any', 0, 0, 0, 0); 914
924 insert into sys.args values (32289, 221, 'arg_1', 'any', 0, 0, 1, 1); 924 ! 915 insert into sys.args values (32278, 221, 'arg_1', 'any', 0, 0, 1, 1); 915
925 insert into sys.args values (32290, 221, 'arg_2', 'bigint', 64, 0, 1, 2); 925 ! 916 insert into sys.args values (32279, 221, 'arg_2', 'bigint', 64, 0, 1, 2); 916
926 insert into sys.args values (32291, 221, 'arg_3', 'any', 0, 0, 1, 3); 926 ! 917 insert into sys.args values (32280, 221, 'arg_3', 'boolean', 1, 0, 1, 3); 917
927 insert into sys.args values (32292, 221, 'arg_4', 'boolean', 1, 0, 1, 4); 927 ! 918 insert into sys.args values (32281, 221, 'arg_4', 'boolean', 1, 0, 1, 4); 918
928 insert into sys.args values (32293, 221, 'arg_5', 'boolean', 1, 0, 1, 5); 928 -
929 insert into sys.functions values (222, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 929 919 insert into sys.functions values (222, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 919
930 insert into sys.args values (32294, 222, 'res_0', 'any', 0, 0, 0, 0); 930 ! 920 insert into sys.args values (32282, 222, 'res_0', 'any', 0, 0, 0, 0); 920
931 insert into sys.args values (32295, 222, 'arg_1', 'any', 0, 0, 1, 1); 931 ! 921 insert into sys.args values (32283, 222, 'arg_1', 'any', 0, 0, 1, 1); 921
932 insert into sys.args values (32296, 222, 'arg_2', 'hugeint', 128, 0, 1, 2); 932 ! 922 insert into sys.args values (32284, 222, 'arg_2', 'hugeint', 128, 0, 1, 2); 922
933 insert into sys.args values (32297, 222, 'arg_3', 'any', 0, 0, 1, 3); 933 ! 923 insert into sys.args values (32285, 222, 'arg_3', 'boolean', 1, 0, 1, 3); 923
934 insert into sys.args values (32298, 222, 'arg_4', 'boolean', 1, 0, 1, 4); 934 ! 924 insert into sys.args values (32286, 222, 'arg_4', 'boolean', 1, 0, 1, 4); 924
935 insert into sys.args values (32299, 222, 'arg_5', 'boolean', 1, 0, 1, 5); 935 ! 925 insert into sys.functions values (223, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 925
936 insert into sys.functions values (223, 'first_value', 'first_value', 'sql', 0, 6, false, false, false, 2000, true, true); 936 ! 926 insert into sys.args values (32287, 223, 'res_0', 'any', 0, 0, 0, 0); 926
937 insert into sys.args values (32300, 223, 'res_0', 'any', 0, 0, 0, 0); 937 ! 927 insert into sys.args values (32288, 223, 'arg_1', 'any', 0, 0, 1, 1); 927
938 insert into sys.args values (32301, 223, 'arg_1', 'any', 0, 0, 1, 1); 938 ! 928 insert into sys.args values (32289, 223, 'arg_2', 'tinyint', 8, 0, 1, 2); 928
939 insert into sys.functions values (224, 'last_value', 'last_value', 'sql', 0, 6, false, false, false, 2000, true, true); 939 ! 929 insert into sys.args values (32290, 223, 'arg_3', 'any', 0, 0, 1, 3); 929
940 insert into sys.args values (32302, 224, 'res_0', 'any', 0, 0, 0, 0); 940 ! 930 insert into sys.args values (32291, 223, 'arg_4', 'boolean', 1, 0, 1, 4); 930
941 insert into sys.args values (32303, 224, 'arg_1', 'any', 0, 0, 1, 1); 941 ! 931 insert into sys.args values (32292, 223, 'arg_5', 'boolean', 1, 0, 1, 5); 931
942 insert into sys.functions values (225, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 942 ! 932 insert into sys.functions values (224, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 932
943 insert into sys.args values (32304, 225, 'res_0', 'any', 0, 0, 0, 0); 943 ! 933 insert into sys.args values (32293, 224, 'res_0', 'any', 0, 0, 0, 0); 933
944 insert into sys.args values (32305, 225, 'arg_1', 'any', 0, 0, 1, 1); 944 ! 934 insert into sys.args values (32294, 224, 'arg_1', 'any', 0, 0, 1, 1); 934
945 insert into sys.args values (32306, 225, 'arg_2', 'tinyint', 8, 0, 1, 2); 945 ! 935 insert into sys.args values (32295, 224, 'arg_2', 'smallint', 16, 0, 1, 2); 935
946 insert into sys.functions values (226, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 946 ! 936 insert into sys.args values (32296, 224, 'arg_3', 'any', 0, 0, 1, 3); 936
947 insert into sys.args values (32307, 226, 'res_0', 'any', 0, 0, 0, 0); 947 ! 937 insert into sys.args values (32297, 224, 'arg_4', 'boolean', 1, 0, 1, 4); 937
948 insert into sys.args values (32308, 226, 'arg_1', 'any', 0, 0, 1, 1); 948 ! 938 insert into sys.args values (32298, 224, 'arg_5', 'boolean', 1, 0, 1, 5); 938
949 insert into sys.args values (32309, 226, 'arg_2', 'smallint', 16, 0, 1, 2); 949 ! 939 insert into sys.functions values (225, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 939
950 insert into sys.functions values (227, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 950 ! 940 insert into sys.args values (32299, 225, 'res_0', 'any', 0, 0, 0, 0); 940
951 insert into sys.args values (32310, 227, 'res_0', 'any', 0, 0, 0, 0); 951 ! 941 insert into sys.args values (32300, 225, 'arg_1', 'any', 0, 0, 1, 1); 941
952 insert into sys.args values (32311, 227, 'arg_1', 'any', 0, 0, 1, 1); 952 ! 942 insert into sys.args values (32301, 225, 'arg_2', 'int', 32, 0, 1, 2); 942
953 insert into sys.args values (32312, 227, 'arg_2', 'int', 32, 0, 1, 2); 953 ! 943 insert into sys.args values (32302, 225, 'arg_3', 'any', 0, 0, 1, 3); 943
954 insert into sys.functions values (228, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 954 ! 944 insert into sys.args values (32303, 225, 'arg_4', 'boolean', 1, 0, 1, 4); 944
955 insert into sys.args values (32313, 228, 'res_0', 'any', 0, 0, 0, 0); 955 ! 945 insert into sys.args values (32304, 225, 'arg_5', 'boolean', 1, 0, 1, 5); 945
956 insert into sys.args values (32314, 228, 'arg_1', 'any', 0, 0, 1, 1); 956 ! 946 insert into sys.functions values (226, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 946
957 insert into sys.args values (32315, 228, 'arg_2', 'bigint', 64, 0, 1, 2); 957 ! 947 insert into sys.args values (32305, 226, 'res_0', 'any', 0, 0, 0, 0); 947
958 insert into sys.functions values (229, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 958 ! 948 insert into sys.args values (32306, 226, 'arg_1', 'any', 0, 0, 1, 1); 948
959 insert into sys.args values (32316, 229, 'res_0', 'any', 0, 0, 0, 0); 959 ! 949 insert into sys.args values (32307, 226, 'arg_2', 'bigint', 64, 0, 1, 2); 949
960 insert into sys.args values (32317, 229, 'arg_1', 'any', 0, 0, 1, 1); 960 ! 950 insert into sys.args values (32308, 226, 'arg_3', 'any', 0, 0, 1, 3); 950
961 insert into sys.args values (32318, 229, 'arg_2', 'hugeint', 128, 0, 1, 2); 961 ! 951 insert into sys.args values (32309, 226, 'arg_4', 'boolean', 1, 0, 1, 4); 951
962 insert into sys.functions values (230, 'count', 'count', 'sql', 0, 6, false, false, false, 2000, true, true); 962 ! 952 insert into sys.args values (32310, 226, 'arg_5', 'boolean', 1, 0, 1, 5); 952
963 insert into sys.args values (32319, 230, 'res_0', 'bigint', 64, 0, 0, 0); 963 ! 953 insert into sys.functions values (227, 'lead', 'lead', 'sql', 0, 6, false, false, false, 2000, true, true); 953
964 insert into sys.args values (32320, 230, 'arg_1', 'any', 0, 0, 1, 1); 964 ! 954 insert into sys.args values (32311, 227, 'res_0', 'any', 0, 0, 0, 0); 954
965 insert into sys.args values (32321, 230, 'arg_2', 'boolean', 1, 0, 1, 2); 965 ! 955 insert into sys.args values (32312, 227, 'arg_1', 'any', 0, 0, 1, 1); 955
966 insert into sys.functions values (231, 'min', 'min', 'sql', 0, 6, false, false, false, 2000, true, true); 966 ! 956 insert into sys.args values (32313, 227, 'arg_2', 'hugeint', 128, 0, 1, 2); 956
967 insert into sys.args values (32322, 231, 'res_0', 'any', 0, 0, 0, 0); 967 ! 957 insert into sys.args values (32314, 227, 'arg_3', 'any', 0, 0, 1, 3); 957
968 insert into sys.args values (32323, 231, 'arg_1', 'any', 0, 0, 1, 1); 968 ! 958 insert into sys.args values (32315, 227, 'arg_4', 'boolean', 1, 0, 1, 4); 958
insert into sys. + 959 insert into sys.args values (32316, 227, 'arg_5', 'boolean', 1, 0, 1, 5); 959
969 functions values (232, 'max', 'max', 'sql', 0, 6, false, false, false, 2000, true, true); 969 ! 960 insert into sys.functions values (228, 'first_value', 'first_value', 'sql', 0, 6, false, false, false, 2000, true, true); 960
970 insert into sys.args values (32324, 232, 'res_0', 'any', 0, 0, 0, 0); 970 ! 961 insert into sys.args values (32317, 228, 'res_0', 'any', 0, 0, 0, 0); 961
971 insert into sys.args values (32325, 232, 'arg_1', 'any', 0, 0, 1, 1); 971 ! 962 insert into sys.args values (32318, 228, 'arg_1', 'any', 0, 0, 1, 1); 962
972 insert into sys.functions values (233, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 972 ! 963 insert into sys.functions values (229, 'last_value', 'last_value', 'sql', 0, 6, false, false, false, 2000, true, true); 963
973 insert into sys.args values (32326, 233, 'res_0', 'hugeint', 128, 0, 0, 0); 973 ! 964 insert into sys.args values (32319, 229, 'res_0', 'any', 0, 0, 0, 0); 964
974 insert into sys.args values (32327, 233, 'arg_1', 'tinyint', 8, 0, 1, 1); 974 ! 965 insert into sys.args values (32320, 229, 'arg_1', 'any', 0, 0, 1, 1); 965
975 insert into sys.functions values (234, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 975 ! 966 insert into sys.functions values (230, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 966
976 insert into sys.args values (32328, 234, 'res_0', 'hugeint', 128, 0, 0, 0); 976 ! 967 insert into sys.args values (32321, 230, 'res_0', 'any', 0, 0, 0, 0); 967
977 insert into sys.args values (32329, 234, 'arg_1', 'smallint', 16, 0, 1, 1); 977 ! 968 insert into sys.args values (32322, 230, 'arg_1', 'any', 0, 0, 1, 1); 968
+ 969 insert into sys.args values (32323, 230, 'arg_2', 'tinyint', 8, 0, 1, 2); 969
978 insert into sys.functions values (235, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 978 ! 970 insert into sys.functions values (231, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 970
979 insert into sys.args values (32330, 235, 'res_0', 'hugeint', 128, 0, 0, 0); 979 ! 971 insert into sys.args values (32324, 231, 'res_0', 'any', 0, 0, 0, 0); 971
980 insert into sys.args values (32331, 235, 'arg_1', 'int', 32, 0, 1, 1); 980 ! 972 insert into sys.args values (32325, 231, 'arg_1', 'any', 0, 0, 1, 1); 972
+ 973 insert into sys.args values (32326, 231, 'arg_2', 'smallint', 16, 0, 1, 2); 973
981 insert into sys.functions values (236, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 981 ! 974 insert into sys.functions values (232, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 974
982 insert into sys.args values (32332, 236, 'res_0', 'hugeint', 128, 0, 0, 0); 982 ! 975 insert into sys.args values (32327, 232, 'res_0', 'any', 0, 0, 0, 0); 975
983 insert into sys.args values (32333, 236, 'arg_1', 'bigint', 64, 0, 1, 1); 983 ! 976 insert into sys.args values (32328, 232, 'arg_1', 'any', 0, 0, 1, 1); 976
+ 977 insert into sys.args values (32329, 232, 'arg_2', 'int', 32, 0, 1, 2); 977
984 insert into sys.functions values (237, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 984 ! 978 insert into sys.functions values (233, 'nth_value', 'nth_value', 'sql', 0, 6, false, false, false, 2000, true, true); 978
985 insert into sys.args values (32334, 237, 'res_0', 'hugeint', 128, 0, 0, 0); 985 ! 979 insert into sys.args values (32330, 233, 'res_0', 'any', 0, 0, 0, 0); 979
986 insert into sys.args values (32335, 237, 'arg_1', 'hugeint', 128, 0, 1, 1); 986 ! 980 insert into sys.args values (32331, 233, 'arg_1', 'any', 0, 0, 1, 1); 980
+ 981 insert into sys.args values (32332, 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 (32333, 234, 'res_0', 'any', 0, 0, 0, 0); 983
+ 984 insert into sys.args values (32334, 234, 'arg_1', 'any', 0, 0, 1, 1); 984
+ 985 insert into sys.args values (32335, 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 (32336, 235, 'res_0', 'bigint', 64, 0, 0, 0); 987
+ 988 insert into sys.args values (32337, 235, 'arg_1', 'any', 0, 0, 1, 1); 988
+ 989 insert into sys.args values (32338, 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 (32339, 236, 'res_0', 'any', 0, 0, 0, 0); 991
+ 992 insert into sys.args values (32340, 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 (32341, 237, 'res_0', 'any', 0, 0, 0, 0); 994
+ 995 insert into sys.args values (32342, 237, 'arg_1', 'any', 0, 0, 1, 1); 995
987 insert into sys.functions values (238, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 987 996 insert into sys.functions values (238, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 996
988 insert into sys.args values (32336, 238, 'res_0', 'decimal', 38, 0, 0, 0); 988 ! 997 insert into sys.args values (32343, 238, 'res_0', 'hugeint', 128, 0, 0, 0); 997
989 insert into sys.args values (32337, 238, 'arg_1', 'decimal', 2, 0, 1, 1); 989 ! 998 insert into sys.args values (32344, 238, 'arg_1', 'tinyint', 8, 0, 1, 1); 998
990 insert into sys.functions values (239, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 990 999 insert into sys.functions values (239, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 999
991 insert into sys.args values (32338, 239, 'res_0', 'decimal', 38, 0, 0, 0); 991 ! 1000 insert into sys.args values (32345, 239, 'res_0', 'hugeint', 128, 0, 0, 0); 1000
992 insert into sys.args values (32339, 239, 'arg_1', 'decimal', 4, 0, 1, 1); 992 ! 1001 insert into sys.args values (32346, 239, 'arg_1', 'smallint', 16, 0, 1, 1); 1001
993 insert into sys.functions values (240, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 993 1002 insert into sys.functions values (240, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1002
994 insert into sys.args values (32340, 240, 'res_0', 'decimal', 38, 0, 0, 0); 994 ! 1003 insert into sys.args values (32347, 240, 'res_0', 'hugeint', 128, 0, 0, 0); 1003
995 insert into sys.args values (32341, 240, 'arg_1', 'decimal', 9, 0, 1, 1); 995 ! 1004 insert into sys.args values (32348, 240, 'arg_1', 'int', 32, 0, 1, 1); 1004
996 insert into sys.functions values (241, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 996 1005 insert into sys.functions values (241, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1005
997 insert into sys.args values (32342, 241, 'res_0', 'decimal', 38, 0, 0, 0); 997 ! 1006 insert into sys.args values (32349, 241, 'res_0', 'hugeint', 128, 0, 0, 0); 1006
998 insert into sys.args values (32343, 241, 'arg_1', 'decimal', 18, 0, 1, 1); 998 ! 1007 insert into sys.args values (32350, 241, 'arg_1', 'bigint', 64, 0, 1, 1); 1007
999 insert into sys.functions values (242, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 999 1008 insert into sys.functions values (242, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1008
1000 insert into sys.args values (32344, 242, 'res_0', 'decimal', 38, 0, 0, 0); 1000 ! 1009 insert into sys.args values (32351, 242, 'res_0', 'hugeint', 128, 0, 0, 0); 1009
1001 insert into sys.args values (32345, 242, 'arg_1', 'decimal', 38, 0, 1, 1); 1001 ! 1010 insert into sys.args values (32352, 242, 'arg_1', 'hugeint', 128, 0, 1, 1); 1010
1002 insert into sys.functions values (243, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1002 ! 1011 insert into sys.functions values (243, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1011
1003 insert into sys.args values (32346, 243, 'res_0', 'hugeint', 128, 0, 0, 0); 1003 ! 1012 insert into sys.args values (32353, 243, 'res_0', 'decimal', 38, 0, 0, 0); 1012
1004 insert into sys.args values (32347, 243, 'arg_1', 'tinyint', 8, 0, 1, 1); 1004 ! 1013 insert into sys.args values (32354, 243, 'arg_1', 'decimal', 2, 0, 1, 1); 1013
1005 insert into sys.functions values (244, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1005 ! 1014 insert into sys.functions values (244, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1014
1006 insert into sys.args values (32348, 244, 'res_0', 'hugeint', 128, 0, 0, 0); 1006 ! 1015 insert into sys.args values (32355, 244, 'res_0', 'decimal', 38, 0, 0, 0); 1015
1007 insert into sys.args values (32349, 244, 'arg_1', 'smallint', 16, 0, 1, 1); 1007 ! 1016 insert into sys.args values (32356, 244, 'arg_1', 'decimal', 4, 0, 1, 1); 1016
1008 insert into sys.functions values (245, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1008 ! 1017 insert into sys.functions values (245, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1017
1009 insert into sys.args values (32350, 245, 'res_0', 'hugeint', 128, 0, 0, 0); 1009 ! 1018 insert into sys.args values (32357, 245, 'res_0', 'decimal', 38, 0, 0, 0); 1018
1010 insert into sys.args values (32351, 245, 'arg_1', 'int', 32, 0, 1, 1); 1010 ! 1019 insert into sys.args values (32358, 245, 'arg_1', 'decimal', 9, 0, 1, 1); 1019
1011 insert into sys.functions values (246, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1011 ! 1020 insert into sys.functions values (246, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1020
1012 insert into sys.args values (32352, 246, 'res_0', 'hugeint', 128, 0, 0, 0); 1012 ! 1021 insert into sys.args values (32359, 246, 'res_0', 'decimal', 38, 0, 0, 0); 1021
1013 insert into sys.args values (32353, 246, 'arg_1', 'bigint', 64, 0, 1, 1); 1013 ! 1022 insert into sys.args values (32360, 246, 'arg_1', 'decimal', 18, 0, 1, 1); 1022
1014 insert into sys.functions values (247, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1014 ! 1023 insert into sys.functions values (247, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1023
1015 insert into sys.args values (32354, 247, 'res_0', 'hugeint', 128, 0, 0, 0); 1015 ! 1024 insert into sys.args values (32361, 247, 'res_0', 'decimal', 38, 0, 0, 0); 1024
1016 insert into sys.args values (32355, 247, 'arg_1', 'hugeint', 128, 0, 1, 1); 1016 ! 1025 insert into sys.args values (32362, 247, 'arg_1', 'decimal', 38, 0, 1, 1); 1025
1017 insert into sys.functions values (248, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1017 ! 1026 insert into sys.functions values (248, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1026
1018 insert into sys.args values (32356, 248, 'res_0', 'real', 24, 0, 0, 0); 1018 ! 1027 insert into sys.args values (32363, 248, 'res_0', 'hugeint', 128, 0, 0, 0); 1027
1019 insert into sys.args values (32357, 248, 'arg_1', 'real', 24, 0, 1, 1); 1019 ! 1028 insert into sys.args values (32364, 248, 'arg_1', 'tinyint', 8, 0, 1, 1); 1028
1020 insert into sys.functions values (249, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1020 1029 insert into sys.functions values (249, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1029
1021 insert into sys.args values (32358, 249, 'res_0', 'real', 24, 0, 0, 0); 1021 ! 1030 insert into sys.args values (32365, 249, 'res_0', 'hugeint', 128, 0, 0, 0); 1030
1022 insert into sys.args values (32359, 249, 'arg_1', 'real', 24, 0, 1, 1); 1022 ! 1031 insert into sys.args values (32366, 249, 'arg_1', 'smallint', 16, 0, 1, 1); 1031
1023 insert into sys.functions values (250, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1023 ! 1032 insert into sys.functions values (250, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1032
1024 insert into sys.args values (32360, 250, 'res_0', 'double', 53, 0, 0, 0); 1024 ! 1033 insert into sys.args values (32367, 250, 'res_0', 'hugeint', 128, 0, 0, 0); 1033
1025 insert into sys.args values (32361, 250, 'arg_1', 'double', 53, 0, 1, 1); 1025 ! 1034 insert into sys.args values (32368, 250, 'arg_1', 'int', 32, 0, 1, 1); 1034
1026 insert into sys.functions values (251, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1026 1035 insert into sys.functions values (251, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1035
1027 insert into sys.args values (32362, 251, 'res_0', 'double', 53, 0, 0, 0); 1027 ! 1036 insert into sys.args values (32369, 251, 'res_0', 'hugeint', 128, 0, 0, 0); 1036
1028 insert into sys.args values (32363, 251, 'arg_1', 'double', 53, 0, 1, 1); 1028 ! 1037 insert into sys.args values (32370, 251, 'arg_1', 'bigint', 64, 0, 1, 1); 1037
1029 insert into sys.functions values (252, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1029 ! 1038 insert into sys.functions values (252, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1038
1030 insert into sys.args values (32364, 252, 'res_0', 'month_interval', 32, 0, 0, 0); 1030 ! 1039 insert into sys.args values (32371, 252, 'res_0', 'hugeint', 128, 0, 0, 0); 1039
1031 insert into sys.args values (32365, 252, 'arg_1', 'month_interval', 32, 0, 1, 1); 1031 ! 1040 insert into sys.args values (32372, 252, 'arg_1', 'hugeint', 128, 0, 1, 1); 1040
1032 insert into sys.functions values (253, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1032 1041 insert into sys.functions values (253, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1041
1033 insert into sys.args values (32366, 253, 'res_0', 'sec_interval', 13, 0, 0, 0); 1033 ! 1042 insert into sys.args values (32373, 253, 'res_0', 'real', 24, 0, 0, 0); 1042
1034 insert into sys.args values (32367, 253, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1034 ! 1043 insert into sys.args values (32374, 253, 'arg_1', 'real', 24, 0, 1, 1); 1043
1035 insert into sys.functions values (254, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1035 ! 1044 insert into sys.functions values (254, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1044
1036 insert into sys.args values (32368, 254, 'res_0', 'double', 53, 0, 0, 0); 1036 ! 1045 insert into sys.args values (32375, 254, 'res_0', 'real', 24, 0, 0, 0); 1045
1037 insert into sys.args values (32369, 254, 'arg_1', 'double', 53, 0, 1, 1); 1037 ! 1046 insert into sys.args values (32376, 254, 'arg_1', 'real', 24, 0, 1, 1); 1046
1038 insert into sys.functions values (255, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1038 ! 1047 insert into sys.functions values (255, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1047
1039 insert into sys.args values (32370, 255, 'res_0', 'double', 53, 0, 0, 0); 1039 ! 1048 insert into sys.args values (32377, 255, 'res_0', 'double', 53, 0, 0, 0); 1048
1040 insert into sys.args values (32371, 255, 'arg_1', 'tinyint', 8, 0, 1, 1); 1040 ! 1049 insert into sys.args values (32378, 255, 'arg_1', 'double', 53, 0, 1, 1); 1049
1041 insert into sys.functions values (256, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1041 ! 1050 insert into sys.functions values (256, 'prod', 'prod', 'sql', 0, 6, false, false, false, 2000, true, true); 1050
1042 insert into sys.args values (32372, 256, 'res_0', 'double', 53, 0, 0, 0); 1042 ! 1051 insert into sys.args values (32379, 256, 'res_0', 'double', 53, 0, 0, 0); 1051
1043 insert into sys.args values (32373, 256, 'arg_1', 'smallint', 16, 0, 1, 1); 1043 ! 1052 insert into sys.args values (32380, 256, 'arg_1', 'double', 53, 0, 1, 1); 1052
1044 insert into sys.functions values (257, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1044 ! 1053 insert into sys.functions values (257, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1053
1045 insert into sys.args values (32374, 257, 'res_0', 'double', 53, 0, 0, 0); 1045 ! 1054 insert into sys.args values (32381, 257, 'res_0', 'month_interval', 3, 0, 0, 0); 1054
1046 insert into sys.args values (32375, 257, 'arg_1', 'int', 32, 0, 1, 1); 1046 ! 1055 insert into sys.args values (32382, 257, 'arg_1', 'month_interval', 3, 0, 1, 1); 1055
1047 insert into sys.functions values (258, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1047 ! 1056 insert into sys.functions values (258, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1056
1048 insert into sys.args values (32376, 258, 'res_0', 'double', 53, 0, 0, 0); 1048 ! 1057 insert into sys.args values (32383, 258, 'res_0', 'day_interval', 4, 0, 0, 0); 1057
1049 insert into sys.args values (32377, 258, 'arg_1', 'bigint', 64, 0, 1, 1); 1049 ! 1058 insert into sys.args values (32384, 258, 'arg_1', 'day_interval', 4, 0, 1, 1); 1058
1050 insert into sys.functions values (259, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1050 ! 1059 insert into sys.functions values (259, 'sum', 'sum', 'sql', 0, 6, false, false, false, 2000, true, true); 1059
1051 insert into sys.args values (32378, 259, 'res_0', 'double', 53, 0, 0, 0); 1051 ! 1060 insert into sys.args values (32385, 259, 'res_0', 'sec_interval', 13, 0, 0, 0); 1060
1052 insert into sys.args values (32379, 259, 'arg_1', 'hugeint', 128, 0, 1, 1); 1052 ! 1061 insert into sys.args values (32386, 259, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1061
1053 insert into sys.functions values (260, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1053 1062 insert into sys.functions values (260, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1062
1054 insert into sys.args values (32380, 260, 'res_0', 'double', 53, 0, 0, 0); 1054 ! 1063 insert into sys.args values (32387, 260, 'res_0', 'double', 53, 0, 0, 0); 1063
1055 insert into sys.args values (32381, 260, 'arg_1', 'real', 24, 0, 1, 1); 1055 ! 1064 insert into sys.args values (32388, 260, 'arg_1', 'double', 53, 0, 1, 1); 1064
1056 insert into sys.functions values (261, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1056 1065 insert into sys.functions values (261, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1065
1057 insert into sys.args values (32382, 261, 'res_0', 'decimal', 2, 0, 0, 0); 1057 ! 1066 insert into sys.args values (32389, 261, 'res_0', 'double', 53, 0, 0, 0); 1066
1058 insert into sys.args values (32383, 261, 'arg_1', 'decimal', 2, 0, 1, 1); 1058 ! 1067 insert into sys.args values (32390, 261, 'arg_1', 'tinyint', 8, 0, 1, 1); 1067
1059 insert into sys.functions values (262, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1059 1068 insert into sys.functions values (262, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1068
1060 insert into sys.args values (32384, 262, 'res_0', 'decimal', 4, 0, 0, 0); 1060 ! 1069 insert into sys.args values (32391, 262, 'res_0', 'double', 53, 0, 0, 0); 1069
1061 insert into sys.args values (32385, 262, 'arg_1', 'decimal', 4, 0, 1, 1); 1061 ! 1070 insert into sys.args values (32392, 262, 'arg_1', 'smallint', 16, 0, 1, 1); 1070
1062 insert into sys.functions values (263, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1062 1071 insert into sys.functions values (263, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1071
1063 insert into sys.args values (32386, 263, 'res_0', 'decimal', 9, 0, 0, 0); 1063 ! 1072 insert into sys.args values (32393, 263, 'res_0', 'double', 53, 0, 0, 0); 1072
1064 insert into sys.args values (32387, 263, 'arg_1', 'decimal', 9, 0, 1, 1); 1064 ! 1073 insert into sys.args values (32394, 263, 'arg_1', 'int', 32, 0, 1, 1); 1073
1065 insert into sys.functions values (264, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1065 1074 insert into sys.functions values (264, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1074
1066 insert into sys.args values (32388, 264, 'res_0', 'decimal', 18, 0, 0, 0); 1066 ! 1075 insert into sys.args values (32395, 264, 'res_0', 'double', 53, 0, 0, 0); 1075
1067 insert into sys.args values (32389, 264, 'arg_1', 'decimal', 18, 0, 1, 1); 1067 ! 1076 insert into sys.args values (32396, 264, 'arg_1', 'bigint', 64, 0, 1, 1); 1076
1068 insert into sys.functions values (265, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1068 1077 insert into sys.functions values (265, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1077
1069 insert into sys.args values (32390, 265, 'res_0', 'decimal', 38, 0, 0, 0); 1069 ! 1078 insert into sys.args values (32397, 265, 'res_0', 'double', 53, 0, 0, 0); 1078
1070 insert into sys.args values (32391, 265, 'arg_1', 'decimal', 38, 0, 1, 1); 1070 ! 1079 insert into sys.args values (32398, 265, 'arg_1', 'hugeint', 128, 0, 1, 1); 1079
1071 insert into sys.functions values (266, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1071 1080 insert into sys.functions values (266, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1080
1072 insert into sys.args values (32392, 266, 'res_0', 'month_interval', 32, 0, 0, 0); 1072 ! 1081 insert into sys.args values (32399, 266, 'res_0', 'double', 53, 0, 0, 0); 1081
1073 insert into sys.args values (32393, 266, 'arg_1', 'month_interval', 32, 0, 1, 1); 1073 ! 1082 insert into sys.args values (32400, 266, 'arg_1', 'real', 24, 0, 1, 1); 1082
1074 insert into sys.functions values (267, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1074 1083 insert into sys.functions values (267, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1083
1075 insert into sys.args values (32394, 267, 'res_0', 'sec_interval', 13, 0, 0, 0); 1075 ! 1084 insert into sys.args values (32401, 267, 'res_0', 'decimal', 2, 0, 0, 0); 1084
1076 insert into sys.args values (32395, 267, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1076 ! 1085 insert into sys.args values (32402, 267, 'arg_1', 'decimal', 2, 0, 1, 1); 1085
1077 insert into sys.functions values (268, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1077 ! 1086 insert into sys.functions values (268, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1086
1078 insert into sys.args values (32396, 268, 'res_0', 'char', 0, 0, 0, 0); 1078 ! 1087 insert into sys.args values (32403, 268, 'res_0', 'decimal', 4, 0, 0, 0); 1087
1079 insert into sys.args values (32397, 268, 'arg_1', 'char', 0, 0, 1, 1); 1079 ! 1088 insert into sys.args values (32404, 268, 'arg_1', 'decimal', 4, 0, 1, 1); 1088
1080 insert into sys.functions values (269, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1080 ! 1089 insert into sys.functions values (269, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1089
1081 insert into sys.args values (32398, 269, 'res_0', 'char', 0, 0, 0, 0); 1081 ! 1090 insert into sys.args values (32405, 269, 'res_0', 'decimal', 9, 0, 0, 0); 1090
1082 insert into sys.args values (32399, 269, 'arg_1', 'char', 0, 0, 1, 1); 1082 ! 1091 insert into sys.args values (32406, 269, 'arg_1', 'decimal', 9, 0, 1, 1); 1091
1083 insert into sys.args values (32400, 269, 'arg_2', 'char', 0, 0, 1, 2); 1083 ! 1092 insert into sys.functions values (270, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1092
1084 insert into sys.functions values (270, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1084 -
1085 insert into sys.args values (32401, 270, 'res_0', 'varchar', 0, 0, 0, 0); 1085 ! 1093 insert into sys.args values (32407, 270, 'res_0', 'decimal', 18, 0, 0, 0); 1093
1086 insert into sys.args values (32402, 270, 'arg_1', 'varchar', 0, 0, 1, 1); 1086 ! 1094 insert into sys.args values (32408, 270, 'arg_1', 'decimal', 18, 0, 1, 1); 1094
1087 insert into sys.functions values (271, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1087 ! 1095 insert into sys.functions values (271, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1095
1088 insert into sys.args values (32403, 271, 'res_0', 'varchar', 0, 0, 0, 0); 1088 ! 1096 insert into sys.args values (32409, 271, 'res_0', 'decimal', 38, 0, 0, 0); 1096
1089 insert into sys.args values (32404, 271, 'arg_1', 'varchar', 0, 0, 1, 1); 1089 ! 1097 insert into sys.args values (32410, 271, 'arg_1', 'decimal', 38, 0, 1, 1); 1097
1090 insert into sys.args values (32405, 271, 'arg_2', 'varchar', 0, 0, 1, 2); 1090 -
1091 insert into sys.functions values (272, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1091 ! 1098 insert into sys.functions values (272, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1098
1092 insert into sys.args values (32406, 272, 'res_0', 'clob', 0, 0, 0, 0); 1092 ! 1099 insert into sys.args values (32411, 272, 'res_0', 'month_interval', 3, 0, 0, 0); 1099
1093 insert into sys.args values (32407, 272, 'arg_1', 'clob', 0, 0, 1, 1); 1093 ! 1100 insert into sys.args values (32412, 272, 'arg_1', 'month_interval', 3, 0, 1, 1); 1100
1094 insert into sys.functions values (273, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1094 ! 1101 insert into sys.functions values (273, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1101
1095 insert into sys.args values (32408, 273, 'res_0', 'clob', 0, 0, 0, 0); 1095 ! 1102 insert into sys.args values (32413, 273, 'res_0', 'day_interval', 4, 0, 0, 0); 1102
1096 insert into sys.args values (32409, 273, 'arg_1', 'clob', 0, 0, 1, 1); 1096 ! 1103 insert into sys.args values (32414, 273, 'arg_1', 'day_interval', 4, 0, 1, 1); 1103
1097 insert into sys.args values (32410, 273, 'arg_2', 'clob', 0, 0, 1, 2); 1097 -
1098 insert into sys.functions values (274, 'and', 'and', 'calc', 0, 1, false, false, false, 2000, true, true); 1098 ! 1104 insert into sys.functions values (274, 'avg', 'avg', 'sql', 0, 6, false, false, false, 2000, true, true); 1104
1099 insert into sys.args values (32411, 274, 'res_0', 'boolean', 1, 0, 0, 0); 1099 ! 1105 insert into sys.args values (32415, 274, 'res_0', 'sec_interval', 13, 0, 0, 0); 1105
1100 insert into sys.args values (32412, 274, 'arg_1', 'boolean', 1, 0, 1, 1); 1100 ! 1106 insert into sys.args values (32416, 274, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1106
1101 insert into sys.args values (32413, 274, 'arg_2', 'boolean', 1, 0, 1, 2); 1101 -
1102 insert into sys.functions values (275, 'or', 'or', 'calc', 0, 1, false, false, false, 2000, true, true); 1102 ! 1107 insert into sys.functions values (275, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1107
1103 insert into sys.args values (32414, 275, 'res_0', 'boolean', 1, 0, 0, 0); 1103 ! 1108 insert into sys.args values (32417, 275, 'res_0', 'char', 0, 0, 0, 0); 1108
1104 insert into sys.args values (32415, 275, 'arg_1', 'boolean', 1, 0, 1, 1); 1104 ! 1109 insert into sys.args values (32418, 275, 'arg_1', 'char', 0, 0, 1, 1); 1109
1105 insert into sys.args values (32416, 275, 'arg_2', 'boolean', 1, 0, 1, 2); 1105 -
1106 insert into sys.functions values (276, 'xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1106 ! 1110 insert into sys.functions values (276, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1110
1107 insert into sys.args values (32417, 276, 'res_0', 'boolean', 1, 0, 0, 0); 1107 ! 1111 insert into sys.args values (32419, 276, 'res_0', 'char', 0, 0, 0, 0); 1111
1108 insert into sys.args values (32418, 276, 'arg_1', 'boolean', 1, 0, 1, 1); 1108 ! 1112 insert into sys.args values (32420, 276, 'arg_1', 'char', 0, 0, 1, 1); 1112
1109 insert into sys.args values (32419, 276, 'arg_2', 'boolean', 1, 0, 1, 2); 1109 ! 1113 insert into sys.args values (32421, 276, 'arg_2', 'char', 0, 0, 1, 2); 1113
1110 insert into sys.functions values (277, 'not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1110 ! 1114 insert into sys.functions values (277, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1114
1111 insert into sys.args values (32420, 277, 'res_0', 'boolean', 1, 0, 0, 0); 1111 ! 1115 insert into sys.args values (32422, 277, 'res_0', 'varchar', 0, 0, 0, 0); 1115
1112 insert into sys.args values (32421, 277, 'arg_1', 'boolean', 1, 0, 1, 1); 1112 ! 1116 insert into sys.args values (32423, 277, 'arg_1', 'varchar', 0, 0, 1, 1); 1116
1113 insert into sys.functions values (278, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1113 ! 1117 insert into sys.functions values (278, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1117
1114 insert into sys.args values (32422, 278, 'res_0', 'smallint', 16, 0, 0, 0); 1114 ! 1118 insert into sys.args values (32424, 278, 'res_0', 'varchar', 0, 0, 0, 0); 1118
1115 insert into sys.args values (32423, 278, 'arg_1', 'smallint', 16, 0, 1, 1); 1115 ! 1119 insert into sys.args values (32425, 278, 'arg_1', 'varchar', 0, 0, 1, 1); 1119
1116 insert into sys.args values (32424, 278, 'arg_2', 'tinyint', 8, 0, 1, 2); 1116 ! 1120 insert into sys.args values (32426, 278, 'arg_2', 'varchar', 0, 0, 1, 2); 1120
1117 insert into sys.functions values (279, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1117 ! 1121 insert into sys.functions values (279, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1121
1118 insert into sys.args values (32425, 279, 'res_0', 'smallint', 16, 0, 0, 0); 1118 ! 1122 insert into sys.args values (32427, 279, 'res_0', 'clob', 0, 0, 0, 0); 1122
1119 insert into sys.args values (32426, 279, 'arg_1', 'tinyint', 8, 0, 1, 1); 1119 ! 1123 insert into sys.args values (32428, 279, 'arg_1', 'clob', 0, 0, 1, 1); 1123
1120 insert into sys.args values (32427, 279, 'arg_2', 'smallint', 16, 0, 1, 2); 1120 -
1121 insert into sys.functions values (280, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1121 ! 1124 insert into sys.functions values (280, 'listagg', 'str_group_concat', 'sql', 0, 6, false, false, false, 2000, true, true); 1124
1122 insert into sys.args values (32428, 280, 'res_0', 'smallint', 16, 0, 0, 0); 1122 ! 1125 insert into sys.args values (32429, 280, 'res_0', 'clob', 0, 0, 0, 0); 1125
1123 insert into sys.args values (32429, 280, 'arg_1', 'smallint', 16, 0, 1, 1); 1123 ! 1126 insert into sys.args values (32430, 280, 'arg_1', 'clob', 0, 0, 1, 1); 1126
1124 insert into sys.args values (32430, 280, 'arg_2', 'tinyint', 8, 0, 1, 2); 1124 ! 1127 insert into sys.args values (32431, 280, 'arg_2', 'clob', 0, 0, 1, 2); 1127
1125 insert into sys.functions values (281, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1125 ! 1128 insert into sys.functions values (281, 'and', 'and', 'calc', 0, 1, false, false, false, 2000, true, true); 1128
1126 insert into sys.args values (32431, 281, 'res_0', 'int', 32, 0, 0, 0); 1126 ! 1129 insert into sys.args values (32432, 281, 'res_0', 'boolean', 1, 0, 0, 0); 1129
1127 insert into sys.args values (32432, 281, 'arg_1', 'int', 32, 0, 1, 1); 1127 ! 1130 insert into sys.args values (32433, 281, 'arg_1', 'boolean', 1, 0, 1, 1); 1130
1128 insert into sys.args values (32433, 281, 'arg_2', 'tinyint', 8, 0, 1, 2); 1128 ! 1131 insert into sys.args values (32434, 281, 'arg_2', 'boolean', 1, 0, 1, 2); 1131
1129 insert into sys.functions values (282, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1129 ! 1132 insert into sys.functions values (282, 'or', 'or', 'calc', 0, 1, false, false, false, 2000, true, true); 1132
1130 insert into sys.args values (32434, 282, 'res_0', 'int', 32, 0, 0, 0); 1130 ! 1133 insert into sys.args values (32435, 282, 'res_0', 'boolean', 1, 0, 0, 0); 1133
1131 insert into sys.args values (32435, 282, 'arg_1', 'tinyint', 8, 0, 1, 1); 1131 ! 1134 insert into sys.args values (32436, 282, 'arg_1', 'boolean', 1, 0, 1, 1); 1134
1132 insert into sys.args values (32436, 282, 'arg_2', 'int', 32, 0, 1, 2); 1132 ! 1135 insert into sys.args values (32437, 282, 'arg_2', 'boolean', 1, 0, 1, 2); 1135
1133 insert into sys.functions values (283, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1133 ! 1136 insert into sys.functions values (283, 'xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1136
1134 insert into sys.args values (32437, 283, 'res_0', 'int', 32, 0, 0, 0); 1134 ! 1137 insert into sys.args values (32438, 283, 'res_0', 'boolean', 1, 0, 0, 0); 1137
1135 insert into sys.args values (32438, 283, 'arg_1', 'int', 32, 0, 1, 1); 1135 ! 1138 insert into sys.args values (32439, 283, 'arg_1', 'boolean', 1, 0, 1, 1); 1138
1136 insert into sys.args values (32439, 283, 'arg_2', 'tinyint', 8, 0, 1, 2); 1136 ! 1139 insert into sys.args values (32440, 283, 'arg_2', 'boolean', 1, 0, 1, 2); 1139
1137 insert into sys.functions values (284, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1137 ! 1140 insert into sys.functions values (284, 'not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1140
1138 insert into sys.args values (32440, 284, 'res_0', 'int', 32, 0, 0, 0); 1138 ! 1141 insert into sys.args values (32441, 284, 'res_0', 'boolean', 1, 0, 0, 0); 1141
1139 insert into sys.args values (32441, 284, 'arg_1', 'int', 32, 0, 1, 1); 1139 ! 1142 insert into sys.args values (32442, 284, 'arg_1', 'boolean', 1, 0, 1, 1); 1142
1140 insert into sys.args values (32442, 284, 'arg_2', 'smallint', 16, 0, 1, 2); 1140 -
1141 insert into sys.functions values (285, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1141 ! 1143 insert into sys.functions values (285, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1143
1142 insert into sys.args values (32443, 285, 'res_0', 'int', 32, 0, 0, 0); 1142 ! 1144 insert into sys.args values (32443, 285, 'res_0', 'month_interval', 3, 0, 0, 0); 1144
1143 insert into sys.args values (32444, 285, 'arg_1', 'smallint', 16, 0, 1, 1); 1143 ! 1145 insert into sys.args values (32444, 285, 'arg_1', 'month_interval', 3, 0, 1, 1); 1145
1144 insert into sys.args values (32445, 285, 'arg_2', 'int', 32, 0, 1, 2); 1144 ! 1146 insert into sys.args values (32445, 285, 'arg_2', 'month_interval', 3, 0, 1, 2); 1146
1145 insert into sys.functions values (286, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1145 ! 1147 insert into sys.functions values (286, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1147
1146 insert into sys.args values (32446, 286, 'res_0', 'int', 32, 0, 0, 0); 1146 ! 1148 insert into sys.args values (32446, 286, 'res_0', 'month_interval', 3, 0, 0, 0); 1148
1147 insert into sys.args values (32447, 286, 'arg_1', 'int', 32, 0, 1, 1); 1147 ! 1149 insert into sys.args values (32447, 286, 'arg_1', 'month_interval', 3, 0, 1, 1); 1149
1148 insert into sys.args values (32448, 286, 'arg_2', 'smallint', 16, 0, 1, 2); 1148 ! 1150 insert into sys.args values (32448, 286, 'arg_2', 'month_interval', 3, 0, 1, 2); 1150
1149 insert into sys.functions values (287, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1149 ! 1151 insert into sys.functions values (287, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, true); 1151
1150 insert into sys.args values (32449, 287, 'res_0', 'bigint', 64, 0, 0, 0); 1150 ! 1152 insert into sys.args values (32449, 287, 'res_0', 'month_interval', 3, 0, 0, 0); 1152
1151 insert into sys.args values (32450, 287, 'arg_1', 'bigint', 64, 0, 1, 1); 1151 ! 1153 insert into sys.args values (32450, 287, 'arg_1', 'month_interval', 3, 0, 1, 1); 1153
1152 insert into sys.args values (32451, 287, 'arg_2', 'tinyint', 8, 0, 1, 2); 1152 -
1153 insert into sys.functions values (288, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1153 ! 1154 insert into sys.functions values (288, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1154
1154 insert into sys.args values (32452, 288, 'res_0', 'bigint', 64, 0, 0, 0); 1154 ! 1155 insert into sys.args values (32451, 288, 'res_0', 'month_interval', 3, 0, 0, 0); 1155
1155 insert into sys.args values (32453, 288, 'arg_1', 'tinyint', 8, 0, 1, 1); 1155 ! 1156 insert into sys.args values (32452, 288, 'arg_1', 'month_interval', 3, 0, 1, 1); 1156
1156 insert into sys.args values (32454, 288, 'arg_2', 'bigint', 64, 0, 1, 2); 1156 -
1157 insert into sys.functions values (289, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1157 ! 1157 insert into sys.functions values (289, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1157
1158 insert into sys.args values (32455, 289, 'res_0', 'bigint', 64, 0, 0, 0); 1158 ! 1158 insert into sys.args values (32453, 289, 'res_0', 'tinyint', 8, 0, 0, 0); 1158
1159 insert into sys.args values (32456, 289, 'arg_1', 'bigint', 64, 0, 1, 1); 1159 ! 1159 insert into sys.args values (32454, 289, 'arg_1', 'month_interval', 3, 0, 1, 1); 1159
1160 insert into sys.args values (32457, 289, 'arg_2', 'tinyint', 8, 0, 1, 2); 1160 -
1161 insert into sys.functions values (290, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1161 ! 1160 insert into sys.functions values (290, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1160
1162 insert into sys.args values (32458, 290, 'res_0', 'bigint', 64, 0, 0, 0); 1162 ! 1161 insert into sys.args values (32455, 290, 'res_0', 'month_interval', 3, 0, 0, 0); 1161
1163 insert into sys.args values (32459, 290, 'arg_1', 'bigint', 64, 0, 1, 1); 1163 ! 1162 insert into sys.args values (32456, 290, 'arg_1', 'month_interval', 3, 0, 1, 1); 1162
1164 insert into sys.args values (32460, 290, 'arg_2', 'smallint', 16, 0, 1, 2); 1164 ! 1163 insert into sys.args values (32457, 290, 'arg_2', 'int', 32, 0, 1, 2); 1163
1165 insert into sys.functions values (291, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1165 ! 1164 insert into sys.functions values (291, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1164
1166 insert into sys.args values (32461, 291, 'res_0', 'bigint', 64, 0, 0, 0); 1166 ! 1165 insert into sys.args values (32458, 291, 'res_0', 'month_interval', 3, 0, 0, 0); 1165
1167 insert into sys.args values (32462, 291, 'arg_1', 'smallint', 16, 0, 1, 1); 1167 ! 1166 insert into sys.args values (32459, 291, 'arg_1', 'month_interval', 3, 0, 1, 1); 1166
1168 insert into sys.args values (32463, 291, 'arg_2', 'bigint', 64, 0, 1, 2); 1168 ! 1167 insert into sys.args values (32460, 291, 'arg_2', 'int', 32, 0, 1, 2); 1167
1169 insert into sys.functions values (292, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1169 ! 1168 insert into sys.functions values (292, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1168
1170 insert into sys.args values (32464, 292, 'res_0', 'bigint', 64, 0, 0, 0); 1170 ! 1169 insert into sys.args values (32461, 292, 'res_0', 'day_interval', 4, 0, 0, 0); 1169
1171 insert into sys.args values (32465, 292, 'arg_1', 'bigint', 64, 0, 1, 1); 1171 ! 1170 insert into sys.args values (32462, 292, 'arg_1', 'day_interval', 4, 0, 1, 1); 1170
1172 insert into sys.args values (32466, 292, 'arg_2', 'smallint', 16, 0, 1, 2); 1172 ! 1171 insert into sys.args values (32463, 292, 'arg_2', 'day_interval', 4, 0, 1, 2); 1171
1173 insert into sys.functions values (293, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1173 ! 1172 insert into sys.functions values (293, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1172
1174 insert into sys.args values (32467, 293, 'res_0', 'bigint', 64, 0, 0, 0); 1174 ! 1173 insert into sys.args values (32464, 293, 'res_0', 'day_interval', 4, 0, 0, 0); 1173
1175 insert into sys.args values (32468, 293, 'arg_1', 'bigint', 64, 0, 1, 1); 1175 ! 1174 insert into sys.args values (32465, 293, 'arg_1', 'day_interval', 4, 0, 1, 1); 1174
1176 insert into sys.args values (32469, 293, 'arg_2', 'int', 32, 0, 1, 2); 1176 ! 1175 insert into sys.args values (32466, 293, 'arg_2', 'day_interval', 4, 0, 1, 2); 1175
1177 insert into sys.functions values (294, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1177 ! 1176 insert into sys.functions values (294, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, true); 1176
1178 insert into sys.args values (32470, 294, 'res_0', 'bigint', 64, 0, 0, 0); 1178 ! 1177 insert into sys.args values (32467, 294, 'res_0', 'day_interval', 4, 0, 0, 0); 1177
1179 insert into sys.args values (32471, 294, 'arg_1', 'int', 32, 0, 1, 1); 1179 ! 1178 insert into sys.args values (32468, 294, 'arg_1', 'day_interval', 4, 0, 1, 1); 1178
1180 insert into sys.args values (32472, 294, 'arg_2', 'bigint', 64, 0, 1, 2); 1180 -
1181 insert into sys.functions values (295, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1181 ! 1179 insert into sys.functions values (295, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1179
1182 insert into sys.args values (32473, 295, 'res_0', 'bigint', 64, 0, 0, 0); 1182 ! 1180 insert into sys.args values (32469, 295, 'res_0', 'day_interval', 4, 0, 0, 0); 1180
1183 insert into sys.args values (32474, 295, 'arg_1', 'bigint', 64, 0, 1, 1); 1183 ! 1181 insert into sys.args values (32470, 295, 'arg_1', 'day_interval', 4, 0, 1, 1); 1181
1184 insert into sys.args values (32475, 295, 'arg_2', 'int', 32, 0, 1, 2); 1184 -
1185 insert into sys.functions values (296, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1185 ! 1182 insert into sys.functions values (296, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1182
1186 insert into sys.args values (32476, 296, 'res_0', 'hugeint', 128, 0, 0, 0); 1186 ! 1183 insert into sys.args values (32471, 296, 'res_0', 'tinyint', 8, 0, 0, 0); 1183
1187 insert into sys.args values (32477, 296, 'arg_1', 'hugeint', 128, 0, 1, 1); 1187 ! 1184 insert into sys.args values (32472, 296, 'arg_1', 'day_interval', 4, 0, 1, 1); 1184
1188 insert into sys.args values (32478, 296, 'arg_2', 'tinyint', 8, 0, 1, 2); 1188 -
1189 insert into sys.functions values (297, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1189 ! 1185 insert into sys.functions values (297, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1185
1190 insert into sys.args values (32479, 297, 'res_0', 'hugeint', 128, 0, 0, 0); 1190 ! 1186 insert into sys.args values (32473, 297, 'res_0', 'day_interval', 4, 0, 0, 0); 1186
1191 insert into sys.args values (32480, 297, 'arg_1', 'tinyint', 8, 0, 1, 1); 1191 ! 1187 insert into sys.args values (32474, 297, 'arg_1', 'day_interval', 4, 0, 1, 1); 1187
1192 insert into sys.args values (32481, 297, 'arg_2', 'hugeint', 128, 0, 1, 2); 1192 ! 1188 insert into sys.args values (32475, 297, 'arg_2', 'bigint', 64, 0, 1, 2); 1188
1193 insert into sys.functions values (298, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1193 ! 1189 insert into sys.functions values (298, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1189
1194 insert into sys.args values (32482, 298, 'res_0', 'hugeint', 128, 0, 0, 0); 1194 ! 1190 insert into sys.args values (32476, 298, 'res_0', 'day_interval', 4, 0, 0, 0); 1190
1195 insert into sys.args values (32483, 298, 'arg_1', 'hugeint', 128, 0, 1, 1); 1195 ! 1191 insert into sys.args values (32477, 298, 'arg_1', 'day_interval', 4, 0, 1, 1); 1191
1196 insert into sys.args values (32484, 298, 'arg_2', 'tinyint', 8, 0, 1, 2); 1196 ! 1192 insert into sys.args values (32478, 298, 'arg_2', 'bigint', 64, 0, 1, 2); 1192
1197 insert into sys.functions values (299, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1197 ! 1193 insert into sys.functions values (299, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1193
1198 insert into sys.args values (32485, 299, 'res_0', 'hugeint', 128, 0, 0, 0); 1198 ! 1194 insert into sys.args values (32479, 299, 'res_0', 'sec_interval', 13, 0, 0, 0); 1194
1199 insert into sys.args values (32486, 299, 'arg_1', 'hugeint', 128, 0, 1, 1); 1199 ! 1195 insert into sys.args values (32480, 299, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1195
1200 insert into sys.args values (32487, 299, 'arg_2', 'smallint', 16, 0, 1, 2); 1200 ! 1196 insert into sys.args values (32481, 299, 'arg_2', 'sec_interval', 13, 0, 1, 2); 1196
1201 insert into sys.functions values (300, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1201 ! 1197 insert into sys.functions values (300, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1197
1202 insert into sys.args values (32488, 300, 'res_0', 'hugeint', 128, 0, 0, 0); 1202 ! 1198 insert into sys.args values (32482, 300, 'res_0', 'sec_interval', 13, 0, 0, 0); 1198
1203 insert into sys.args values (32489, 300, 'arg_1', 'smallint', 16, 0, 1, 1); 1203 ! 1199 insert into sys.args values (32483, 300, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1199
1204 insert into sys.args values (32490, 300, 'arg_2', 'hugeint', 128, 0, 1, 2); 1204 ! 1200 insert into sys.args values (32484, 300, 'arg_2', 'sec_interval', 13, 0, 1, 2); 1200
1205 insert into sys.functions values (301, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1205 ! 1201 insert into sys.functions values (301, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, true); 1201
1206 insert into sys.args values (32491, 301, 'res_0', 'hugeint', 128, 0, 0, 0); 1206 ! 1202 insert into sys.args values (32485, 301, 'res_0', 'sec_interval', 13, 0, 0, 0); 1202
1207 insert into sys.args values (32492, 301, 'arg_1', 'hugeint', 128, 0, 1, 1); 1207 ! 1203 insert into sys.args values (32486, 301, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1203
1208 insert into sys.args values (32493, 301, 'arg_2', 'smallint', 16, 0, 1, 2); 1208 -
1209 insert into sys.functions values (302, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1209 ! 1204 insert into sys.functions values (302, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1204
1210 insert into sys.args values (32494, 302, 'res_0', 'hugeint', 128, 0, 0, 0); 1210 ! 1205 insert into sys.args values (32487, 302, 'res_0', 'sec_interval', 13, 0, 0, 0); 1205
1211 insert into sys.args values (32495, 302, 'arg_1', 'hugeint', 128, 0, 1, 1); 1211 ! 1206 insert into sys.args values (32488, 302, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1206
1212 insert into sys.args values (32496, 302, 'arg_2', 'int', 32, 0, 1, 2); 1212 -
1213 insert into sys.functions values (303, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1213 ! 1207 insert into sys.functions values (303, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1207
1214 insert into sys.args values (32497, 303, 'res_0', 'hugeint', 128, 0, 0, 0); 1214 ! 1208 insert into sys.args values (32489, 303, 'res_0', 'tinyint', 8, 0, 0, 0); 1208
1215 insert into sys.args values (32498, 303, 'arg_1', 'int', 32, 0, 1, 1); 1215 ! 1209 insert into sys.args values (32490, 303, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1209
1216 insert into sys.args values (32499, 303, 'arg_2', 'hugeint', 128, 0, 1, 2); 1216 -
1217 insert into sys.functions values (304, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1217 ! 1210 insert into sys.functions values (304, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1210
1218 insert into sys.args values (32500, 304, 'res_0', 'hugeint', 128, 0, 0, 0); 1218 ! 1211 insert into sys.args values (32491, 304, 'res_0', 'sec_interval', 13, 0, 0, 0); 1211
1219 insert into sys.args values (32501, 304, 'arg_1', 'hugeint', 128, 0, 1, 1); 1219 ! 1212 insert into sys.args values (32492, 304, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1212
1220 insert into sys.args values (32502, 304, 'arg_2', 'int', 32, 0, 1, 2); 1220 ! 1213 insert into sys.args values (32493, 304, 'arg_2', 'bigint', 64, 0, 1, 2); 1213
1221 insert into sys.functions values (305, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1221 ! 1214 insert into sys.functions values (305, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1214
1222 insert into sys.args values (32503, 305, 'res_0', 'hugeint', 128, 0, 0, 0); 1222 ! 1215 insert into sys.args values (32494, 305, 'res_0', 'sec_interval', 13, 0, 0, 0); 1215
1223 insert into sys.args values (32504, 305, 'arg_1', 'hugeint', 128, 0, 1, 1); 1223 ! 1216 insert into sys.args values (32495, 305, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1216
1224 insert into sys.args values (32505, 305, 'arg_2', 'bigint', 64, 0, 1, 2); 1224 ! 1217 insert into sys.args values (32496, 305, 'arg_2', 'bigint', 64, 0, 1, 2); 1217
1225 insert into sys.functions values (306, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1225 1218 insert into sys.functions values (306, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1218
1226 insert into sys.args values (32506, 306, 'res_0', 'hugeint', 128, 0, 0, 0); 1226 ! 1219 insert into sys.args values (32497, 306, 'res_0', 'smallint', 16, 0, 0, 0); 1219
1227 insert into sys.args values (32507, 306, 'arg_1', 'bigint', 64, 0, 1, 1); 1227 ! 1220 insert into sys.args values (32498, 306, 'arg_1', 'smallint', 16, 0, 1, 1); 1220
1228 insert into sys.args values (32508, 306, 'arg_2', 'hugeint', 128, 0, 1, 2); 1228 ! 1221 insert into sys.args values (32499, 306, 'arg_2', 'tinyint', 8, 0, 1, 2); 1221
1229 insert into sys.functions values (307, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1229 ! 1222 insert into sys.functions values (307, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1222
1230 insert into sys.args values (32509, 307, 'res_0', 'hugeint', 128, 0, 0, 0); 1230 ! 1223 insert into sys.args values (32500, 307, 'res_0', 'smallint', 16, 0, 0, 0); 1223
1231 insert into sys.args values (32510, 307, 'arg_1', 'hugeint', 128, 0, 1, 1); 1231 ! 1224 insert into sys.args values (32501, 307, 'arg_1', 'tinyint', 8, 0, 1, 1); 1224
1232 insert into sys.args values (32511, 307, 'arg_2', 'bigint', 64, 0, 1, 2); 1232 ! 1225 insert into sys.args values (32502, 307, 'arg_2', 'smallint', 16, 0, 1, 2); 1225
1233 insert into sys.functions values (308, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1233 ! 1226 insert into sys.functions values (308, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1226
1234 insert into sys.args values (32512, 308, 'res_0', 'decimal', 4, 0, 0, 0); 1234 ! 1227 insert into sys.args values (32503, 308, 'res_0', 'smallint', 16, 0, 0, 0); 1227
1235 insert into sys.args values (32513, 308, 'arg_1', 'decimal', 4, 0, 1, 1); 1235 ! 1228 insert into sys.args values (32504, 308, 'arg_1', 'smallint', 16, 0, 1, 1); 1228
1236 insert into sys.args values (32514, 308, 'arg_2', 'tinyint', 8, 0, 1, 2); 1236 ! 1229 insert into sys.args values (32505, 308, 'arg_2', 'tinyint', 8, 0, 1, 2); 1229
1237 insert into sys.functions values (309, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1237 1230 insert into sys.functions values (309, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1230
1238 insert into sys.args values (32515, 309, 'res_0', 'decimal', 4, 0, 0, 0); 1238 ! 1231 insert into sys.args values (32506, 309, 'res_0', 'int', 32, 0, 0, 0); 1231
1239 insert into sys.args values (32516, 309, 'arg_1', 'tinyint', 8, 0, 1, 1); 1239 ! 1232 insert into sys.args values (32507, 309, 'arg_1', 'int', 32, 0, 1, 1); 1232
1240 insert into sys.args values (32517, 309, 'arg_2', 'decimal', 4, 0, 1, 2); 1240 ! 1233 insert into sys.args values (32508, 309, 'arg_2', 'tinyint', 8, 0, 1, 2); 1233
1241 insert into sys.functions values (310, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1241 ! 1234 insert into sys.functions values (310, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1234
1242 insert into sys.args values (32518, 310, 'res_0', 'decimal', 4, 0, 0, 0); 1242 ! 1235 insert into sys.args values (32509, 310, 'res_0', 'int', 32, 0, 0, 0); 1235
1243 insert into sys.args values (32519, 310, 'arg_1', 'decimal', 4, 0, 1, 1); 1243 ! 1236 insert into sys.args values (32510, 310, 'arg_1', 'tinyint', 8, 0, 1, 1); 1236
1244 insert into sys.args values (32520, 310, 'arg_2', 'tinyint', 8, 0, 1, 2); 1244 ! 1237 insert into sys.args values (32511, 310, 'arg_2', 'int', 32, 0, 1, 2); 1237
1245 insert into sys.functions values (311, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1245 ! 1238 insert into sys.functions values (311, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1238
1246 insert into sys.args values (32521, 311, 'res_0', 'decimal', 9, 0, 0, 0); 1246 ! 1239 insert into sys.args values (32512, 311, 'res_0', 'int', 32, 0, 0, 0); 1239
1247 insert into sys.args values (32522, 311, 'arg_1', 'decimal', 9, 0, 1, 1); 1247 ! 1240 insert into sys.args values (32513, 311, 'arg_1', 'int', 32, 0, 1, 1); 1240
1248 insert into sys.args values (32523, 311, 'arg_2', 'tinyint', 8, 0, 1, 2); 1248 ! 1241 insert into sys.args values (32514, 311, 'arg_2', 'tinyint', 8, 0, 1, 2); 1241
1249 insert into sys.functions values (312, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1249 1242 insert into sys.functions values (312, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1242
1250 insert into sys.args values (32524, 312, 'res_0', 'decimal', 9, 0, 0, 0); 1250 ! 1243 insert into sys.args values (32515, 312, 'res_0', 'int', 32, 0, 0, 0); 1243
1251 insert into sys.args values (32525, 312, 'arg_1', 'tinyint', 8, 0, 1, 1); 1251 ! 1244 insert into sys.args values (32516, 312, 'arg_1', 'int', 32, 0, 1, 1); 1244
1252 insert into sys.args values (32526, 312, 'arg_2', 'decimal', 9, 0, 1, 2); 1252 ! 1245 insert into sys.args values (32517, 312, 'arg_2', 'smallint', 16, 0, 1, 2); 1245
1253 insert into sys.functions values (313, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1253 ! 1246 insert into sys.functions values (313, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1246
1254 insert into sys.args values (32527, 313, 'res_0', 'decimal', 9, 0, 0, 0); 1254 ! 1247 insert into sys.args values (32518, 313, 'res_0', 'int', 32, 0, 0, 0); 1247
1255 insert into sys.args values (32528, 313, 'arg_1', 'decimal', 9, 0, 1, 1); 1255 ! 1248 insert into sys.args values (32519, 313, 'arg_1', 'smallint', 16, 0, 1, 1); 1248
1256 insert into sys.args values (32529, 313, 'arg_2', 'tinyint', 8, 0, 1, 2); 1256 ! 1249 insert into sys.args values (32520, 313, 'arg_2', 'int', 32, 0, 1, 2); 1249
1257 insert into sys.functions values (314, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1257 ! 1250 insert into sys.functions values (314, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1250
1258 insert into sys.args values (32530, 314, 'res_0', 'decimal', 9, 0, 0, 0); 1258 ! 1251 insert into sys.args values (32521, 314, 'res_0', 'int', 32, 0, 0, 0); 1251
1259 insert into sys.args values (32531, 314, 'arg_1', 'decimal', 9, 0, 1, 1); 1259 ! 1252 insert into sys.args values (32522, 314, 'arg_1', 'int', 32, 0, 1, 1); 1252
1260 insert into sys.args values (32532, 314, 'arg_2', 'smallint', 16, 0, 1, 2); 1260 ! 1253 insert into sys.args values (32523, 314, 'arg_2', 'smallint', 16, 0, 1, 2); 1253
1261 insert into sys.functions values (315, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1261 1254 insert into sys.functions values (315, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1254
1262 insert into sys.args values (32533, 315, 'res_0', 'decimal', 9, 0, 0, 0); 1262 ! 1255 insert into sys.args values (32524, 315, 'res_0', 'bigint', 64, 0, 0, 0); 1255
1263 insert into sys.args values (32534, 315, 'arg_1', 'smallint', 16, 0, 1, 1); 1263 ! 1256 insert into sys.args values (32525, 315, 'arg_1', 'bigint', 64, 0, 1, 1); 1256
1264 insert into sys.args values (32535, 315, 'arg_2', 'decimal', 9, 0, 1, 2); 1264 ! 1257 insert into sys.args values (32526, 315, 'arg_2', 'tinyint', 8, 0, 1, 2); 1257
1265 insert into sys.functions values (316, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1265 ! 1258 insert into sys.functions values (316, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1258
1266 insert into sys.args values (32536, 316, 'res_0', 'decimal', 9, 0, 0, 0); 1266 ! 1259 insert into sys.args values (32527, 316, 'res_0', 'bigint', 64, 0, 0, 0); 1259
1267 insert into sys.args values (32537, 316, 'arg_1', 'decimal', 9, 0, 1, 1); 1267 ! 1260 insert into sys.args values (32528, 316, 'arg_1', 'tinyint', 8, 0, 1, 1); 1260
1268 insert into sys.args values (32538, 316, 'arg_2', 'smallint', 16, 0, 1, 2); 1268 ! 1261 insert into sys.args values (32529, 316, 'arg_2', 'bigint', 64, 0, 1, 2); 1261
1269 insert into sys.functions values (317, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1269 ! 1262 insert into sys.functions values (317, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1262
1270 insert into sys.args values (32539, 317, 'res_0', 'decimal', 18, 0, 0, 0); 1270 ! 1263 insert into sys.args values (32530, 317, 'res_0', 'bigint', 64, 0, 0, 0); 1263
1271 insert into sys.args values (32540, 317, 'arg_1', 'decimal', 18, 0, 1, 1); 1271 ! 1264 insert into sys.args values (32531, 317, 'arg_1', 'bigint', 64, 0, 1, 1); 1264
1272 insert into sys.args values (32541, 317, 'arg_2', 'tinyint', 8, 0, 1, 2); 1272 ! 1265 insert into sys.args values (32532, 317, 'arg_2', 'tinyint', 8, 0, 1, 2); 1265
1273 insert into sys.functions values (318, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1273 1266 insert into sys.functions values (318, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1266
1274 insert into sys.args values (32542, 318, 'res_0', 'decimal', 18, 0, 0, 0); 1274 ! 1267 insert into sys.args values (32533, 318, 'res_0', 'bigint', 64, 0, 0, 0); 1267
1275 insert into sys.args values (32543, 318, 'arg_1', 'tinyint', 8, 0, 1, 1); 1275 ! 1268 insert into sys.args values (32534, 318, 'arg_1', 'bigint', 64, 0, 1, 1); 1268
1276 insert into sys.args values (32544, 318, 'arg_2', 'decimal', 18, 0, 1, 2); 1276 ! 1269 insert into sys.args values (32535, 318, 'arg_2', 'smallint', 16, 0, 1, 2); 1269
1277 insert into sys.functions values (319, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1277 ! 1270 insert into sys.functions values (319, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1270
1278 insert into sys.args values (32545, 319, 'res_0', 'decimal', 18, 0, 0, 0); 1278 ! 1271 insert into sys.args values (32536, 319, 'res_0', 'bigint', 64, 0, 0, 0); 1271
1279 insert into sys.args values (32546, 319, 'arg_1', 'decimal', 18, 0, 1, 1); 1279 ! 1272 insert into sys.args values (32537, 319, 'arg_1', 'smallint', 16, 0, 1, 1); 1272
1280 insert into sys.args values (32547, 319, 'arg_2', 'tinyint', 8, 0, 1, 2); 1280 ! 1273 insert into sys.args values (32538, 319, 'arg_2', 'bigint', 64, 0, 1, 2); 1273
1281 insert into sys.functions values (320, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1281 ! 1274 insert into sys.functions values (320, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1274
1282 insert into sys.args values (32548, 320, 'res_0', 'decimal', 18, 0, 0, 0); 1282 ! 1275 insert into sys.args values (32539, 320, 'res_0', 'bigint', 64, 0, 0, 0); 1275
1283 insert into sys.args values (32549, 320, 'arg_1', 'decimal', 18, 0, 1, 1); 1283 ! 1276 insert into sys.args values (32540, 320, 'arg_1', 'bigint', 64, 0, 1, 1); 1276
1284 insert into sys.args values (32550, 320, 'arg_2', 'smallint', 16, 0, 1, 2); 1284 ! 1277 insert into sys.args values (32541, 320, 'arg_2', 'smallint', 16, 0, 1, 2); 1277
1285 insert into sys.functions values (321, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1285 1278 insert into sys.functions values (321, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1278
1286 insert into sys.args values (32551, 321, 'res_0', 'decimal', 18, 0, 0, 0); 1286 ! 1279 insert into sys.args values (32542, 321, 'res_0', 'bigint', 64, 0, 0, 0); 1279
1287 insert into sys.args values (32552, 321, 'arg_1', 'smallint', 16, 0, 1, 1); 1287 ! 1280 insert into sys.args values (32543, 321, 'arg_1', 'bigint', 64, 0, 1, 1); 1280
1288 insert into sys.args values (32553, 321, 'arg_2', 'decimal', 18, 0, 1, 2); 1288 ! 1281 insert into sys.args values (32544, 321, 'arg_2', 'int', 32, 0, 1, 2); 1281
1289 insert into sys.functions values (322, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1289 ! 1282 insert into sys.functions values (322, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1282
1290 insert into sys.args values (32554, 322, 'res_0', 'decimal', 18, 0, 0, 0); 1290 ! 1283 insert into sys.args values (32545, 322, 'res_0', 'bigint', 64, 0, 0, 0); 1283
1291 insert into sys.args values (32555, 322, 'arg_1', 'decimal', 18, 0, 1, 1); 1291 ! 1284 insert into sys.args values (32546, 322, 'arg_1', 'int', 32, 0, 1, 1); 1284
1292 insert into sys.args values (32556, 322, 'arg_2', 'smallint', 16, 0, 1, 2); 1292 ! 1285 insert into sys.args values (32547, 322, 'arg_2', 'bigint', 64, 0, 1, 2); 1285
1293 insert into sys.functions values (323, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1293 ! 1286 insert into sys.functions values (323, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1286
1294 insert into sys.args values (32557, 323, 'res_0', 'decimal', 18, 0, 0, 0); 1294 ! 1287 insert into sys.args values (32548, 323, 'res_0', 'bigint', 64, 0, 0, 0); 1287
1295 insert into sys.args values (32558, 323, 'arg_1', 'decimal', 18, 0, 1, 1); 1295 ! 1288 insert into sys.args values (32549, 323, 'arg_1', 'bigint', 64, 0, 1, 1); 1288
1296 insert into sys.args values (32559, 323, 'arg_2', 'int', 32, 0, 1, 2); 1296 ! 1289 insert into sys.args values (32550, 323, 'arg_2', 'int', 32, 0, 1, 2); 1289
1297 insert into sys.functions values (324, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1297 1290 insert into sys.functions values (324, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1290
1298 insert into sys.args values (32560, 324, 'res_0', 'decimal', 18, 0, 0, 0); 1298 ! 1291 insert into sys.args values (32551, 324, 'res_0', 'hugeint', 128, 0, 0, 0); 1291
1299 insert into sys.args values (32561, 324, 'arg_1', 'int', 32, 0, 1, 1); 1299 ! 1292 insert into sys.args values (32552, 324, 'arg_1', 'hugeint', 128, 0, 1, 1); 1292
1300 insert into sys.args values (32562, 324, 'arg_2', 'decimal', 18, 0, 1, 2); 1300 ! 1293 insert into sys.args values (32553, 324, 'arg_2', 'tinyint', 8, 0, 1, 2); 1293
1301 insert into sys.functions values (325, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1301 ! 1294 insert into sys.functions values (325, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1294
1302 insert into sys.args values (32563, 325, 'res_0', 'decimal', 18, 0, 0, 0); 1302 ! 1295 insert into sys.args values (32554, 325, 'res_0', 'hugeint', 128, 0, 0, 0); 1295
1303 insert into sys.args values (32564, 325, 'arg_1', 'decimal', 18, 0, 1, 1); 1303 ! 1296 insert into sys.args values (32555, 325, 'arg_1', 'tinyint', 8, 0, 1, 1); 1296
1304 insert into sys.args values (32565, 325, 'arg_2', 'int', 32, 0, 1, 2); 1304 ! 1297 insert into sys.args values (32556, 325, 'arg_2', 'hugeint', 128, 0, 1, 2); 1297
1305 insert into sys.functions values (326, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1305 ! 1298 insert into sys.functions values (326, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1298
1306 insert into sys.args values (32566, 326, 'res_0', 'decimal', 38, 0, 0, 0); 1306 ! 1299 insert into sys.args values (32557, 326, 'res_0', 'hugeint', 128, 0, 0, 0); 1299
1307 insert into sys.args values (32567, 326, 'arg_1', 'decimal', 38, 0, 1, 1); 1307 ! 1300 insert into sys.args values (32558, 326, 'arg_1', 'hugeint', 128, 0, 1, 1); 1300
1308 insert into sys.args values (32568, 326, 'arg_2', 'tinyint', 8, 0, 1, 2); 1308 ! 1301 insert into sys.args values (32559, 326, 'arg_2', 'tinyint', 8, 0, 1, 2); 1301
1309 insert into sys.functions values (327, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1309 1302 insert into sys.functions values (327, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1302
1310 insert into sys.args values (32569, 327, 'res_0', 'decimal', 38, 0, 0, 0); 1310 ! 1303 insert into sys.args values (32560, 327, 'res_0', 'hugeint', 128, 0, 0, 0); 1303
1311 insert into sys.args values (32570, 327, 'arg_1', 'tinyint', 8, 0, 1, 1); 1311 ! 1304 insert into sys.args values (32561, 327, 'arg_1', 'hugeint', 128, 0, 1, 1); 1304
1312 insert into sys.args values (32571, 327, 'arg_2', 'decimal', 38, 0, 1, 2); 1312 ! 1305 insert into sys.args values (32562, 327, 'arg_2', 'smallint', 16, 0, 1, 2); 1305
1313 insert into sys.functions values (328, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1313 ! 1306 insert into sys.functions values (328, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1306
1314 insert into sys.args values (32572, 328, 'res_0', 'decimal', 38, 0, 0, 0); 1314 ! 1307 insert into sys.args values (32563, 328, 'res_0', 'hugeint', 128, 0, 0, 0); 1307
1315 insert into sys.args values (32573, 328, 'arg_1', 'decimal', 38, 0, 1, 1); 1315 ! 1308 insert into sys.args values (32564, 328, 'arg_1', 'smallint', 16, 0, 1, 1); 1308
1316 insert into sys.args values (32574, 328, 'arg_2', 'tinyint', 8, 0, 1, 2); 1316 ! 1309 insert into sys.args values (32565, 328, 'arg_2', 'hugeint', 128, 0, 1, 2); 1309
1317 insert into sys.functions values (329, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1317 ! 1310 insert into sys.functions values (329, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1310
1318 insert into sys.args values (32575, 329, 'res_0', 'decimal', 38, 0, 0, 0); 1318 ! 1311 insert into sys.args values (32566, 329, 'res_0', 'hugeint', 128, 0, 0, 0); 1311
1319 insert into sys.args values (32576, 329, 'arg_1', 'decimal', 38, 0, 1, 1); 1319 ! 1312 insert into sys.args values (32567, 329, 'arg_1', 'hugeint', 128, 0, 1, 1); 1312
1320 insert into sys.args values (32577, 329, 'arg_2', 'smallint', 16, 0, 1, 2); 1320 ! 1313 insert into sys.args values (32568, 329, 'arg_2', 'smallint', 16, 0, 1, 2); 1313
1321 insert into sys.functions values (330, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1321 1314 insert into sys.functions values (330, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1314
1322 insert into sys.args values (32578, 330, 'res_0', 'decimal', 38, 0, 0, 0); 1322 ! 1315 insert into sys.args values (32569, 330, 'res_0', 'hugeint', 128, 0, 0, 0); 1315
1323 insert into sys.args values (32579, 330, 'arg_1', 'smallint', 16, 0, 1, 1); 1323 ! 1316 insert into sys.args values (32570, 330, 'arg_1', 'hugeint', 128, 0, 1, 1); 1316
1324 insert into sys.args values (32580, 330, 'arg_2', 'decimal', 38, 0, 1, 2); 1324 ! 1317 insert into sys.args values (32571, 330, 'arg_2', 'int', 32, 0, 1, 2); 1317
1325 insert into sys.functions values (331, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1325 ! 1318 insert into sys.functions values (331, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1318
1326 insert into sys.args values (32581, 331, 'res_0', 'decimal', 38, 0, 0, 0); 1326 ! 1319 insert into sys.args values (32572, 331, 'res_0', 'hugeint', 128, 0, 0, 0); 1319
1327 insert into sys.args values (32582, 331, 'arg_1', 'decimal', 38, 0, 1, 1); 1327 ! 1320 insert into sys.args values (32573, 331, 'arg_1', 'int', 32, 0, 1, 1); 1320
1328 insert into sys.args values (32583, 331, 'arg_2', 'smallint', 16, 0, 1, 2); 1328 ! 1321 insert into sys.args values (32574, 331, 'arg_2', 'hugeint', 128, 0, 1, 2); 1321
1329 insert into sys.functions values (332, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1329 ! 1322 insert into sys.functions values (332, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1322
1330 insert into sys.args values (32584, 332, 'res_0', 'decimal', 38, 0, 0, 0); 1330 ! 1323 insert into sys.args values (32575, 332, 'res_0', 'hugeint', 128, 0, 0, 0); 1323
1331 insert into sys.args values (32585, 332, 'arg_1', 'decimal', 38, 0, 1, 1); 1331 ! 1324 insert into sys.args values (32576, 332, 'arg_1', 'hugeint', 128, 0, 1, 1); 1324
1332 insert into sys.args values (32586, 332, 'arg_2', 'int', 32, 0, 1, 2); 1332 ! 1325 insert into sys.args values (32577, 332, 'arg_2', 'int', 32, 0, 1, 2); 1325
1333 insert into sys.functions values (333, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1333 1326 insert into sys.functions values (333, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1326
1334 insert into sys.args values (32587, 333, 'res_0', 'decimal', 38, 0, 0, 0); 1334 ! 1327 insert into sys.args values (32578, 333, 'res_0', 'hugeint', 128, 0, 0, 0); 1327
1335 insert into sys.args values (32588, 333, 'arg_1', 'int', 32, 0, 1, 1); 1335 ! 1328 insert into sys.args values (32579, 333, 'arg_1', 'hugeint', 128, 0, 1, 1); 1328
1336 insert into sys.args values (32589, 333, 'arg_2', 'decimal', 38, 0, 1, 2); 1336 ! 1329 insert into sys.args values (32580, 333, 'arg_2', 'bigint', 64, 0, 1, 2); 1329
1337 insert into sys.functions values (334, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1337 ! 1330 insert into sys.functions values (334, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1330
1338 insert into sys.args values (32590, 334, 'res_0', 'decimal', 38, 0, 0, 0); 1338 ! 1331 insert into sys.args values (32581, 334, 'res_0', 'hugeint', 128, 0, 0, 0); 1331
1339 insert into sys.args values (32591, 334, 'arg_1', 'decimal', 38, 0, 1, 1); 1339 ! 1332 insert into sys.args values (32582, 334, 'arg_1', 'bigint', 64, 0, 1, 1); 1332
1340 insert into sys.args values (32592, 334, 'arg_2', 'int', 32, 0, 1, 2); 1340 ! 1333 insert into sys.args values (32583, 334, 'arg_2', 'hugeint', 128, 0, 1, 2); 1333
1341 insert into sys.functions values (335, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1341 ! 1334 insert into sys.functions values (335, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1334
1342 insert into sys.args values (32593, 335, 'res_0', 'decimal', 38, 0, 0, 0); 1342 ! 1335 insert into sys.args values (32584, 335, 'res_0', 'hugeint', 128, 0, 0, 0); 1335
1343 insert into sys.args values (32594, 335, 'arg_1', 'decimal', 38, 0, 1, 1); 1343 ! 1336 insert into sys.args values (32585, 335, 'arg_1', 'hugeint', 128, 0, 1, 1); 1336
1344 insert into sys.args values (32595, 335, 'arg_2', 'bigint', 64, 0, 1, 2); 1344 ! 1337 insert into sys.args values (32586, 335, 'arg_2', 'bigint', 64, 0, 1, 2); 1337
1345 insert into sys.functions values (336, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1345 1338 insert into sys.functions values (336, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1338
1346 insert into sys.args values (32596, 336, 'res_0', 'decimal', 38, 0, 0, 0); 1346 ! 1339 insert into sys.args values (32587, 336, 'res_0', 'decimal', 4, 0, 0, 0); 1339
1347 insert into sys.args values (32597, 336, 'arg_1', 'bigint', 64, 0, 1, 1); 1347 ! 1340 insert into sys.args values (32588, 336, 'arg_1', 'decimal', 4, 0, 1, 1); 1340
1348 insert into sys.args values (32598, 336, 'arg_2', 'decimal', 38, 0, 1, 2); 1348 ! 1341 insert into sys.args values (32589, 336, 'arg_2', 'tinyint', 8, 0, 1, 2); 1341
1349 insert into sys.functions values (337, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1349 ! 1342 insert into sys.functions values (337, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1342
1350 insert into sys.args values (32599, 337, 'res_0', 'decimal', 38, 0, 0, 0); 1350 ! 1343 insert into sys.args values (32590, 337, 'res_0', 'decimal', 4, 0, 0, 0); 1343
1351 insert into sys.args values (32600, 337, 'arg_1', 'decimal', 38, 0, 1, 1); 1351 ! 1344 insert into sys.args values (32591, 337, 'arg_1', 'tinyint', 8, 0, 1, 1); 1344
1352 insert into sys.args values (32601, 337, 'arg_2', 'bigint', 64, 0, 1, 2); 1352 ! 1345 insert into sys.args values (32592, 337, 'arg_2', 'decimal', 4, 0, 1, 2); 1345
1353 insert into sys.functions values (338, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1353 ! 1346 insert into sys.functions values (338, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1346
1354 insert into sys.args values (32602, 338, 'res_0', 'decimal', 9, 0, 0, 0); 1354 ! 1347 insert into sys.args values (32593, 338, 'res_0', 'decimal', 4, 0, 0, 0); 1347
1355 insert into sys.args values (32603, 338, 'arg_1', 'decimal', 9, 0, 1, 1); 1355 ! 1348 insert into sys.args values (32594, 338, 'arg_1', 'decimal', 4, 0, 1, 1); 1348
1356 insert into sys.args values (32604, 338, 'arg_2', 'decimal', 4, 0, 1, 2); 1356 ! 1349 insert into sys.args values (32595, 338, 'arg_2', 'tinyint', 8, 0, 1, 2); 1349
1357 insert into sys.functions values (339, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1357 ! 1350 insert into sys.functions values (339, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1350
1358 insert into sys.args values (32605, 339, 'res_0', 'decimal', 9, 0, 0, 0); 1358 ! 1351 insert into sys.args values (32596, 339, 'res_0', 'decimal', 9, 0, 0, 0); 1351
1359 insert into sys.args values (32606, 339, 'arg_1', 'decimal', 9, 0, 1, 1); 1359 ! 1352 insert into sys.args values (32597, 339, 'arg_1', 'decimal', 9, 0, 1, 1); 1352
1360 insert into sys.args values (32607, 339, 'arg_2', 'decimal', 4, 0, 1, 2); 1360 ! 1353 insert into sys.args values (32598, 339, 'arg_2', 'tinyint', 8, 0, 1, 2); 1353
1361 insert into sys.functions values (340, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1361 1354 insert into sys.functions values (340, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1354
1362 insert into sys.args values (32608, 340, 'res_0', 'decimal', 18, 0, 0, 0); 1362 ! 1355 insert into sys.args values (32599, 340, 'res_0', 'decimal', 9, 0, 0, 0); 1355
1363 insert into sys.args values (32609, 340, 'arg_1', 'decimal', 18, 0, 1, 1); 1363 ! 1356 insert into sys.args values (32600, 340, 'arg_1', 'tinyint', 8, 0, 1, 1); 1356
1364 insert into sys.args values (32610, 340, 'arg_2', 'decimal', 4, 0, 1, 2); 1364 ! 1357 insert into sys.args values (32601, 340, 'arg_2', 'decimal', 9, 0, 1, 2); 1357
1365 insert into sys.functions values (341, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1365 1358 insert into sys.functions values (341, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1358
1366 insert into sys.args values (32611, 341, 'res_0', 'decimal', 18, 0, 0, 0); 1366 ! 1359 insert into sys.args values (32602, 341, 'res_0', 'decimal', 9, 0, 0, 0); 1359
1367 insert into sys.args values (32612, 341, 'arg_1', 'decimal', 18, 0, 1, 1); 1367 ! 1360 insert into sys.args values (32603, 341, 'arg_1', 'decimal', 9, 0, 1, 1); 1360
1368 insert into sys.args values (32613, 341, 'arg_2', 'decimal', 4, 0, 1, 2); 1368 ! 1361 insert into sys.args values (32604, 341, 'arg_2', 'tinyint', 8, 0, 1, 2); 1361
1369 insert into sys.functions values (342, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1369 1362 insert into sys.functions values (342, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1362
1370 insert into sys.args values (32614, 342, 'res_0', 'decimal', 18, 0, 0, 0); 1370 ! 1363 insert into sys.args values (32605, 342, 'res_0', 'decimal', 9, 0, 0, 0); 1363
1371 insert into sys.args values (32615, 342, 'arg_1', 'decimal', 18, 0, 1, 1); 1371 ! 1364 insert into sys.args values (32606, 342, 'arg_1', 'decimal', 9, 0, 1, 1); 1364
1372 insert into sys.args values (32616, 342, 'arg_2', 'decimal', 9, 0, 1, 2); 1372 ! 1365 insert into sys.args values (32607, 342, 'arg_2', 'smallint', 16, 0, 1, 2); 1365
1373 insert into sys.functions values (343, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1373 ! 1366 insert into sys.functions values (343, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1366
1374 insert into sys.args values (32617, 343, 'res_0', 'decimal', 18, 0, 0, 0); 1374 ! 1367 insert into sys.args values (32608, 343, 'res_0', 'decimal', 9, 0, 0, 0); 1367
1375 insert into sys.args values (32618, 343, 'arg_1', 'decimal', 18, 0, 1, 1); 1375 ! 1368 insert into sys.args values (32609, 343, 'arg_1', 'smallint', 16, 0, 1, 1); 1368
1376 insert into sys.args values (32619, 343, 'arg_2', 'decimal', 9, 0, 1, 2); 1376 ! 1369 insert into sys.args values (32610, 343, 'arg_2', 'decimal', 9, 0, 1, 2); 1369
1377 insert into sys.functions values (344, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1377 ! 1370 insert into sys.functions values (344, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1370
1378 insert into sys.args values (32620, 344, 'res_0', 'decimal', 38, 0, 0, 0); 1378 ! 1371 insert into sys.args values (32611, 344, 'res_0', 'decimal', 9, 0, 0, 0); 1371
1379 insert into sys.args values (32621, 344, 'arg_1', 'decimal', 38, 0, 1, 1); 1379 ! 1372 insert into sys.args values (32612, 344, 'arg_1', 'decimal', 9, 0, 1, 1); 1372
1380 insert into sys.args values (32622, 344, 'arg_2', 'decimal', 4, 0, 1, 2); 1380 ! 1373 insert into sys.args values (32613, 344, 'arg_2', 'smallint', 16, 0, 1, 2); 1373
1381 insert into sys.functions values (345, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1381 ! 1374 insert into sys.functions values (345, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1374
1382 insert into sys.args values (32623, 345, 'res_0', 'decimal', 38, 0, 0, 0); 1382 ! 1375 insert into sys.args values (32614, 345, 'res_0', 'decimal', 18, 0, 0, 0); 1375
1383 insert into sys.args values (32624, 345, 'arg_1', 'decimal', 38, 0, 1, 1); 1383 ! 1376 insert into sys.args values (32615, 345, 'arg_1', 'decimal', 18, 0, 1, 1); 1376
1384 insert into sys.args values (32625, 345, 'arg_2', 'decimal', 4, 0, 1, 2); 1384 ! 1377 insert into sys.args values (32616, 345, 'arg_2', 'tinyint', 8, 0, 1, 2); 1377
1385 insert into sys.functions values (346, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1385 1378 insert into sys.functions values (346, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1378
1386 insert into sys.args values (32626, 346, 'res_0', 'decimal', 38, 0, 0, 0); 1386 ! 1379 insert into sys.args values (32617, 346, 'res_0', 'decimal', 18, 0, 0, 0); 1379
1387 insert into sys.args values (32627, 346, 'arg_1', 'decimal', 38, 0, 1, 1); 1387 ! 1380 insert into sys.args values (32618, 346, 'arg_1', 'tinyint', 8, 0, 1, 1); 1380
1388 insert into sys.args values (32628, 346, 'arg_2', 'decimal', 9, 0, 1, 2); 1388 ! 1381 insert into sys.args values (32619, 346, 'arg_2', 'decimal', 18, 0, 1, 2); 1381
1389 insert into sys.functions values (347, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1389 1382 insert into sys.functions values (347, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1382
1390 insert into sys.args values (32629, 347, 'res_0', 'decimal', 38, 0, 0, 0); 1390 ! 1383 insert into sys.args values (32620, 347, 'res_0', 'decimal', 18, 0, 0, 0); 1383
1391 insert into sys.args values (32630, 347, 'arg_1', 'decimal', 38, 0, 1, 1); 1391 ! 1384 insert into sys.args values (32621, 347, 'arg_1', 'decimal', 18, 0, 1, 1); 1384
1392 insert into sys.args values (32631, 347, 'arg_2', 'decimal', 9, 0, 1, 2); 1392 ! 1385 insert into sys.args values (32622, 347, 'arg_2', 'tinyint', 8, 0, 1, 2); 1385
1393 insert into sys.functions values (348, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1393 1386 insert into sys.functions values (348, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1386
1394 insert into sys.args values (32632, 348, 'res_0', 'decimal', 38, 0, 0, 0); 1394 ! 1387 insert into sys.args values (32623, 348, 'res_0', 'decimal', 18, 0, 0, 0); 1387
1395 insert into sys.args values (32633, 348, 'arg_1', 'decimal', 38, 0, 1, 1); 1395 ! 1388 insert into sys.args values (32624, 348, 'arg_1', 'decimal', 18, 0, 1, 1); 1388
1396 insert into sys.args values (32634, 348, 'arg_2', 'decimal', 18, 0, 1, 2); 1396 ! 1389 insert into sys.args values (32625, 348, 'arg_2', 'smallint', 16, 0, 1, 2); 1389
1397 insert into sys.functions values (349, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1397 ! 1390 insert into sys.functions values (349, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1390
1398 insert into sys.args values (32635, 349, 'res_0', 'decimal', 38, 0, 0, 0); 1398 ! 1391 insert into sys.args values (32626, 349, 'res_0', 'decimal', 18, 0, 0, 0); 1391
1399 insert into sys.args values (32636, 349, 'arg_1', 'decimal', 38, 0, 1, 1); 1399 ! 1392 insert into sys.args values (32627, 349, 'arg_1', 'smallint', 16, 0, 1, 1); 1392
1400 insert into sys.args values (32637, 349, 'arg_2', 'decimal', 18, 0, 1, 2); 1400 ! 1393 insert into sys.args values (32628, 349, 'arg_2', 'decimal', 18, 0, 1, 2); 1393
1401 insert into sys.functions values (350, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1401 ! 1394 insert into sys.functions values (350, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1394
1402 insert into sys.args values (32638, 350, 'res_0', 'tinyint', 8, 0, 0, 0); 1402 ! 1395 insert into sys.args values (32629, 350, 'res_0', 'decimal', 18, 0, 0, 0); 1395
1403 insert into sys.args values (32639, 350, 'arg_1', 'tinyint', 8, 0, 1, 1); 1403 ! 1396 insert into sys.args values (32630, 350, 'arg_1', 'decimal', 18, 0, 1, 1); 1396
1404 insert into sys.args values (32640, 350, 'arg_2', 'tinyint', 8, 0, 1, 2); 1404 ! 1397 insert into sys.args values (32631, 350, 'arg_2', 'smallint', 16, 0, 1, 2); 1397
1405 insert into sys.functions values (351, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1405 ! 1398 insert into sys.functions values (351, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1398
1406 insert into sys.args values (32641, 351, 'res_0', 'tinyint', 8, 0, 0, 0); 1406 ! 1399 insert into sys.args values (32632, 351, 'res_0', 'decimal', 18, 0, 0, 0); 1399
1407 insert into sys.args values (32642, 351, 'arg_1', 'tinyint', 8, 0, 1, 1); 1407 ! 1400 insert into sys.args values (32633, 351, 'arg_1', 'decimal', 18, 0, 1, 1); 1400
1408 insert into sys.args values (32643, 351, 'arg_2', 'tinyint', 8, 0, 1, 2); 1408 ! 1401 insert into sys.args values (32634, 351, 'arg_2', 'int', 32, 0, 1, 2); 1401
1409 insert into sys.functions values (352, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1409 1402 insert into sys.functions values (352, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1402
1410 insert into sys.args values (32644, 352, 'res_0', 'tinyint', 8, 0, 0, 0); 1410 ! 1403 insert into sys.args values (32635, 352, 'res_0', 'decimal', 18, 0, 0, 0); 1403
1411 insert into sys.args values (32645, 352, 'arg_1', 'tinyint', 8, 0, 1, 1); 1411 ! 1404 insert into sys.args values (32636, 352, 'arg_1', 'int', 32, 0, 1, 1); 1404
1412 insert into sys.args values (32646, 352, 'arg_2', 'tinyint', 8, 0, 1, 2); 1412 ! 1405 insert into sys.args values (32637, 352, 'arg_2', 'decimal', 18, 0, 1, 2); 1405
1413 insert into sys.functions values (353, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1413 1406 insert into sys.functions values (353, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1406
1414 insert into sys.args values (32647, 353, 'res_0', 'tinyint', 8, 0, 0, 0); 1414 ! 1407 insert into sys.args values (32638, 353, 'res_0', 'decimal', 18, 0, 0, 0); 1407
1415 insert into sys.args values (32648, 353, 'arg_1', 'tinyint', 8, 0, 1, 1); 1415 ! 1408 insert into sys.args values (32639, 353, 'arg_1', 'decimal', 18, 0, 1, 1); 1408
1416 insert into sys.args values (32649, 353, 'arg_2', 'tinyint', 8, 0, 1, 2); 1416 ! 1409 insert into sys.args values (32640, 353, 'arg_2', 'int', 32, 0, 1, 2); 1409
1417 insert into sys.functions values (354, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1417 ! 1410 insert into sys.functions values (354, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1410
1418 insert into sys.args values (32650, 354, 'res_0', 'tinyint', 8, 0, 0, 0); 1418 ! 1411 insert into sys.args values (32641, 354, 'res_0', 'decimal', 38, 0, 0, 0); 1411
1419 insert into sys.args values (32651, 354, 'arg_1', 'tinyint', 8, 0, 1, 1); 1419 ! 1412 insert into sys.args values (32642, 354, 'arg_1', 'decimal', 38, 0, 1, 1); 1412
1420 insert into sys.args values (32652, 354, 'arg_2', 'tinyint', 8, 0, 1, 2); 1420 ! 1413 insert into sys.args values (32643, 354, 'arg_2', 'tinyint', 8, 0, 1, 2); 1413
1421 insert into sys.functions values (355, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1421 ! 1414 insert into sys.functions values (355, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1414
1422 insert into sys.args values (32653, 355, 'res_0', 'tinyint', 8, 0, 0, 0); 1422 ! 1415 insert into sys.args values (32644, 355, 'res_0', 'decimal', 38, 0, 0, 0); 1415
1423 insert into sys.args values (32654, 355, 'arg_1', 'tinyint', 8, 0, 1, 1); 1423 ! 1416 insert into sys.args values (32645, 355, 'arg_1', 'tinyint', 8, 0, 1, 1); 1416
1424 insert into sys.args values (32655, 355, 'arg_2', 'tinyint', 8, 0, 1, 2); 1424 ! 1417 insert into sys.args values (32646, 355, 'arg_2', 'decimal', 38, 0, 1, 2); 1417
1425 insert into sys.functions values (356, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1425 ! 1418 insert into sys.functions values (356, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1418
1426 insert into sys.args values (32656, 356, 'res_0', 'tinyint', 8, 0, 0, 0); 1426 ! 1419 insert into sys.args values (32647, 356, 'res_0', 'decimal', 38, 0, 0, 0); 1419
1427 insert into sys.args values (32657, 356, 'arg_1', 'tinyint', 8, 0, 1, 1); 1427 ! 1420 insert into sys.args values (32648, 356, 'arg_1', 'decimal', 38, 0, 1, 1); 1420
1428 insert into sys.args values (32658, 356, 'arg_2', 'tinyint', 8, 0, 1, 2); 1428 ! 1421 insert into sys.args values (32649, 356, 'arg_2', 'tinyint', 8, 0, 1, 2); 1421
1429 insert into sys.functions values (357, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1429 ! 1422 insert into sys.functions values (357, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1422
1430 insert into sys.args values (32659, 357, 'res_0', 'tinyint', 8, 0, 0, 0); 1430 ! 1423 insert into sys.args values (32650, 357, 'res_0', 'decimal', 38, 0, 0, 0); 1423
1431 insert into sys.args values (32660, 357, 'arg_1', 'tinyint', 8, 0, 1, 1); 1431 ! 1424 insert into sys.args values (32651, 357, 'arg_1', 'decimal', 38, 0, 1, 1); 1424
insert into sys. + 1425 insert into sys.args values (32652, 357, 'arg_2', 'smallint', 16, 0, 1, 2); 1425
1432 functions values (358, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1432 ! 1426 insert into sys.functions values (358, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1426
1433 insert into sys.args values (32661, 358, 'res_0', 'tinyint', 8, 0, 0, 0); 1433 ! 1427 insert into sys.args values (32653, 358, 'res_0', 'decimal', 38, 0, 0, 0); 1427
1434 insert into sys.args values (32662, 358, 'arg_1', 'tinyint', 8, 0, 1, 1); 1434 ! 1428 insert into sys.args values (32654, 358, 'arg_1', 'smallint', 16, 0, 1, 1); 1428
1435 insert into sys.args values (32663, 358, 'arg_2', 'int', 32, 0, 1, 2); 1435 ! 1429 insert into sys.args values (32655, 358, 'arg_2', 'decimal', 38, 0, 1, 2); 1429
1436 insert into sys.functions values (359, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1436 ! 1430 insert into sys.functions values (359, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1430
1437 insert into sys.args values (32664, 359, 'res_0', 'tinyint', 8, 0, 0, 0); 1437 ! 1431 insert into sys.args values (32656, 359, 'res_0', 'decimal', 38, 0, 0, 0); 1431
1438 insert into sys.args values (32665, 359, 'arg_1', 'tinyint', 8, 0, 1, 1); 1438 ! 1432 insert into sys.args values (32657, 359, 'arg_1', 'decimal', 38, 0, 1, 1); 1432
1439 insert into sys.args values (32666, 359, 'arg_2', 'int', 32, 0, 1, 2); 1439 ! 1433 insert into sys.args values (32658, 359, 'arg_2', 'smallint', 16, 0, 1, 2); 1433
1440 insert into sys.functions values (360, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1440 ! 1434 insert into sys.functions values (360, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1434
1441 insert into sys.args values (32667, 360, 'res_0', 'tinyint', 8, 0, 0, 0); 1441 -
1442 insert into sys.args values (32668, 360, 'arg_1', 'tinyint', 8, 0, 1, 1); 1442 ! 1435 insert into sys.args values (32659, 360, 'res_0', 'decimal', 38, 0, 0, 0); 1435
1443 insert into sys.functions values (361, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1443 ! 1436 insert into sys.args values (32660, 360, 'arg_1', 'decimal', 38, 0, 1, 1); 1436
1444 insert into sys.args values (32669, 361, 'res_0', 'tinyint', 8, 0, 0, 0); 1444 ! 1437 insert into sys.args values (32661, 360, 'arg_2', 'int', 32, 0, 1, 2); 1437
1445 insert into sys.args values (32670, 361, 'arg_1', 'tinyint', 8, 0, 1, 1); 1445 ! 1438 insert into sys.functions values (361, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1438
1446 insert into sys.functions values (362, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1446 ! 1439 insert into sys.args values (32662, 361, 'res_0', 'decimal', 38, 0, 0, 0); 1439
1447 insert into sys.args values (32671, 362, 'res_0', 'tinyint', 8, 0, 0, 0); 1447 ! 1440 insert into sys.args values (32663, 361, 'arg_1', 'int', 32, 0, 1, 1); 1440
1448 insert into sys.args values (32672, 362, 'arg_1', 'tinyint', 8, 0, 1, 1); 1448 ! 1441 insert into sys.args values (32664, 361, 'arg_2', 'decimal', 38, 0, 1, 2); 1441
1449 insert into sys.functions values (363, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1449 ! 1442 insert into sys.functions values (362, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1442
1450 insert into sys.args values (32673, 363, 'res_0', 'tinyint', 8, 0, 0, 0); 1450 ! 1443 insert into sys.args values (32665, 362, 'res_0', 'decimal', 38, 0, 0, 0); 1443
1451 insert into sys.args values (32674, 363, 'arg_1', 'tinyint', 8, 0, 1, 1); 1451 ! 1444 insert into sys.args values (32666, 362, 'arg_1', 'decimal', 38, 0, 1, 1); 1444
1452 insert into sys.args values (32675, 363, 'arg_2', 'tinyint', 8, 0, 1, 2); 1452 ! 1445 insert into sys.args values (32667, 362, 'arg_2', 'int', 32, 0, 1, 2); 1445
1453 insert into sys.functions values (364, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1453 ! 1446 insert into sys.functions values (363, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1446
1454 insert into sys.args values (32676, 364, 'res_0', 'tinyint', 8, 0, 0, 0); 1454 ! 1447 insert into sys.args values (32668, 363, 'res_0', 'decimal', 38, 0, 0, 0); 1447
1455 insert into sys.args values (32677, 364, 'arg_1', 'tinyint', 8, 0, 1, 1); 1455 ! 1448 insert into sys.args values (32669, 363, 'arg_1', 'decimal', 38, 0, 1, 1); 1448
1456 insert into sys.args values (32678, 364, 'arg_2', 'tinyint', 8, 0, 1, 2); 1456 ! 1449 insert into sys.args values (32670, 363, 'arg_2', 'bigint', 64, 0, 1, 2); 1449
1457 insert into sys.functions values (365, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1457 ! 1450 insert into sys.functions values (364, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1450
1458 insert into sys.args values (32679, 365, 'res_0', 'month_interval', 32, 0, 0, 0); 1458 ! 1451 insert into sys.args values (32671, 364, 'res_0', 'decimal', 38, 0, 0, 0); 1451
1459 insert into sys.args values (32680, 365, 'arg_1', 'month_interval', 32, 0, 1, 1); 1459 ! 1452 insert into sys.args values (32672, 364, 'arg_1', 'bigint', 64, 0, 1, 1); 1452
1460 insert into sys.args values (32681, 365, 'arg_2', 'tinyint', 8, 0, 1, 2); 1460 ! 1453 insert into sys.args values (32673, 364, 'arg_2', 'decimal', 38, 0, 1, 2); 1453
1461 insert into sys.functions values (366, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1461 ! 1454 insert into sys.functions values (365, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1454
1462 insert into sys.args values (32682, 366, 'res_0', 'month_interval', 32, 0, 0, 0); 1462 ! 1455 insert into sys.args values (32674, 365, 'res_0', 'decimal', 38, 0, 0, 0); 1455
1463 insert into sys.args values (32683, 366, 'arg_1', 'month_interval', 32, 0, 1, 1); 1463 ! 1456 insert into sys.args values (32675, 365, 'arg_1', 'decimal', 38, 0, 1, 1); 1456
1464 insert into sys.args values (32684, 366, 'arg_2', 'tinyint', 8, 0, 1, 2); 1464 ! 1457 insert into sys.args values (32676, 365, 'arg_2', 'bigint', 64, 0, 1, 2); 1457
1465 insert into sys.functions values (367, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1465 ! 1458 insert into sys.functions values (366, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1458
1466 insert into sys.args values (32685, 367, 'res_0', 'sec_interval', 13, 0, 0, 0); 1466 ! 1459 insert into sys.args values (32677, 366, 'res_0', 'decimal', 9, 0, 0, 0); 1459
1467 insert into sys.args values (32686, 367, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1467 ! 1460 insert into sys.args values (32678, 366, 'arg_1', 'decimal', 9, 0, 1, 1); 1460
1468 insert into sys.args values (32687, 367, 'arg_2', 'tinyint', 8, 0, 1, 2); 1468 ! 1461 insert into sys.args values (32679, 366, 'arg_2', 'decimal', 4, 0, 1, 2); 1461
1469 insert into sys.functions values (368, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1469 ! 1462 insert into sys.functions values (367, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1462
1470 insert into sys.args values (32688, 368, 'res_0', 'sec_interval', 13, 0, 0, 0); 1470 ! 1463 insert into sys.args values (32680, 367, 'res_0', 'decimal', 9, 0, 0, 0); 1463
1471 insert into sys.args values (32689, 368, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1471 ! 1464 insert into sys.args values (32681, 367, 'arg_1', 'decimal', 9, 0, 1, 1); 1464
1472 insert into sys.args values (32690, 368, 'arg_2', 'tinyint', 8, 0, 1, 2); 1472 ! 1465 insert into sys.args values (32682, 367, 'arg_2', 'decimal', 4, 0, 1, 2); 1465
1473 insert into sys.functions values (369, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1473 ! 1466 insert into sys.functions values (368, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1466
1474 insert into sys.args values (32691, 369, 'res_0', 'smallint', 16, 0, 0, 0); 1474 ! 1467 insert into sys.args values (32683, 368, 'res_0', 'decimal', 18, 0, 0, 0); 1467
1475 insert into sys.args values (32692, 369, 'arg_1', 'smallint', 16, 0, 1, 1); 1475 ! 1468 insert into sys.args values (32684, 368, 'arg_1', 'decimal', 18, 0, 1, 1); 1468
1476 insert into sys.args values (32693, 369, 'arg_2', 'smallint', 16, 0, 1, 2); 1476 ! 1469 insert into sys.args values (32685, 368, 'arg_2', 'decimal', 4, 0, 1, 2); 1469
1477 insert into sys.functions values (370, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1477 ! 1470 insert into sys.functions values (369, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1470
1478 insert into sys.args values (32694, 370, 'res_0', 'smallint', 16, 0, 0, 0); 1478 ! 1471 insert into sys.args values (32686, 369, 'res_0', 'decimal', 18, 0, 0, 0); 1471
1479 insert into sys.args values (32695, 370, 'arg_1', 'smallint', 16, 0, 1, 1); 1479 ! 1472 insert into sys.args values (32687, 369, 'arg_1', 'decimal', 18, 0, 1, 1); 1472
1480 insert into sys.args values (32696, 370, 'arg_2', 'smallint', 16, 0, 1, 2); 1480 ! 1473 insert into sys.args values (32688, 369, 'arg_2', 'decimal', 4, 0, 1, 2); 1473
1481 insert into sys.functions values (371, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1481 ! 1474 insert into sys.functions values (370, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1474
1482 insert into sys.args values (32697, 371, 'res_0', 'smallint', 16, 0, 0, 0); 1482 ! 1475 insert into sys.args values (32689, 370, 'res_0', 'decimal', 18, 0, 0, 0); 1475
1483 insert into sys.args values (32698, 371, 'arg_1', 'smallint', 16, 0, 1, 1); 1483 ! 1476 insert into sys.args values (32690, 370, 'arg_1', 'decimal', 18, 0, 1, 1); 1476
1484 insert into sys.args values (32699, 371, 'arg_2', 'smallint', 16, 0, 1, 2); 1484 ! 1477 insert into sys.args values (32691, 370, 'arg_2', 'decimal', 9, 0, 1, 2); 1477
1485 insert into sys.functions values (372, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1485 ! 1478 insert into sys.functions values (371, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1478
1486 insert into sys.args values (32700, 372, 'res_0', 'smallint', 16, 0, 0, 0); 1486 ! 1479 insert into sys.args values (32692, 371, 'res_0', 'decimal', 18, 0, 0, 0); 1479
1487 insert into sys.args values (32701, 372, 'arg_1', 'smallint', 16, 0, 1, 1); 1487 ! 1480 insert into sys.args values (32693, 371, 'arg_1', 'decimal', 18, 0, 1, 1); 1480
1488 insert into sys.args values (32702, 372, 'arg_2', 'smallint', 16, 0, 1, 2); 1488 ! 1481 insert into sys.args values (32694, 371, 'arg_2', 'decimal', 9, 0, 1, 2); 1481
1489 insert into sys.functions values (373, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1489 ! 1482 insert into sys.functions values (372, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1482
1490 insert into sys.args values (32703, 373, 'res_0', 'smallint', 16, 0, 0, 0); 1490 ! 1483 insert into sys.args values (32695, 372, 'res_0', 'decimal', 38, 0, 0, 0); 1483
1491 insert into sys.args values (32704, 373, 'arg_1', 'smallint', 16, 0, 1, 1); 1491 ! 1484 insert into sys.args values (32696, 372, 'arg_1', 'decimal', 38, 0, 1, 1); 1484
1492 insert into sys.args values (32705, 373, 'arg_2', 'smallint', 16, 0, 1, 2); 1492 ! 1485 insert into sys.args values (32697, 372, 'arg_2', 'decimal', 4, 0, 1, 2); 1485
1493 insert into sys.functions values (374, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1493 ! 1486 insert into sys.functions values (373, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1486
1494 insert into sys.args values (32706, 374, 'res_0', 'smallint', 16, 0, 0, 0); 1494 ! 1487 insert into sys.args values (32698, 373, 'res_0', 'decimal', 38, 0, 0, 0); 1487
1495 insert into sys.args values (32707, 374, 'arg_1', 'smallint', 16, 0, 1, 1); 1495 ! 1488 insert into sys.args values (32699, 373, 'arg_1', 'decimal', 38, 0, 1, 1); 1488
1496 insert into sys.args values (32708, 374, 'arg_2', 'smallint', 16, 0, 1, 2); 1496 ! 1489 insert into sys.args values (32700, 373, 'arg_2', 'decimal', 4, 0, 1, 2); 1489
1497 insert into sys.functions values (375, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1497 ! 1490 insert into sys.functions values (374, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1490
1498 insert into sys.args values (32709, 375, 'res_0', 'smallint', 16, 0, 0, 0); 1498 ! 1491 insert into sys.args values (32701, 374, 'res_0', 'decimal', 38, 0, 0, 0); 1491
1499 insert into sys.args values (32710, 375, 'arg_1', 'smallint', 16, 0, 1, 1); 1499 ! 1492 insert into sys.args values (32702, 374, 'arg_1', 'decimal', 38, 0, 1, 1); 1492
1500 insert into sys.args values (32711, 375, 'arg_2', 'smallint', 16, 0, 1, 2); 1500 ! 1493 insert into sys.args values (32703, 374, 'arg_2', 'decimal', 9, 0, 1, 2); 1493
1501 insert into sys.functions values (376, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1501 ! 1494 insert into sys.functions values (375, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1494
1502 insert into sys.args values (32712, 376, 'res_0', 'smallint', 16, 0, 0, 0); 1502 ! 1495 insert into sys.args values (32704, 375, 'res_0', 'decimal', 38, 0, 0, 0); 1495
1503 insert into sys.args values (32713, 376, 'arg_1', 'smallint', 16, 0, 1, 1); 1503 ! 1496 insert into sys.args values (32705, 375, 'arg_1', 'decimal', 38, 0, 1, 1); 1496
insert into sys. + 1497 insert into sys.args values (32706, 375, 'arg_2', 'decimal', 9, 0, 1, 2); 1497
1504 functions values (377, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1504 ! 1498 insert into sys.functions values (376, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1498
1505 insert into sys.args values (32714, 377, 'res_0', 'smallint', 16, 0, 0, 0); 1505 ! 1499 insert into sys.args values (32707, 376, 'res_0', 'decimal', 38, 0, 0, 0); 1499
1506 insert into sys.args values (32715, 377, 'arg_1', 'smallint', 16, 0, 1, 1); 1506 ! 1500 insert into sys.args values (32708, 376, 'arg_1', 'decimal', 38, 0, 1, 1); 1500
1507 insert into sys.args values (32716, 377, 'arg_2', 'int', 32, 0, 1, 2); 1507 ! 1501 insert into sys.args values (32709, 376, 'arg_2', 'decimal', 18, 0, 1, 2); 1501
1508 insert into sys.functions values (378, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1508 ! 1502 insert into sys.functions values (377, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1502
1509 insert into sys.args values (32717, 378, 'res_0', 'smallint', 16, 0, 0, 0); 1509 ! 1503 insert into sys.args values (32710, 377, 'res_0', 'decimal', 38, 0, 0, 0); 1503
1510 insert into sys.args values (32718, 378, 'arg_1', 'smallint', 16, 0, 1, 1); 1510 ! 1504 insert into sys.args values (32711, 377, 'arg_1', 'decimal', 38, 0, 1, 1); 1504
1511 insert into sys.args values (32719, 378, 'arg_2', 'int', 32, 0, 1, 2); 1511 ! 1505 insert into sys.args values (32712, 377, 'arg_2', 'decimal', 18, 0, 1, 2); 1505
1512 insert into sys.functions values (379, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1512 ! 1506 insert into sys.functions values (378, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1506
1513 insert into sys.args values (32720, 379, 'res_0', 'smallint', 16, 0, 0, 0); 1513 -
1514 insert into sys.args values (32721, 379, 'arg_1', 'smallint', 16, 0, 1, 1); 1514 ! 1507 insert into sys.args values (32713, 378, 'res_0', 'tinyint', 8, 0, 0, 0); 1507
1515 insert into sys.functions values (380, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1515 ! 1508 insert into sys.args values (32714, 378, 'arg_1', 'tinyint', 8, 0, 1, 1); 1508
1516 insert into sys.args values (32722, 380, 'res_0', 'smallint', 16, 0, 0, 0); 1516 ! 1509 insert into sys.args values (32715, 378, 'arg_2', 'tinyint', 8, 0, 1, 2); 1509
1517 insert into sys.args values (32723, 380, 'arg_1', 'smallint', 16, 0, 1, 1); 1517 ! 1510 insert into sys.functions values (379, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1510
1518 insert into sys.functions values (381, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1518 ! 1511 insert into sys.args values (32716, 379, 'res_0', 'tinyint', 8, 0, 0, 0); 1511
1519 insert into sys.args values (32724, 381, 'res_0', 'tinyint', 8, 0, 0, 0); 1519 ! 1512 insert into sys.args values (32717, 379, 'arg_1', 'tinyint', 8, 0, 1, 1); 1512
1520 insert into sys.args values (32725, 381, 'arg_1', 'smallint', 16, 0, 1, 1); 1520 ! 1513 insert into sys.args values (32718, 379, 'arg_2', 'tinyint', 8, 0, 1, 2); 1513
1521 insert into sys.functions values (382, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1521 ! 1514 insert into sys.functions values (380, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1514
1522 insert into sys.args values (32726, 382, 'res_0', 'smallint', 16, 0, 0, 0); 1522 ! 1515 insert into sys.args values (32719, 380, 'res_0', 'tinyint', 8, 0, 0, 0); 1515
1523 insert into sys.args values (32727, 382, 'arg_1', 'smallint', 16, 0, 1, 1); 1523 ! 1516 insert into sys.args values (32720, 380, 'arg_1', 'tinyint', 8, 0, 1, 1); 1516
1524 insert into sys.args values (32728, 382, 'arg_2', 'smallint', 16, 0, 1, 2); 1524 ! 1517 insert into sys.args values (32721, 380, 'arg_2', 'tinyint', 8, 0, 1, 2); 1517
1525 insert into sys.functions values (383, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1525 ! 1518 insert into sys.functions values (381, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1518
1526 insert into sys.args values (32729, 383, 'res_0', 'smallint', 16, 0, 0, 0); 1526 ! 1519 insert into sys.args values (32722, 381, 'res_0', 'tinyint', 8, 0, 0, 0); 1519
1527 insert into sys.args values (32730, 383, 'arg_1', 'smallint', 16, 0, 1, 1); 1527 ! 1520 insert into sys.args values (32723, 381, 'arg_1', 'tinyint', 8, 0, 1, 1); 1520
1528 insert into sys.args values (32731, 383, 'arg_2', 'smallint', 16, 0, 1, 2); 1528 ! 1521 insert into sys.args values (32724, 381, 'arg_2', 'tinyint', 8, 0, 1, 2); 1521
1529 insert into sys.functions values (384, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1529 ! 1522 insert into sys.functions values (382, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1522
1530 insert into sys.args values (32732, 384, 'res_0', 'month_interval', 32, 0, 0, 0); 1530 ! 1523 insert into sys.args values (32725, 382, 'res_0', 'tinyint', 8, 0, 0, 0); 1523
1531 insert into sys.args values (32733, 384, 'arg_1', 'month_interval', 32, 0, 1, 1); 1531 ! 1524 insert into sys.args values (32726, 382, 'arg_1', 'tinyint', 8, 0, 1, 1); 1524
1532 insert into sys.args values (32734, 384, 'arg_2', 'smallint', 16, 0, 1, 2); 1532 ! 1525 insert into sys.args values (32727, 382, 'arg_2', 'tinyint', 8, 0, 1, 2); 1525
1533 insert into sys.functions values (385, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1533 ! 1526 insert into sys.functions values (383, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1526
1534 insert into sys.args values (32735, 385, 'res_0', 'month_interval', 32, 0, 0, 0); 1534 ! 1527 insert into sys.args values (32728, 383, 'res_0', 'tinyint', 8, 0, 0, 0); 1527
1535 insert into sys.args values (32736, 385, 'arg_1', 'month_interval', 32, 0, 1, 1); 1535 ! 1528 insert into sys.args values (32729, 383, 'arg_1', 'tinyint', 8, 0, 1, 1); 1528
1536 insert into sys.args values (32737, 385, 'arg_2', 'smallint', 16, 0, 1, 2); 1536 ! 1529 insert into sys.args values (32730, 383, 'arg_2', 'tinyint', 8, 0, 1, 2); 1529
1537 insert into sys.functions values (386, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1537 ! 1530 insert into sys.functions values (384, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1530
1538 insert into sys.args values (32738, 386, 'res_0', 'sec_interval', 13, 0, 0, 0); 1538 ! 1531 insert into sys.args values (32731, 384, 'res_0', 'tinyint', 8, 0, 0, 0); 1531
1539 insert into sys.args values (32739, 386, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1539 ! 1532 insert into sys.args values (32732, 384, 'arg_1', 'tinyint', 8, 0, 1, 1); 1532
1540 insert into sys.args values (32740, 386, 'arg_2', 'smallint', 16, 0, 1, 2); 1540 ! 1533 insert into sys.args values (32733, 384, 'arg_2', 'tinyint', 8, 0, 1, 2); 1533
1541 insert into sys.functions values (387, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1541 ! 1534 insert into sys.functions values (385, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1534
1542 insert into sys.args values (32741, 387, 'res_0', 'sec_interval', 13, 0, 0, 0); 1542 ! 1535 insert into sys.args values (32734, 385, 'res_0', 'tinyint', 8, 0, 0, 0); 1535
1543 insert into sys.args values (32742, 387, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1543 ! 1536 insert into sys.args values (32735, 385, 'arg_1', 'tinyint', 8, 0, 1, 1); 1536
1544 insert into sys.args values (32743, 387, 'arg_2', 'smallint', 16, 0, 1, 2); 1544 ! 1537 insert into sys.functions values (386, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1537
1545 insert into sys.functions values (388, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1545 -
1546 insert into sys.args values (32744, 388, 'res_0', 'int', 32, 0, 0, 0); 1546 ! 1538 insert into sys.args values (32736, 386, 'res_0', 'tinyint', 8, 0, 0, 0); 1538
1547 insert into sys.args values (32745, 388, 'arg_1', 'int', 32, 0, 1, 1); 1547 ! 1539 insert into sys.args values (32737, 386, 'arg_1', 'tinyint', 8, 0, 1, 1); 1539
1548 insert into sys.args values (32746, 388, 'arg_2', 'int', 32, 0, 1, 2); 1548 ! 1540 insert into sys.args values (32738, 386, 'arg_2', 'int', 32, 0, 1, 2); 1540
1549 insert into sys.functions values (389, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1549 ! 1541 insert into sys.functions values (387, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1541
1550 insert into sys.args values (32747, 389, 'res_0', 'int', 32, 0, 0, 0); 1550 ! 1542 insert into sys.args values (32739, 387, 'res_0', 'tinyint', 8, 0, 0, 0); 1542
1551 insert into sys.args values (32748, 389, 'arg_1', 'int', 32, 0, 1, 1); 1551 ! 1543 insert into sys.args values (32740, 387, 'arg_1', 'tinyint', 8, 0, 1, 1); 1543
1552 insert into sys.args values (32749, 389, 'arg_2', 'int', 32, 0, 1, 2); 1552 ! 1544 insert into sys.args values (32741, 387, 'arg_2', 'int', 32, 0, 1, 2); 1544
1553 insert into sys.functions values (390, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1553 ! 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 (32742, 388, 'res_0', 'tinyint', 8, 0, 0, 0); 1546
1554 insert into sys.args values (32750, 390, 'res_0', 'int', 32, 0, 0, 0); 1554 ! 1547 insert into sys.args values (32743, 388, 'arg_1', 'tinyint', 8, 0, 1, 1); 1547
1555 insert into sys.args values (32751, 390, 'arg_1', 'int', 32, 0, 1, 1); 1555 ! 1548 insert into sys.functions values (389, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1548
1556 insert into sys.args values (32752, 390, 'arg_2', 'int', 32, 0, 1, 2); 1556 ! 1549 insert into sys.args values (32744, 389, 'res_0', 'tinyint', 8, 0, 0, 0); 1549
1557 insert into sys.functions values (391, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1557 ! 1550 insert into sys.args values (32745, 389, 'arg_1', 'tinyint', 8, 0, 1, 1); 1550
1558 insert into sys.args values (32753, 391, 'res_0', 'int', 32, 0, 0, 0); 1558 ! 1551 insert into sys.functions values (390, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1551
1559 insert into sys.args values (32754, 391, 'arg_1', 'int', 32, 0, 1, 1); 1559 ! 1552 insert into sys.args values (32746, 390, 'res_0', 'tinyint', 8, 0, 0, 0); 1552
1560 insert into sys.args values (32755, 391, 'arg_2', 'int', 32, 0, 1, 2); 1560 ! 1553 insert into sys.args values (32747, 390, 'arg_1', 'tinyint', 8, 0, 1, 1); 1553
1561 insert into sys.functions values (392, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1561 ! 1554 insert into sys.functions values (391, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1554
1562 insert into sys.args values (32756, 392, 'res_0', 'int', 32, 0, 0, 0); 1562 ! 1555 insert into sys.args values (32748, 391, 'res_0', 'tinyint', 8, 0, 0, 0); 1555
1563 insert into sys.args values (32757, 392, 'arg_1', 'int', 32, 0, 1, 1); 1563 ! 1556 insert into sys.args values (32749, 391, 'arg_1', 'tinyint', 8, 0, 1, 1); 1556
1564 insert into sys.args values (32758, 392, 'arg_2', 'int', 32, 0, 1, 2); 1564 ! 1557 insert into sys.args values (32750, 391, 'arg_2', 'tinyint', 8, 0, 1, 2); 1557
1565 insert into sys.functions values (393, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1565 ! 1558 insert into sys.functions values (392, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1558
1566 insert into sys.args values (32759, 393, 'res_0', 'int', 32, 0, 0, 0); 1566 ! 1559 insert into sys.args values (32751, 392, 'res_0', 'tinyint', 8, 0, 0, 0); 1559
1567 insert into sys.args values (32760, 393, 'arg_1', 'int', 32, 0, 1, 1); 1567 ! 1560 insert into sys.args values (32752, 392, 'arg_1', 'tinyint', 8, 0, 1, 1); 1560
1568 insert into sys.args values (32761, 393, 'arg_2', 'int', 32, 0, 1, 2); 1568 ! 1561 insert into sys.args values (32753, 392, 'arg_2', 'tinyint', 8, 0, 1, 2); 1561
1569 insert into sys.functions values (394, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1569 ! 1562 insert into sys.functions values (393, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1562
1570 insert into sys.args values (32762, 394, 'res_0', 'int', 32, 0, 0, 0); 1570 ! 1563 insert into sys.args values (32754, 393, 'res_0', 'month_interval', 3, 0, 0, 0); 1563
1571 insert into sys.args values (32763, 394, 'arg_1', 'int', 32, 0, 1, 1); 1571 ! 1564 insert into sys.args values (32755, 393, 'arg_1', 'month_interval', 3, 0, 1, 1); 1564
1572 insert into sys.args values (32764, 394, 'arg_2', 'int', 32, 0, 1, 2); 1572 ! 1565 insert into sys.args values (32756, 393, 'arg_2', 'tinyint', 8, 0, 1, 2); 1565
1573 insert into sys.functions values (395, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1573 ! 1566 insert into sys.functions values (394, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1566
1574 insert into sys.args values (32765, 395, 'res_0', 'int', 32, 0, 0, 0); 1574 ! 1567 insert into sys.args values (32757, 394, 'res_0', 'month_interval', 3, 0, 0, 0); 1567
1575 insert into sys.args values (32766, 395, 'arg_1', 'int', 32, 0, 1, 1); 1575 ! 1568 insert into sys.args values (32758, 394, 'arg_1', 'month_interval', 3, 0, 1, 1); 1568
insert into sys. + 1569 insert into sys.args values (32759, 394, 'arg_2', 'tinyint', 8, 0, 1, 2); 1569
1576 functions values (396, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1576 ! 1570 insert into sys.functions values (395, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1570
1577 insert into sys.args values (32767, 396, 'res_0', 'int', 32, 0, 0, 0); 1577 ! 1571 insert into sys.args values (32760, 395, 'res_0', 'day_interval', 4, 0, 0, 0); 1571
1578 insert into sys.args values (32768, 396, 'arg_1', 'int', 32, 0, 1, 1); 1578 ! 1572 insert into sys.args values (32761, 395, 'arg_1', 'day_interval', 4, 0, 1, 1); 1572
1579 insert into sys.args values (32769, 396, 'arg_2', 'int', 32, 0, 1, 2); 1579 ! 1573 insert into sys.args values (32762, 395, 'arg_2', 'tinyint', 8, 0, 1, 2); 1573
1580 insert into sys.functions values (397, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1580 ! 1574 insert into sys.functions values (396, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1574
1581 insert into sys.args values (32770, 397, 'res_0', 'int', 32, 0, 0, 0); 1581 ! 1575 insert into sys.args values (32763, 396, 'res_0', 'day_interval', 4, 0, 0, 0); 1575
1582 insert into sys.args values (32771, 397, 'arg_1', 'int', 32, 0, 1, 1); 1582 ! 1576 insert into sys.args values (32764, 396, 'arg_1', 'day_interval', 4, 0, 1, 1); 1576
1583 insert into sys.args values (32772, 397, 'arg_2', 'int', 32, 0, 1, 2); 1583 ! 1577 insert into sys.args values (32765, 396, 'arg_2', 'tinyint', 8, 0, 1, 2); 1577
1584 insert into sys.functions values (398, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1584 ! 1578 insert into sys.functions values (397, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1578
1585 insert into sys.args values (32773, 398, 'res_0', 'int', 32, 0, 0, 0); 1585 -
1586 insert into sys.args values (32774, 398, 'arg_1', 'int', 32, 0, 1, 1); 1586 ! 1579 insert into sys.args values (32766, 397, 'res_0', 'sec_interval', 13, 0, 0, 0); 1579
1587 insert into sys.functions values (399, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1587 ! 1580 insert into sys.args values (32767, 397, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1580
1588 insert into sys.args values (32775, 399, 'res_0', 'int', 32, 0, 0, 0); 1588 ! 1581 insert into sys.args values (32768, 397, 'arg_2', 'tinyint', 8, 0, 1, 2); 1581
1589 insert into sys.args values (32776, 399, 'arg_1', 'int', 32, 0, 1, 1); 1589 ! 1582 insert into sys.functions values (398, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1582
1590 insert into sys.functions values (400, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1590 ! 1583 insert into sys.args values (32769, 398, 'res_0', 'sec_interval', 13, 0, 0, 0); 1583
1591 insert into sys.args values (32777, 400, 'res_0', 'tinyint', 8, 0, 0, 0); 1591 ! 1584 insert into sys.args values (32770, 398, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1584
1592 insert into sys.args values (32778, 400, 'arg_1', 'int', 32, 0, 1, 1); 1592 ! 1585 insert into sys.args values (32771, 398, 'arg_2', 'tinyint', 8, 0, 1, 2); 1585
1593 insert into sys.functions values (401, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1593 ! 1586 insert into sys.functions values (399, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1586
1594 insert into sys.args values (32779, 401, 'res_0', 'int', 32, 0, 0, 0); 1594 ! 1587 insert into sys.args values (32772, 399, 'res_0', 'smallint', 16, 0, 0, 0); 1587
1595 insert into sys.args values (32780, 401, 'arg_1', 'int', 32, 0, 1, 1); 1595 ! 1588 insert into sys.args values (32773, 399, 'arg_1', 'smallint', 16, 0, 1, 1); 1588
1596 insert into sys.args values (32781, 401, 'arg_2', 'int', 32, 0, 1, 2); 1596 ! 1589 insert into sys.args values (32774, 399, 'arg_2', 'smallint', 16, 0, 1, 2); 1589
1597 insert into sys.functions values (402, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1597 ! 1590 insert into sys.functions values (400, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1590
1598 insert into sys.args values (32782, 402, 'res_0', 'int', 32, 0, 0, 0); 1598 ! 1591 insert into sys.args values (32775, 400, 'res_0', 'smallint', 16, 0, 0, 0); 1591
1599 insert into sys.args values (32783, 402, 'arg_1', 'int', 32, 0, 1, 1); 1599 ! 1592 insert into sys.args values (32776, 400, 'arg_1', 'smallint', 16, 0, 1, 1); 1592
1600 insert into sys.args values (32784, 402, 'arg_2', 'int', 32, 0, 1, 2); 1600 ! 1593 insert into sys.args values (32777, 400, 'arg_2', 'smallint', 16, 0, 1, 2); 1593
1601 insert into sys.functions values (403, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1601 ! 1594 insert into sys.functions values (401, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1594
1602 insert into sys.args values (32785, 403, 'res_0', 'month_interval', 32, 0, 0, 0); 1602 ! 1595 insert into sys.args values (32778, 401, 'res_0', 'smallint', 16, 0, 0, 0); 1595
1603 insert into sys.args values (32786, 403, 'arg_1', 'month_interval', 32, 0, 1, 1); 1603 ! 1596 insert into sys.args values (32779, 401, 'arg_1', 'smallint', 16, 0, 1, 1); 1596
1604 insert into sys.args values (32787, 403, 'arg_2', 'int', 32, 0, 1, 2); 1604 ! 1597 insert into sys.args values (32780, 401, 'arg_2', 'smallint', 16, 0, 1, 2); 1597
1605 insert into sys.functions values (404, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1605 ! 1598 insert into sys.functions values (402, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1598
1606 insert into sys.args values (32788, 404, 'res_0', 'month_interval', 32, 0, 0, 0); 1606 ! 1599 insert into sys.args values (32781, 402, 'res_0', 'smallint', 16, 0, 0, 0); 1599
1607 insert into sys.args values (32789, 404, 'arg_1', 'month_interval', 32, 0, 1, 1); 1607 ! 1600 insert into sys.args values (32782, 402, 'arg_1', 'smallint', 16, 0, 1, 1); 1600
1608 insert into sys.args values (32790, 404, 'arg_2', 'int', 32, 0, 1, 2); 1608 ! 1601 insert into sys.args values (32783, 402, 'arg_2', 'smallint', 16, 0, 1, 2); 1601
1609 insert into sys.functions values (405, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1609 ! 1602 insert into sys.functions values (403, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1602
1610 insert into sys.args values (32791, 405, 'res_0', 'sec_interval', 13, 0, 0, 0); 1610 ! 1603 insert into sys.args values (32784, 403, 'res_0', 'smallint', 16, 0, 0, 0); 1603
1611 insert into sys.args values (32792, 405, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1611 ! 1604 insert into sys.args values (32785, 403, 'arg_1', 'smallint', 16, 0, 1, 1); 1604
1612 insert into sys.args values (32793, 405, 'arg_2', 'int', 32, 0, 1, 2); 1612 ! 1605 insert into sys.args values (32786, 403, 'arg_2', 'smallint', 16, 0, 1, 2); 1605
1613 insert into sys.functions values (406, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1613 ! 1606 insert into sys.functions values (404, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1606
1614 insert into sys.args values (32794, 406, 'res_0', 'sec_interval', 13, 0, 0, 0); 1614 ! 1607 insert into sys.args values (32787, 404, 'res_0', 'smallint', 16, 0, 0, 0); 1607
1615 insert into sys.args values (32795, 406, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1615 ! 1608 insert into sys.args values (32788, 404, 'arg_1', 'smallint', 16, 0, 1, 1); 1608
1616 insert into sys.args values (32796, 406, 'arg_2', 'int', 32, 0, 1, 2); 1616 ! 1609 insert into sys.args values (32789, 404, 'arg_2', 'smallint', 16, 0, 1, 2); 1609
1617 insert into sys.functions values (407, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1617 ! 1610 insert into sys.functions values (405, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1610
1618 insert into sys.args values (32797, 407, 'res_0', 'bigint', 64, 0, 0, 0); 1618 ! 1611 insert into sys.args values (32790, 405, 'res_0', 'smallint', 16, 0, 0, 0); 1611
1619 insert into sys.args values (32798, 407, 'arg_1', 'bigint', 64, 0, 1, 1); 1619 ! 1612 insert into sys.args values (32791, 405, 'arg_1', 'smallint', 16, 0, 1, 1); 1612
1620 insert into sys.args values (32799, 407, 'arg_2', 'bigint', 64, 0, 1, 2); 1620 ! 1613 insert into sys.args values (32792, 405, 'arg_2', 'smallint', 16, 0, 1, 2); 1613
1621 insert into sys.functions values (408, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1621 ! 1614 insert into sys.functions values (406, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1614
1622 insert into sys.args values (32800, 408, 'res_0', 'bigint', 64, 0, 0, 0); 1622 ! 1615 insert into sys.args values (32793, 406, 'res_0', 'smallint', 16, 0, 0, 0); 1615
1623 insert into sys.args values (32801, 408, 'arg_1', 'bigint', 64, 0, 1, 1); 1623 ! 1616 insert into sys.args values (32794, 406, 'arg_1', 'smallint', 16, 0, 1, 1); 1616
1624 insert into sys.args values (32802, 408, 'arg_2', 'bigint', 64, 0, 1, 2); 1624 ! 1617 insert into sys.functions values (407, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1617
1625 insert into sys.functions values (409, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1625 -
1626 insert into sys.args values (32803, 409, 'res_0', 'bigint', 64, 0, 0, 0); 1626 ! 1618 insert into sys.args values (32795, 407, 'res_0', 'smallint', 16, 0, 0, 0); 1618
1627 insert into sys.args values (32804, 409, 'arg_1', 'bigint', 64, 0, 1, 1); 1627 ! 1619 insert into sys.args values (32796, 407, 'arg_1', 'smallint', 16, 0, 1, 1); 1619
1628 insert into sys.args values (32805, 409, 'arg_2', 'bigint', 64, 0, 1, 2); 1628 ! 1620 insert into sys.args values (32797, 407, 'arg_2', 'int', 32, 0, 1, 2); 1620
1629 insert into sys.functions values (410, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1629 ! 1621 insert into sys.functions values (408, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1621
1630 insert into sys.args values (32806, 410, 'res_0', 'bigint', 64, 0, 0, 0); 1630 ! 1622 insert into sys.args values (32798, 408, 'res_0', 'smallint', 16, 0, 0, 0); 1622
1631 insert into sys.args values (32807, 410, 'arg_1', 'bigint', 64, 0, 1, 1); 1631 ! 1623 insert into sys.args values (32799, 408, 'arg_1', 'smallint', 16, 0, 1, 1); 1623
1632 insert into sys.args values (32808, 410, 'arg_2', 'bigint', 64, 0, 1, 2); 1632 ! 1624 insert into sys.args values (32800, 408, 'arg_2', 'int', 32, 0, 1, 2); 1624
1633 insert into sys.functions values (411, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1633 ! 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 (32801, 409, 'res_0', 'smallint', 16, 0, 0, 0); 1626
1634 insert into sys.args values (32809, 411, 'res_0', 'bigint', 64, 0, 0, 0); 1634 ! 1627 insert into sys.args values (32802, 409, 'arg_1', 'smallint', 16, 0, 1, 1); 1627
1635 insert into sys.args values (32810, 411, 'arg_1', 'bigint', 64, 0, 1, 1); 1635 ! 1628 insert into sys.functions values (410, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1628
1636 insert into sys.args values (32811, 411, 'arg_2', 'bigint', 64, 0, 1, 2); 1636 ! 1629 insert into sys.args values (32803, 410, 'res_0', 'smallint', 16, 0, 0, 0); 1629
1637 insert into sys.functions values (412, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1637 ! 1630 insert into sys.args values (32804, 410, 'arg_1', 'smallint', 16, 0, 1, 1); 1630
1638 insert into sys.args values (32812, 412, 'res_0', 'bigint', 64, 0, 0, 0); 1638 ! 1631 insert into sys.functions values (411, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1631
1639 insert into sys.args values (32813, 412, 'arg_1', 'bigint', 64, 0, 1, 1); 1639 ! 1632 insert into sys.args values (32805, 411, 'res_0', 'tinyint', 8, 0, 0, 0); 1632
1640 insert into sys.args values (32814, 412, 'arg_2', 'bigint', 64, 0, 1, 2); 1640 ! 1633 insert into sys.args values (32806, 411, 'arg_1', 'smallint', 16, 0, 1, 1); 1633
1641 insert into sys.functions values (413, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1641 ! 1634 insert into sys.functions values (412, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1634
1642 insert into sys.args values (32815, 413, 'res_0', 'bigint', 64, 0, 0, 0); 1642 ! 1635 insert into sys.args values (32807, 412, 'res_0', 'smallint', 16, 0, 0, 0); 1635
1643 insert into sys.args values (32816, 413, 'arg_1', 'bigint', 64, 0, 1, 1); 1643 ! 1636 insert into sys.args values (32808, 412, 'arg_1', 'smallint', 16, 0, 1, 1); 1636
1644 insert into sys.args values (32817, 413, 'arg_2', 'bigint', 64, 0, 1, 2); 1644 ! 1637 insert into sys.args values (32809, 412, 'arg_2', 'smallint', 16, 0, 1, 2); 1637
1645 insert into sys.functions values (414, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1645 ! 1638 insert into sys.functions values (413, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1638
1646 insert into sys.args values (32818, 414, 'res_0', 'bigint', 64, 0, 0, 0); 1646 ! 1639 insert into sys.args values (32810, 413, 'res_0', 'smallint', 16, 0, 0, 0); 1639
1647 insert into sys.args values (32819, 414, 'arg_1', 'bigint', 64, 0, 1, 1); 1647 ! 1640 insert into sys.args values (32811, 413, 'arg_1', 'smallint', 16, 0, 1, 1); 1640
insert into sys. + 1641 insert into sys.args values (32812, 413, 'arg_2', 'smallint', 16, 0, 1, 2); 1641
1648 functions values (415, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1648 ! 1642 insert into sys.functions values (414, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1642
1649 insert into sys.args values (32820, 415, 'res_0', 'bigint', 64, 0, 0, 0); 1649 ! 1643 insert into sys.args values (32813, 414, 'res_0', 'month_interval', 3, 0, 0, 0); 1643
1650 insert into sys.args values (32821, 415, 'arg_1', 'bigint', 64, 0, 1, 1); 1650 ! 1644 insert into sys.args values (32814, 414, 'arg_1', 'month_interval', 3, 0, 1, 1); 1644
1651 insert into sys.args values (32822, 415, 'arg_2', 'int', 32, 0, 1, 2); 1651 ! 1645 insert into sys.args values (32815, 414, 'arg_2', 'smallint', 16, 0, 1, 2); 1645
1652 insert into sys.functions values (416, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1652 ! 1646 insert into sys.functions values (415, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1646
1653 insert into sys.args values (32823, 416, 'res_0', 'bigint', 64, 0, 0, 0); 1653 ! 1647 insert into sys.args values (32816, 415, 'res_0', 'month_interval', 3, 0, 0, 0); 1647
1654 insert into sys.args values (32824, 416, 'arg_1', 'bigint', 64, 0, 1, 1); 1654 ! 1648 insert into sys.args values (32817, 415, 'arg_1', 'month_interval', 3, 0, 1, 1); 1648
1655 insert into sys.args values (32825, 416, 'arg_2', 'int', 32, 0, 1, 2); 1655 ! 1649 insert into sys.args values (32818, 415, 'arg_2', 'smallint', 16, 0, 1, 2); 1649
1656 insert into sys.functions values (417, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1656 ! 1650 insert into sys.functions values (416, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1650
1657 insert into sys.args values (32826, 417, 'res_0', 'bigint', 64, 0, 0, 0); 1657 -
1658 insert into sys.args values (32827, 417, 'arg_1', 'bigint', 64, 0, 1, 1); 1658 ! 1651 insert into sys.args values (32819, 416, 'res_0', 'day_interval', 4, 0, 0, 0); 1651
1659 insert into sys.functions values (418, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1659 ! 1652 insert into sys.args values (32820, 416, 'arg_1', 'day_interval', 4, 0, 1, 1); 1652
1660 insert into sys.args values (32828, 418, 'res_0', 'bigint', 64, 0, 0, 0); 1660 ! 1653 insert into sys.args values (32821, 416, 'arg_2', 'smallint', 16, 0, 1, 2); 1653
1661 insert into sys.args values (32829, 418, 'arg_1', 'bigint', 64, 0, 1, 1); 1661 ! 1654 insert into sys.functions values (417, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1654
1662 insert into sys.functions values (419, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1662 ! 1655 insert into sys.args values (32822, 417, 'res_0', 'day_interval', 4, 0, 0, 0); 1655
1663 insert into sys.args values (32830, 419, 'res_0', 'tinyint', 8, 0, 0, 0); 1663 ! 1656 insert into sys.args values (32823, 417, 'arg_1', 'day_interval', 4, 0, 1, 1); 1656
1664 insert into sys.args values (32831, 419, 'arg_1', 'bigint', 64, 0, 1, 1); 1664 ! 1657 insert into sys.args values (32824, 417, 'arg_2', 'smallint', 16, 0, 1, 2); 1657
1665 insert into sys.functions values (420, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1665 ! 1658 insert into sys.functions values (418, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1658
1666 insert into sys.args values (32832, 420, 'res_0', 'bigint', 64, 0, 0, 0); 1666 ! 1659 insert into sys.args values (32825, 418, 'res_0', 'sec_interval', 13, 0, 0, 0); 1659
1667 insert into sys.args values (32833, 420, 'arg_1', 'bigint', 64, 0, 1, 1); 1667 ! 1660 insert into sys.args values (32826, 418, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1660
1668 insert into sys.args values (32834, 420, 'arg_2', 'bigint', 64, 0, 1, 2); 1668 ! 1661 insert into sys.args values (32827, 418, 'arg_2', 'smallint', 16, 0, 1, 2); 1661
1669 insert into sys.functions values (421, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1669 ! 1662 insert into sys.functions values (419, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1662
1670 insert into sys.args values (32835, 421, 'res_0', 'bigint', 64, 0, 0, 0); 1670 ! 1663 insert into sys.args values (32828, 419, 'res_0', 'sec_interval', 13, 0, 0, 0); 1663
1671 insert into sys.args values (32836, 421, 'arg_1', 'bigint', 64, 0, 1, 1); 1671 ! 1664 insert into sys.args values (32829, 419, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1664
1672 insert into sys.args values (32837, 421, 'arg_2', 'bigint', 64, 0, 1, 2); 1672 ! 1665 insert into sys.args values (32830, 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 (32831, 420, 'res_0', 'int', 32, 0, 0, 0); 1667
+ 1668 insert into sys.args values (32832, 420, 'arg_1', 'int', 32, 0, 1, 1); 1668
+ 1669 insert into sys.args values (32833, 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 (32834, 421, 'res_0', 'int', 32, 0, 0, 0); 1671
+ 1672 insert into sys.args values (32835, 421, 'arg_1', 'int', 32, 0, 1, 1); 1672
+ 1673 insert into sys.args values (32836, 421, 'arg_2', 'int', 32, 0, 1, 2); 1673
1673 insert into sys.functions values (422, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1673 1674 insert into sys.functions values (422, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1674
1674 insert into sys.args values (32838, 422, 'res_0', 'month_interval', 32, 0, 0, 0); 1674 ! 1675 insert into sys.args values (32837, 422, 'res_0', 'int', 32, 0, 0, 0); 1675
1675 insert into sys.args values (32839, 422, 'arg_1', 'month_interval', 32, 0, 1, 1); 1675 ! 1676 insert into sys.args values (32838, 422, 'arg_1', 'int', 32, 0, 1, 1); 1676
1676 insert into sys.args values (32840, 422, 'arg_2', 'bigint', 64, 0, 1, 2); 1676 ! 1677 insert into sys.args values (32839, 422, 'arg_2', 'int', 32, 0, 1, 2); 1677
1677 insert into sys.functions values (423, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1677 1678 insert into sys.functions values (423, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1678
1678 insert into sys.args values (32841, 423, 'res_0', 'month_interval', 32, 0, 0, 0); 1678 ! 1679 insert into sys.args values (32840, 423, 'res_0', 'int', 32, 0, 0, 0); 1679
1679 insert into sys.args values (32842, 423, 'arg_1', 'month_interval', 32, 0, 1, 1); 1679 ! 1680 insert into sys.args values (32841, 423, 'arg_1', 'int', 32, 0, 1, 1); 1680
1680 insert into sys.args values (32843, 423, 'arg_2', 'bigint', 64, 0, 1, 2); 1680 ! 1681 insert into sys.args values (32842, 423, 'arg_2', 'int', 32, 0, 1, 2); 1681
1681 insert into sys.functions values (424, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1681 ! 1682 insert into sys.functions values (424, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1682
1682 insert into sys.args values (32844, 424, 'res_0', 'sec_interval', 13, 0, 0, 0); 1682 ! 1683 insert into sys.args values (32843, 424, 'res_0', 'int', 32, 0, 0, 0); 1683
1683 insert into sys.args values (32845, 424, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1683 ! 1684 insert into sys.args values (32844, 424, 'arg_1', 'int', 32, 0, 1, 1); 1684
1684 insert into sys.args values (32846, 424, 'arg_2', 'bigint', 64, 0, 1, 2); 1684 ! 1685 insert into sys.args values (32845, 424, 'arg_2', 'int', 32, 0, 1, 2); 1685
1685 insert into sys.functions values (425, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1685 ! 1686 insert into sys.functions values (425, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1686
1686 insert into sys.args values (32847, 425, 'res_0', 'sec_interval', 13, 0, 0, 0); 1686 ! 1687 insert into sys.args values (32846, 425, 'res_0', 'int', 32, 0, 0, 0); 1687
1687 insert into sys.args values (32848, 425, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1687 ! 1688 insert into sys.args values (32847, 425, 'arg_1', 'int', 32, 0, 1, 1); 1688
1688 insert into sys.args values (32849, 425, 'arg_2', 'bigint', 64, 0, 1, 2); 1688 ! 1689 insert into sys.args values (32848, 425, 'arg_2', 'int', 32, 0, 1, 2); 1689
1689 insert into sys.functions values (426, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1689 ! 1690 insert into sys.functions values (426, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1690
1690 insert into sys.args values (32850, 426, 'res_0', 'hugeint', 128, 0, 0, 0); 1690 ! 1691 insert into sys.args values (32849, 426, 'res_0', 'int', 32, 0, 0, 0); 1691
1691 insert into sys.args values (32851, 426, 'arg_1', 'hugeint', 128, 0, 1, 1); 1691 ! 1692 insert into sys.args values (32850, 426, 'arg_1', 'int', 32, 0, 1, 1); 1692
1692 insert into sys.args values (32852, 426, 'arg_2', 'hugeint', 128, 0, 1, 2); 1692 ! 1693 insert into sys.args values (32851, 426, 'arg_2', 'int', 32, 0, 1, 2); 1693
1693 insert into sys.functions values (427, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1693 ! 1694 insert into sys.functions values (427, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1694
1694 insert into sys.args values (32853, 427, 'res_0', 'hugeint', 128, 0, 0, 0); 1694 ! 1695 insert into sys.args values (32852, 427, 'res_0', 'int', 32, 0, 0, 0); 1695
1695 insert into sys.args values (32854, 427, 'arg_1', 'hugeint', 128, 0, 1, 1); 1695 ! 1696 insert into sys.args values (32853, 427, 'arg_1', 'int', 32, 0, 1, 1); 1696
1696 insert into sys.args values (32855, 427, 'arg_2', 'hugeint', 128, 0, 1, 2); 1696 ! 1697 insert into sys.functions values (428, 'left_shift', '<<', 'calc', 0, 1, false, false, false, 2000, true, false); 1697
1697 insert into sys.functions values (428, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1697 -
1698 insert into sys.args values (32856, 428, 'res_0', 'hugeint', 128, 0, 0, 0); 1698 ! 1698 insert into sys.args values (32854, 428, 'res_0', 'int', 32, 0, 0, 0); 1698
1699 insert into sys.args values (32857, 428, 'arg_1', 'hugeint', 128, 0, 1, 1); 1699 ! 1699 insert into sys.args values (32855, 428, 'arg_1', 'int', 32, 0, 1, 1); 1699
1700 insert into sys.args values (32858, 428, 'arg_2', 'hugeint', 128, 0, 1, 2); 1700 ! 1700 insert into sys.args values (32856, 428, 'arg_2', 'int', 32, 0, 1, 2); 1700
1701 insert into sys.functions values (429, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1701 ! 1701 insert into sys.functions values (429, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1701
1702 insert into sys.args values (32859, 429, 'res_0', 'hugeint', 128, 0, 0, 0); 1702 ! 1702 insert into sys.args values (32857, 429, 'res_0', 'int', 32, 0, 0, 0); 1702
1703 insert into sys.args values (32860, 429, 'arg_1', 'hugeint', 128, 0, 1, 1); 1703 ! 1703 insert into sys.args values (32858, 429, 'arg_1', 'int', 32, 0, 1, 1); 1703
1704 insert into sys.args values (32861, 429, 'arg_2', 'hugeint', 128, 0, 1, 2); 1704 ! 1704 insert into sys.args values (32859, 429, 'arg_2', 'int', 32, 0, 1, 2); 1704
1705 insert into sys.functions values (430, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1705 ! 1705 insert into sys.functions values (430, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1705
1706 insert into sys.args values (32862, 430, 'res_0', 'hugeint', 128, 0, 0, 0); 1706 ! 1706 insert into sys.args values (32860, 430, 'res_0', 'int', 32, 0, 0, 0); 1706
1707 insert into sys.args values (32863, 430, 'arg_1', 'hugeint', 128, 0, 1, 1); 1707 ! 1707 insert into sys.args values (32861, 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
1708 insert into sys.args values (32864, 430, 'arg_2', 'hugeint', 128, 0, 1, 2); 1708 ! 1709 insert into sys.args values (32862, 431, 'res_0', 'int', 32, 0, 0, 0); 1709
1709 insert into sys.functions values (431, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1709 ! 1710 insert into sys.args values (32863, 431, 'arg_1', 'int', 32, 0, 1, 1); 1710
1710 insert into sys.args values (32865, 431, 'res_0', 'hugeint', 128, 0, 0, 0); 1710 ! 1711 insert into sys.functions values (432, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1711
1711 insert into sys.args values (32866, 431, 'arg_1', 'hugeint', 128, 0, 1, 1); 1711 ! 1712 insert into sys.args values (32864, 432, 'res_0', 'tinyint', 8, 0, 0, 0); 1712
1712 insert into sys.args values (32867, 431, 'arg_2', 'hugeint', 128, 0, 1, 2); 1712 ! 1713 insert into sys.args values (32865, 432, 'arg_1', 'int', 32, 0, 1, 1); 1713
1713 insert into sys.functions values (432, 'bit_xor', 'xor', 'calc', 0, 1, false, false, false, 2000, true, false); 1713 ! 1714 insert into sys.functions values (433, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1714
1714 insert into sys.args values (32868, 432, 'res_0', 'hugeint', 128, 0, 0, 0); 1714 ! 1715 insert into sys.args values (32866, 433, 'res_0', 'int', 32, 0, 0, 0); 1715
1715 insert into sys.args values (32869, 432, 'arg_1', 'hugeint', 128, 0, 1, 1); 1715 ! 1716 insert into sys.args values (32867, 433, 'arg_1', 'int', 32, 0, 1, 1); 1716
1716 insert into sys.args values (32870, 432, 'arg_2', 'hugeint', 128, 0, 1, 2); 1716 ! 1717 insert into sys.args values (32868, 433, 'arg_2', 'int', 32, 0, 1, 2); 1717
1717 insert into sys.functions values (433, 'bit_not', 'not', 'calc', 0, 1, false, false, false, 2000, true, false); 1717 ! 1718 insert into sys.functions values (434, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1718
1718 insert into sys.args values (32871, 433, 'res_0', 'hugeint', 128, 0, 0, 0); 1718 ! 1719 insert into sys.args values (32869, 434, 'res_0', 'int', 32, 0, 0, 0); 1719
1719 insert into sys.args values (32872, 433, 'arg_1', 'hugeint', 128, 0, 1, 1); 1719 ! 1720 insert into sys.args values (32870, 434, 'arg_1', 'int', 32, 0, 1, 1); 1720
insert into sys.functions values (434, 'left_shift', '<< + 1721 insert into sys.args values (32871, 434, 'arg_2', 'int', 32, 0, 1, 2); 1721
1720 ', 'calc', 0, 1, false, false, false, 2000, true, false); 1720 + 1722 insert into sys.functions values (435, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1722
1721 insert into sys.args values (32873, 434, 'res_0', 'hugeint', 128, 0, 0, 0); 1721 ! 1723 insert into sys.args values (32872, 435, 'res_0', 'month_interval', 3, 0, 0, 0); 1723
1722 insert into sys.args values (32874, 434, 'arg_1', 'hugeint', 128, 0, 1, 1); 1722 ! 1724 insert into sys.args values (32873, 435, 'arg_1', 'month_interval', 3, 0, 1, 1); 1724
1723 insert into sys.args values (32875, 434, 'arg_2', 'int', 32, 0, 1, 2); 1723 ! 1725 insert into sys.args values (32874, 435, 'arg_2', 'int', 32, 0, 1, 2); 1725
1724 insert into sys.functions values (435, 'right_shift', '>>', 'calc', 0, 1, false, false, false, 2000, true, false); 1724 ! 1726 insert into sys.functions values (436, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1726
1725 insert into sys.args values (32876, 435, 'res_0', 'hugeint', 128, 0, 0, 0); 1725 ! 1727 insert into sys.args values (32875, 436, 'res_0', 'month_interval', 3, 0, 0, 0); 1727
1726 insert into sys.args values (32877, 435, 'arg_1', 'hugeint', 128, 0, 1, 1); 1726 ! 1728 insert into sys.args values (32876, 436, 'arg_1', 'month_interval', 3, 0, 1, 1); 1728
1727 insert into sys.args values (32878, 435, 'arg_2', 'int', 32, 0, 1, 2); 1727 ! 1729 insert into sys.args values (32877, 436, 'arg_2', 'int', 32, 0, 1, 2); 1729
1728 insert into sys.functions values (436, 'sql_neg', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1728 ! 1730 insert into sys.functions values (437, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1730
1729 insert into sys.args values (32879, 436, 'res_0', 'hugeint', 128, 0, 0, 0); 1729 -
1730 insert into sys.args values (32880, 436, 'arg_1', 'hugeint', 128, 0, 1, 1); 1730 ! 1731 insert into sys.args values (32878, 437, 'res_0', 'day_interval', 4, 0, 0, 0); 1731
1731 insert into sys.functions values (437, 'abs', 'abs', 'calc', 0, 1, false, false, false, 2000, true, false); 1731 ! 1732 insert into sys.args values (32879, 437, 'arg_1', 'day_interval', 4, 0, 1, 1); 1732
1732 insert into sys.args values (32881, 437, 'res_0', 'hugeint', 128, 0, 0, 0); 1732 ! 1733 insert into sys.args values (32880, 437, 'arg_2', 'int', 32, 0, 1, 2); 1733
1733 insert into sys.args values (32882, 437, 'arg_1', 'hugeint', 128, 0, 1, 1); 1733 ! 1734 insert into sys.functions values (438, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1734
1734 insert into sys.functions values (438, 'sign', 'sign', 'calc', 0, 1, false, false, false, 2000, true, false); 1734 ! 1735 insert into sys.args values (32881, 438, 'res_0', 'day_interval', 4, 0, 0, 0); 1735
1735 insert into sys.args values (32883, 438, 'res_0', 'tinyint', 8, 0, 0, 0); 1735 ! 1736 insert into sys.args values (32882, 438, 'arg_1', 'day_interval', 4, 0, 1, 1); 1736
1736 insert into sys.args values (32884, 438, 'arg_1', 'hugeint', 128, 0, 1, 1); 1736 ! 1737 insert into sys.args values (32883, 438, 'arg_2', 'int', 32, 0, 1, 2); 1737
1737 insert into sys.functions values (439, 'scale_up', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1737 ! 1738 insert into sys.functions values (439, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1738
1738 insert into sys.args values (32885, 439, 'res_0', 'hugeint', 128, 0, 0, 0); 1738 ! 1739 insert into sys.args values (32884, 439, 'res_0', 'sec_interval', 13, 0, 0, 0); 1739
1739 insert into sys.args values (32886, 439, 'arg_1', 'hugeint', 128, 0, 1, 1); 1739 ! 1740 insert into sys.args values (32885, 439, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1740
1740 insert into sys.args values (32887, 439, 'arg_2', 'hugeint', 128, 0, 1, 2); 1740 ! 1741 insert into sys.args values (32886, 439, 'arg_2', 'int', 32, 0, 1, 2); 1741
1741 insert into sys.functions values (440, 'scale_down', 'dec_round', 'sql', 0, 1, false, false, false, 2000, true, false); 1741 ! 1742 insert into sys.functions values (440, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1742
1742 insert into sys.args values (32888, 440, 'res_0', 'hugeint', 128, 0, 0, 0); 1742 ! 1743 insert into sys.args values (32887, 440, 'res_0', 'sec_interval', 13, 0, 0, 0); 1743
1743 insert into sys.args values (32889, 440, 'arg_1', 'hugeint', 128, 0, 1, 1); 1743 ! 1744 insert into sys.args values (32888, 440, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1744
1744 insert into sys.args values (32890, 440, 'arg_2', 'hugeint', 128, 0, 1, 2); 1744 ! 1745 insert into sys.args values (32889, 440, 'arg_2', 'int', 32, 0, 1, 2); 1745
1745 insert into sys.functions values (441, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1745 ! 1746 insert into sys.functions values (441, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1746
1746 insert into sys.args values (32891, 441, 'res_0', 'month_interval', 32, 0, 0, 0); 1746 ! 1747 insert into sys.args values (32890, 441, 'res_0', 'bigint', 64, 0, 0, 0); 1747
1747 insert into sys.args values (32892, 441, 'arg_1', 'month_interval', 32, 0, 1, 1); 1747 ! 1748 insert into sys.args values (32891, 441, 'arg_1', 'bigint', 64, 0, 1, 1); 1748
1748 insert into sys.args values (32893, 441, 'arg_2', 'hugeint', 128, 0, 1, 2); 1748 ! 1749 insert into sys.args values (32892, 441, 'arg_2', 'bigint', 64, 0, 1, 2); 1749
1749 insert into sys.functions values (442, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1749 ! 1750 insert into sys.functions values (442, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1750
1750 insert into sys.args values (32894, 442, 'res_0', 'month_interval', 32, 0, 0, 0); 1750 ! 1751 insert into sys.args values (32893, 442, 'res_0', 'bigint', 64, 0, 0, 0); 1751
1751 insert into sys.args values (32895, 442, 'arg_1', 'month_interval', 32, 0, 1, 1); 1751 ! 1752 insert into sys.args values (32894, 442, 'arg_1', 'bigint', 64, 0, 1, 1); 1752
1752 insert into sys.args values (32896, 442, 'arg_2', 'hugeint', 128, 0, 1, 2); 1752 ! 1753 insert into sys.args values (32895, 442, 'arg_2', 'bigint', 64, 0, 1, 2); 1753
1753 insert into sys.functions values (443, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1753 1754 insert into sys.functions values (443, 'sql_mul', '*', 'calc', 0, 1, false, false, false, 2000, true, false); 1754
1754 insert into sys.args values (32897, 443, 'res_0', 'sec_interval', 13, 0, 0, 0); 1754 ! 1755 insert into sys.args values (32896, 443, 'res_0', 'bigint', 64, 0, 0, 0); 1755
1755 insert into sys.args values (32898, 443, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1755 ! 1756 insert into sys.args values (32897, 443, 'arg_1', 'bigint', 64, 0, 1, 1); 1756
1756 insert into sys.args values (32899, 443, 'arg_2', 'hugeint', 128, 0, 1, 2); 1756 ! 1757 insert into sys.args values (32898, 443, 'arg_2', 'bigint', 64, 0, 1, 2); 1757
1757 insert into sys.functions values (444, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1757 1758 insert into sys.functions values (444, 'sql_div', '/', 'calc', 0, 1, false, false, false, 2000, true, false); 1758
1758 insert into sys.args values (32900, 444, 'res_0', 'sec_interval', 13, 0, 0, 0); 1758 ! 1759 insert into sys.args values (32899, 444, 'res_0', 'bigint', 64, 0, 0, 0); 1759
1759 insert into sys.args values (32901, 444, 'arg_1', 'sec_interval', 13, 0, 1, 1); 1759 ! 1760 insert into sys.args values (32900, 444, 'arg_1', 'bigint', 64, 0, 1, 1); 1760
1760 insert into sys.args values (32902, 444, 'arg_2', 'hugeint', 128, 0, 1, 2); 1760 ! 1761 insert into sys.args values (32901, 444, 'arg_2', 'bigint', 64, 0, 1, 2); 1761
1761 insert into sys.functions values (445, 'sql_sub', '-', 'calc', 0, 1, false, false, false, 2000, true, false); 1761 ! 1762 insert into sys.functions values (445, 'bit_and', 'and', 'calc', 0, 1, false, false, false, 2000, true, false); 1762
1762 insert into sys.args values (32903, 445, 'res_0', 'decimal', 2, 0, 0, 0); 1762 ! 1763 insert into sys.args values (32902, 445, 'res_0', 'bigint', 64, 0, 0, 0); 1763
1763 insert into sys.args values (32904, 445, 'arg_1', 'decimal', 2, 0, 1, 1); 1763 ! 1764 insert into sys.args values (32903, 445, 'arg_1', 'bigint', 64, 0, 1, 1); 1764
1764 insert into sys.args values (32905, 445, 'arg_2', 'decimal', 2, 0, 1, 2); 1764 ! 1765 insert into sys.args values (32904, 445, 'arg_2', 'bigint', 64, 0, 1, 2); 1765
1765 insert into sys.functions values (446, 'sql_add', '+', 'calc', 0, 1, false, false, false, 2000, true, false); 1765 ! 1766 insert into sys.functions values (446, 'bit_or', 'or', 'calc', 0, 1, false, false, false, 2000, true, false); 1766
1766 inse