Add test for relation truncation

This commit is contained in:
Konstantin Knizhnik
2021-05-27 15:52:19 +03:00
parent 736d387f7b
commit f2e57e1348
3 changed files with 11 additions and 0 deletions

View File

@@ -9,3 +9,4 @@ test: zenith-cid
test: zenith-rel-truncate
test: zenith-clog
test: zenith-vacuum-full
test: zenith-truncate

View File

@@ -4,3 +4,4 @@ test: zenith-cid
test: zenith-rel-truncate
test: zenith-clog
test: zenith-vacuum-full
test: zenith-truncate

View 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;