@@ -7,6 +7,7 @@ CREATE TABLE brintest_multi (
7
7
float4col real,
8
8
float8col double precision,
9
9
macaddrcol macaddr,
10
+ macaddr8col macaddr8,
10
11
inetcol inet,
11
12
cidrcol cidr,
12
13
datecol date,
@@ -28,6 +29,7 @@ INSERT INTO brintest_multi SELECT
28
29
(four + 1.0)/(hundred+1),
29
30
odd::float8 / (tenthous + 1),
30
31
format('%s:00:%s:00:%s:00', to_hex(odd), to_hex(even), to_hex(hundred))::macaddr,
32
+ substr(md5(unique1::text), 1, 16)::macaddr8,
31
33
inet '10.2.3.4/24' + tenthous,
32
34
cidr '10.2.3/24' + tenthous,
33
35
date '1995-08-15' + tenthous,
@@ -69,6 +71,7 @@ CREATE INDEX brinidx_multi ON brintest_multi USING brin (
69
71
float4col float4_minmax_multi_ops,
70
72
float8col float8_minmax_multi_ops,
71
73
macaddrcol macaddr_minmax_multi_ops,
74
+ macaddr8col macaddr8_minmax_multi_ops,
72
75
inetcol inet_minmax_multi_ops,
73
76
cidrcol inet_minmax_multi_ops,
74
77
datecol date_minmax_multi_ops,
@@ -91,6 +94,7 @@ CREATE INDEX brinidx_multi ON brintest_multi USING brin (
91
94
float4col float4_minmax_multi_ops,
92
95
float8col float8_minmax_multi_ops,
93
96
macaddrcol macaddr_minmax_multi_ops,
97
+ macaddr8col macaddr8_minmax_multi_ops,
94
98
inetcol inet_minmax_multi_ops,
95
99
cidrcol inet_minmax_multi_ops,
96
100
datecol date_minmax_multi_ops,
@@ -172,6 +176,10 @@ INSERT INTO brinopers_multi VALUES
172
176
'{>, >=, =, <=, <}',
173
177
'{00:00:01:00:00:00, 00:00:01:00:00:00, 2c:00:2d:00:16:00, ff:fe:00:00:00:00, ff:fe:00:00:00:00}',
174
178
'{99, 100, 2, 100, 100}'),
179
+ ('macaddr8col', 'macaddr8',
180
+ '{>, >=, =, <=, <}',
181
+ '{b1:d1:0e:7b:af:a4:42:12, d9:35:91:bd:f7:86:0e:1e, 72:8f:20:6c:2a:01:bf:57, 23:e8:46:63:86:07:ad:cb, 13:16:8e:6a:2e:6c:84:b4}',
182
+ '{33, 15, 1, 13, 6}'),
175
183
('inetcol', 'inet',
176
184
'{=, <, <=, >, >=}',
177
185
'{10.2.14.231/24, 255.255.255.255, 255.255.255.255, 0.0.0.0, 0.0.0.0}',
@@ -319,6 +327,7 @@ INSERT INTO brintest_multi SELECT
319
327
(four + 1.0)/(hundred+1),
320
328
odd::float8 / (tenthous + 1),
321
329
format('%s:00:%s:00:%s:00', to_hex(odd), to_hex(even), to_hex(hundred))::macaddr,
330
+ substr(md5(unique1::text), 1, 16)::macaddr8,
322
331
inet '10.2.3.4' + tenthous,
323
332
cidr '10.2.3/24' + tenthous,
324
333
date '1995-08-15' + tenthous,
0 commit comments