Chris Browne cbbrowne at lists.slony.info
Fri Nov 2 08:31:45 PDT 2007
Update of /home/cvsd/slony1/slony1-engine/tools
In directory main.slony.info:/tmp/cvs-serv30804

Modified Files:
	configure-replication.sh 
Log Message:
Per Steve Hindmarch - some missing newlines in configure-replication.sh


Index: configure-replication.sh
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tools/configure-replication.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** configure-replication.sh	2 Jan 2007 20:19:05 -0000	1.2
--- configure-replication.sh	2 Nov 2007 15:31:43 -0000	1.3
***************
*** 56,60 ****
            eval bport=\$PORT${j}
            if [ -n "${bdb}" -a "${bhost}" -a "${buser}" -a "${bport}" ]; then
!             echo "STORE PATH (SERVER=${i}, CLIENT=${j}, CONNINFO='dbname=${db} host=${host} user=${user} port=${port}');" >> $mktmp/store_paths.slonik          else
              echo "STORE PATH (SERVER=${i}, CLIENT=${j}, CONNINFO='dbname=${db} host=${host} user=${user} port=${port}');" >> $mktmp/store_paths.slonik
            fi
--- 56,61 ----
            eval bport=\$PORT${j}
            if [ -n "${bdb}" -a "${bhost}" -a "${buser}" -a "${bport}" ]; then
!             echo "STORE PATH (SERVER=${i}, CLIENT=${j}, CONNINFO='dbname=${db} host=${host} user=${user} port=${port}');" >> $mktmp/store_paths.slonik
!           else
              echo "STORE PATH (SERVER=${i}, CLIENT=${j}, CONNINFO='dbname=${db} host=${host} user=${user} port=${port}');" >> $mktmp/store_paths.slonik
            fi
***************
*** 148,152 ****
  snum=1
  for seq in `echo $SEQUENCES`; do
!     echo "set add sequence (id=${snum}, set id=1, origin=1, fully qualified name='${seq}', comment='${CLUSTER} sequence ${seq}');" >> $SETUPSET    snum=`expr ${snum} + 1`
  done
  
--- 149,154 ----
  snum=1
  for seq in `echo $SEQUENCES`; do
!     echo "set add sequence (id=${snum}, set id=1, origin=1, fully qualified name='${seq}', comment='${CLUSTER} sequence ${seq}');" >> $SETUPSET
!     snum=`expr ${snum} + 1`
  done
  



More information about the Slony1-commit mailing list