mirror of
https://github.com/postgres/postgres.git
synced 2025-08-08 06:02:22 +03:00
rserv replication toolkit from Vadim Mikheev.
This commit is contained in:
22
contrib/rserv/slave.sql.in
Normal file
22
contrib/rserv/slave.sql.in
Normal file
@@ -0,0 +1,22 @@
|
||||
-- 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
|
||||
);
|
Reference in New Issue
Block a user