mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
Fix brin regression test so it actually tests cidr.
The problem noted in my previous commit was simpler than I thought: we weren't getting an index plan because the column wasn't indexed.
This commit is contained in:
parent
79454c696b
commit
1676e4381f
@ -77,6 +77,8 @@ CREATE INDEX brinidx ON brintest USING brin (
|
|||||||
macaddrcol,
|
macaddrcol,
|
||||||
inetcol inet_inclusion_ops,
|
inetcol inet_inclusion_ops,
|
||||||
inetcol inet_minmax_ops,
|
inetcol inet_minmax_ops,
|
||||||
|
cidrcol inet_inclusion_ops,
|
||||||
|
cidrcol inet_minmax_ops,
|
||||||
bpcharcol,
|
bpcharcol,
|
||||||
datecol,
|
datecol,
|
||||||
timecol,
|
timecol,
|
||||||
@ -373,34 +375,6 @@ BEGIN
|
|||||||
END LOOP;
|
END LOOP;
|
||||||
END;
|
END;
|
||||||
$x$;
|
$x$;
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,&&,inet,10/8,100)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,=,inet,10.2.14/24,2)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,<,inet,255.255.255.255,100)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,<=,inet,255.255.255.255,100)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,>,inet,0.0.0.0,125)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,>=,inet,0.0.0.0,125)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,>>=,inet,10.2.14.231/24,2)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,>>,inet,10.2.14.231/25,2)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,<<=,inet,10.2.14.231/8,100)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,<<,inet,0/0,100)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,&&,inet,fe80::6e40:8ff:fea9:a673/32,25)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,>>=,inet,fe80::6e40:8ff:fea9:8c46,1)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,<<=,inet,fe80::6e40:8ff:fea9:a673/32,25)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,=,inet,fe80::6e40:8ff:fea9:8c46,1)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,&&,cidr,10/8,100)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,=,cidr,10.2.14/24,2)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,<,cidr,255.255.255.255,100)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,<=,cidr,255.255.255.255,100)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,>,cidr,0.0.0.0,125)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,>=,cidr,0.0.0.0,125)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,>>=,cidr,10.2.14/24,2)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,>>,cidr,10.2.14/25,2)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,<<=,cidr,10/8,100)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,<<,cidr,0/0,100)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,&&,cidr,fe80::/32,25)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,>>=,cidr,fe80::6e40:8ff:fea9:8c46,1)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,<<=,cidr,fe80::/32,25)
|
|
||||||
WARNING: did not get bitmap indexscan plan for (cidrcol,=,cidr,fe80::6e40:8ff:fea9:8c46,1)
|
|
||||||
INSERT INTO brintest SELECT
|
INSERT INTO brintest SELECT
|
||||||
repeat(stringu1, 42)::bytea,
|
repeat(stringu1, 42)::bytea,
|
||||||
substr(stringu1, 1, 1)::"char",
|
substr(stringu1, 1, 1)::"char",
|
||||||
|
@ -80,6 +80,8 @@ CREATE INDEX brinidx ON brintest USING brin (
|
|||||||
macaddrcol,
|
macaddrcol,
|
||||||
inetcol inet_inclusion_ops,
|
inetcol inet_inclusion_ops,
|
||||||
inetcol inet_minmax_ops,
|
inetcol inet_minmax_ops,
|
||||||
|
cidrcol inet_inclusion_ops,
|
||||||
|
cidrcol inet_minmax_ops,
|
||||||
bpcharcol,
|
bpcharcol,
|
||||||
datecol,
|
datecol,
|
||||||
timecol,
|
timecol,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user