Fri Mar 6 10:53:56 PST 2009
- Previous message: [Slony1-commit] slony1-engine/src/slonik slonik.c
- Next message: [Slony1-commit] slony1-engine/doc/adminguide firstdb.sgml
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/doc/adminguide In directory main.slony.info:/tmp/cvs-serv9160 Modified Files: firstdb.sgml Log Message: Bastian Voigt pointed out some 1.2-isms in the documentation of "how to replicate your first database." Fixed! Index: firstdb.sgml =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/doc/adminguide/firstdb.sgml,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** firstdb.sgml 18 Sep 2008 21:30:08 -0000 1.29 --- firstdb.sgml 6 Mar 2009 18:53:53 -0000 1.30 *************** *** 107,111 **** <programlisting> ! psql -U $PGBENCH_USER -h $HOST1 -d $DBNAME1 -c "begin; alter table history add column id serial; update history set id = nextval('history_id_seq'); alter table history add primary key(id); --- 107,111 ---- <programlisting> ! psql -U $PGBENCHUSER -h $HOST1 -d $MASTERDBNAME -c "begin; alter table history add column id serial; update history set id = nextval('history_id_seq'); alter table history add primary key(id); *************** *** 214,228 **** #-- - # Because the history table does not have a primary key or other unique - # constraint that could be used to identify a row, we need to add one. - # The following command adds a bigint column named - # _Slony-I_$CLUSTERNAME_rowID to the table. It will have a default value - # of nextval('_$CLUSTERNAME.s1_rowid_seq'), and have UNIQUE and NOT NULL - # constraints applied. All existing rows will be initialized with a - # number - #-- - table add key (node id = 1, fully qualified name = 'public.history'); - - #-- # Slony-I organizes tables into sets. The smallest unit a node can # subscribe is a set. The following commands create one set containing --- 214,217 ---- *************** *** 240,244 **** #-- ! store node (id=2, comment = 'Slave node'); store path (server = 1, client = 2, conninfo='dbname=$MASTERDBNAME host=$MASTERHOST user=$REPLICATIONUSER'); store path (server = 2, client = 1, conninfo='dbname=$SLAVEDBNAME host=$SLAVEHOST user=$REPLICATIONUSER'); --- 229,233 ---- #-- ! store node (id=2, comment = 'Slave node', event node=1); store path (server = 1, client = 2, conninfo='dbname=$MASTERDBNAME host=$MASTERHOST user=$REPLICATIONUSER'); store path (server = 2, client = 1, conninfo='dbname=$SLAVEDBNAME host=$SLAVEHOST user=$REPLICATIONUSER');
- Previous message: [Slony1-commit] slony1-engine/src/slonik slonik.c
- Next message: [Slony1-commit] slony1-engine/doc/adminguide firstdb.sgml
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list