diff --git a/contrib/pg_surgery/expected/heap_surgery.out b/contrib/pg_surgery/expected/heap_surgery.out index 9451c57..d2cf647 100644 --- a/contrib/pg_surgery/expected/heap_surgery.out +++ b/contrib/pg_surgery/expected/heap_surgery.out @@ -87,7 +87,7 @@ NOTICE: skipping tid (0, 6) for relation "htab" because the item number is out rollback; -- set up a new table with a redirected line pointer -create table htab2(a int) with (autovacuum_enabled = off); +create temp table htab2(a int); insert into htab2 values (100); update htab2 set a = 200; vacuum htab2; @@ -175,6 +175,5 @@ ERROR: "vw" is not a table, materialized view, or TOAST table select heap_force_freeze('vw'::regclass, ARRAY['(0, 1)']::tid[]); ERROR: "vw" is not a table, materialized view, or TOAST table -- cleanup. -drop table htab2; drop view vw; drop extension pg_surgery; diff --git a/contrib/pg_surgery/sql/heap_surgery.sql b/contrib/pg_surgery/sql/heap_surgery.sql index 8a27214..3635bd5 100644 --- a/contrib/pg_surgery/sql/heap_surgery.sql +++ b/contrib/pg_surgery/sql/heap_surgery.sql @@ -41,7 +41,7 @@ select heap_force_freeze('htab'::regclass, ARRAY['(0, 0)', '(0, 6)']::tid[]); rollback; -- set up a new table with a redirected line pointer -create table htab2(a int) with (autovacuum_enabled = off); +create temp table htab2(a int); insert into htab2 values (100); update htab2 set a = 200; vacuum htab2; @@ -86,6 +86,5 @@ select heap_force_kill('vw'::regclass, ARRAY['(0, 1)']::tid[]); select heap_force_freeze('vw'::regclass, ARRAY['(0, 1)']::tid[]); -- cleanup. -drop table htab2; drop view vw; drop extension pg_surgery;