mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-04 07:16:49 +02:00
26 lines
527 B
MySQL
26 lines
527 B
MySQL
|
--
|
||
|
-- Hot Standby tests
|
||
|
--
|
||
|
-- hs_primary_setup.sql
|
||
|
--
|
||
|
|
||
|
drop table if exists hs1;
|
||
|
create table hs1 (col1 integer primary key);
|
||
|
insert into hs1 values (1);
|
||
|
|
||
|
drop table if exists hs2;
|
||
|
create table hs2 (col1 integer primary key);
|
||
|
insert into hs2 values (12);
|
||
|
insert into hs2 values (13);
|
||
|
|
||
|
drop table if exists hs3;
|
||
|
create table hs3 (col1 integer primary key);
|
||
|
insert into hs3 values (113);
|
||
|
insert into hs3 values (114);
|
||
|
insert into hs3 values (115);
|
||
|
|
||
|
DROP sequence if exists hsseq;
|
||
|
create sequence hsseq;
|
||
|
|
||
|
SELECT pg_switch_xlog();
|