From dec8ad367e46180f826d5b6dc820fbecba1b71d2 Mon Sep 17 00:00:00 2001
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Mon, 25 Apr 2022 15:48:13 +0200
Subject: 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 4fb5c794e586.
---
 src/test/regress/sql/spgist.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/test/regress/sql/spgist.sql')

diff --git a/src/test/regress/sql/spgist.sql b/src/test/regress/sql/spgist.sql
index f375025dcb1..d56b80a51b6 100644
--- a/src/test/regress/sql/spgist.sql
+++ b/src/test/regress/sql/spgist.sql
@@ -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
-- 
cgit v1.2.3

