-- 
-- Hot Standby tests
--
-- primary_test_setup.sql
--
--

drop table if exists hs1;
create table hs1 (col1 integer primary key, col2 text);

drop table if exists hs2;
create table hs2 (col1 integer primary key, col2 text);

drop table if exists hs3;
create table hs3 (col1 integer primary key, col2 text);

insert into hs1 values (1, 'table1');

insert into hs2
select generate_series(1,1000), 'table2';

insert into hs3
select generate_series(1,100000), 'table3';

create sequence hsseq;

select pg_switch_xlog();
