mirror of https://github.com/postgres/postgres
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
410 B
23 lines
410 B
|
25 years ago
|
-- erServer
|
||
|
|
-- Slave server setup for erServer demonstration implementation
|
||
|
|
-- (c) 2000 Vadim Mikheev, PostgreSQL Inc.
|
||
|
|
--
|
||
|
|
|
||
|
|
drop table _RSERV_SLAVE_TABLES_;
|
||
|
|
|
||
|
|
create table _RSERV_SLAVE_TABLES_
|
||
|
|
(
|
||
|
|
tname name, -- table name
|
||
|
|
cname name, -- column name
|
||
|
|
reloid oid, -- table oid
|
||
|
|
key int4 -- key attnum
|
||
|
|
);
|
||
|
|
|
||
|
|
drop table _RSERV_SLAVE_SYNC_;
|
||
|
|
|
||
|
|
create table _RSERV_SLAVE_SYNC_
|
||
|
|
(
|
||
|
|
syncid int4,
|
||
|
|
synctime timestamp
|
||
|
|
);
|