mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-17 02:12:56 +00:00
Add test for relation truncation
This commit is contained in:
@@ -9,3 +9,4 @@ test: zenith-cid
|
||||
test: zenith-rel-truncate
|
||||
test: zenith-clog
|
||||
test: zenith-vacuum-full
|
||||
test: zenith-truncate
|
||||
|
||||
@@ -4,3 +4,4 @@ test: zenith-cid
|
||||
test: zenith-rel-truncate
|
||||
test: zenith-clog
|
||||
test: zenith-vacuum-full
|
||||
test: zenith-truncate
|
||||
|
||||
9
test_runner/zenith_regress/sql/zenith-truncate.sql
Normal file
9
test_runner/zenith_regress/sql/zenith-truncate.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
create table tt(x integer);
|
||||
insert into tt values (generate_series(1,10000));
|
||||
delete from tt;
|
||||
vacuum tt;
|
||||
insert into tt values (generate_series(1,10000));
|
||||
delete from tt;
|
||||
vacuum tt;
|
||||
insert into tt values (generate_series(1,10000));
|
||||
drop table tt;
|
||||
Reference in New Issue
Block a user