head 1.4; access; symbols pkgsrc-2016Q4:1.3.0.42 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.40 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.38 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.36 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.34 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.32 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.30 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.28 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.26 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.24 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.22 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.20 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.18 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.16 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.14 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.12 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.10 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.8 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.6 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.4 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.2 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.2.0.12 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.10 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.8 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.6 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.4 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.2 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.1.0.22 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.20 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.18 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.16 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.14 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.12 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.10 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.8 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.6 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.4 pkgsrc-2008Q1:1.1.0.2 pkgsrc-2008Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2017.02.24.22.07.34; author adam; state dead; branches; next 1.3; commitid J3KW8Snz23THNfHz; 1.3 date 2011.11.26.11.49.51; author adam; state Exp; branches; next 1.2; 1.2 date 2010.04.15.07.55.32; author adam; state Exp; branches; next 1.1; 1.1 date 2008.01.14.18.58.03; author adam; state Exp; branches; next ; desc @@ 1.4 log @Fix building on systems where alloca.h does not exists, like NetBSD. @ text @$NetBSD: patch-ab,v 1.3 2011/11/26 11:49:51 adam Exp $ --- tools/start_slon.sh.orig 2011-10-11 20:20:52.000000000 +0000 +++ tools/start_slon.sh @@@@ -16,7 +16,7 @@@@ test -r "$SLON_CONF" || (echo "No slon c PID_LINE=`grep pid_file $SLON_CONF | cut -d "#" -f 1 | grep "^[[:space:]]*pid_file='.*'"` PID_FILE=`echo $PID_LINE | cut -d "=" -f 2 | cut -d "'" -f 2` -if [ "x$PID_FILE" == "x" ]; then +if [ "x$PID_FILE" = "x" ]; then echo "pid_file not found in slon conf file - $SLON_CONF" exit 1 else @ 1.3 log @Changes 2.1.0: * The first release for Slony-I branch 2.1 has been released, in the form of version 2.1.0. It is a significant new version, fixing dozens of reported bugs, and adding some significant enhancements, including: - Implicit WAIT FOR - Support for adding tables in bulk - Support for replicating TRUNCATE - Health checks at startup - Performance improvement in cases of large backlog - Monitoring thread to provide better monitoring data @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Changes 2.0.2: * PostgreSQL 8.4 compatibility * Fix - config dump was failing on string entries that were NULL * Fix - REPAIR CONFIG could have collisions where, when we load a schema, one entry in sl_table already has an OID value that incorrectly matches a value that another update is trying to fix. * Updated release notes to indicate that 2.0 only supports PostgreSQL 8.3+ * Change to configure.ac to allow it to run on autoconf 2.63; there was something unsuitable about SLONREL_VERSION processing * Fixes to Makefile for admin guide * Various fixes to admin guide material * Added an extra test to Schema name test that validates that things can operate properly even if the DB lacks a "public" schema * Fixed bug in tools/start_slon.sh * Fixed pathname substitutions in a couple of altperl scripts * Add a test which validates that the cluster schema name is valid; pgAdminIII allowed setting up cluster names that slonik would refuse to connect to. * Revised regression tests to use SYNC/WAIT FOR EVENT instead of queries that try to coordinate sl_status information with rather less determinacy... * Cleanup thread was generating spurious error messages due to misinterpreting PG return codes. Rectified this, and added a test in to make sure we're exercising the logic @ text @d3 1 a3 1 --- tools/start_slon.sh.orig 2010-04-15 09:45:28.000000000 +0000 d7 1 a7 1 PID_LINE=`grep pid_file $SLON_CONF | cut -d "#" -f 1 | grep "^[:space:]*pid_file='.*'"` @ 1.1 log @Changes 1.2.12: - Fixed problem with DDL SCRIPT parser where C-style comments were not being processed properly - Added stored functions and documentation for adding empty tables (notably *partitions*) to replication. Note these functions do no work when not specifically requested. - Added a fairly substantial partitioning test to exercise the new stored functions above. - Backport "listen path" generator function from CVS HEAD (2.0) to 1.2 branch. - Fixed a problem with "EXECUTE SCRIPT" (introduced in remote_worker.c version 1.124.2.13) where moving the relevant code into a subroutine at the end led to losing the "BEGIN; SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;" query that needs to be the first thing run... - Fixing the archive sequence generations (in log shipping). All non-SYNC events must start the local transaction before creating the archive as well, so that the lock on the archive counter table serializes archive creation. - Fixed logging done in local_listener.c - various places, there was no '\n' in some cases, which would lead to entries being folded together. - Fix launch_slons.sh - was not stripping quotes from PID file name - Error handling for "ERROR: could not serialize access due to concurrent update" - Fixes to slonik_build_env script - it wasn't properly handling cases where there was just 1 table or 1 sequence, and had a problem with the -schema option - thanks, Bernd Helmle @ text @d3 3 a5 3 --- tests/run_test.sh.orig 2008-01-13 22:38:16.000000000 +0100 +++ tests/run_test.sh @@@@ -179,7 +179,7 @@@@ store_node() d7 7 a13 25 if [ -n "${db}" -a "${host}" -a "${user}" -a "${port}" ]; then if [ ${alias} -ne ${originnode} ]; then - if [ "x${logship}" == "xtrue" ]; then # Don't bother generating nodes used for log shipping + if [ "x${logship}" = "xtrue" ]; then # Don't bother generating nodes used for log shipping status "Node ${alias} is a log shipping node - no need for STORE NODE" else echo "STORE NODE (id=${alias}, comment='node ${alias}');" >> $mktmp/slonik.script @@@@ -219,7 +219,7 @@@@ store_path() eval bport=\$PORT${j} eval blogship=\$LOGSHIP${j} if [ -n "${bdb}" -a "${bhost}" -a "${buser}" -a "${bport}" ]; then - if [[ "x${logship}" == "xtrue" || "x${blogship}" == "xtrue" ]]; then + if [[ "x${logship}" = "xtrue" || "x${blogship}" = "xtrue" ]]; then # log shipping node - no paths need exist that involve this node status "log shipping between nodes(${i}/${j}) - ls(${logship}/${blogship}) - omit STORE PATH" else @@@@ -499,7 +499,7 @@@@ launch_slon() fi conninfo="dbname=${db} host=${host} user=${user} port=${port}" - if [ "x${logship}" == "xtrue" ]; then + if [ "x${logship}" = "xtrue" ]; then status "do not launch slon for node ${alias} - it receives data via log shipping" else status "launching: $pgbindir/slon -s500 -g10 -d2 ${archiveparm} $cluster \"$conninfo\"" @