Drop unlogged table after test is done

Another test is constructed on top of regression tests, which does not
work correctly with unlogged tables.  For now, cope with that by making
sure no unlogged table is left behind.

Per buildfarm pink after 4fb5c794e5.
This commit is contained in:
Alvaro Herrera 2022-04-25 15:48:13 +02:00
parent 4fb5c794e5
commit dec8ad367e
No known key found for this signature in database
GPG Key ID: 1C20ACB9D5C564AE
2 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,7 @@ select count(*)
3
(1 row)
drop table spgist_box_tbl;
-- The point opclass's choose method only uses the spgMatchNode action,
-- so the other actions are not tested by the above. Create an index using
-- text opclass, which uses the others actions.

View File

@ -45,6 +45,7 @@ create index spgist_box_idx on spgist_box_tbl using spgist (b);
select count(*)
from (values (point(5,5)),(point(8,8)),(point(12,12))) v(p)
where exists(select * from spgist_box_tbl b where b.b && box(v.p,v.p));
drop table spgist_box_tbl;
-- The point opclass's choose method only uses the spgMatchNode action,
-- so the other actions are not tested by the above. Create an index using