/[rserv]/misc/slave.sql
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /misc/slave.sql

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Fri Aug 15 23:01:36 2003 UTC (20 years, 8 months ago) by dpavlin
Branch: MAIN
CVS Tags: before_onlytables, before_multmaster, r_0_3, HEAD
Changes since 1.1: +5 -5 lines
get in sync with scripts in bin

1 -- erServer
2 -- Slave server setup for erServer demonstration implementation
3 -- (c) 2000 Vadim Mikheev, PostgreSQL Inc.
4 --
5
6 drop table _RSERV_SLAVE_TABLES_;
7
8 create table _RSERV_SLAVE_TABLES_
9 (
10 tname name not null, -- table name
11 cname name not null, -- column name
12 reloid oid primary key, -- table oid
13 key int4 not null -- key attnum
14 );
15
16 drop table _RSERV_SLAVE_SYNC_;
17
18 create table _RSERV_SLAVE_SYNC_
19 (
20 syncid int4 not null,
21 synctime timestamp
22 );

  ViewVC Help
Powered by ViewVC 1.1.26