Chris Browne cbbrowne at lists.slony.info
Wed Feb 7 11:13:19 PST 2007
Update of /home/cvsd/slony1/slony1-engine/tests/test1
In directory main:/tmp/cvs-serv8122

Modified Files:
	README generate_dml.sh 
Log Message:
Add tests of functions generate_sync_event() and make_function_strict()


Index: README
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tests/test1/README,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** README	27 Oct 2006 14:45:51 -0000	1.6
--- README	7 Feb 2007 19:13:17 -0000	1.7
***************
*** 24,25 ****
--- 24,31 ----
  exercise that points, paths, bitmaps, mac addresses, and inet types
  replicate properly.
+ 
+ 6.  It does a test of the function generate_sync_event() to make sure
+ that it works as expected
+ 
+ 7.  It does a test of make_function_strict(), a function used in
+ 'UPDATE FUNCTIONS' to change the xxidin() function to be STRICT.

Index: generate_dml.sh
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/tests/test1/generate_dml.sh,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** generate_dml.sh	6 Feb 2007 16:01:38 -0000	1.10
--- generate_dml.sh	7 Feb 2007 19:13:17 -0000	1.11
***************
*** 82,85 ****
--- 82,90 ----
        warn 3 "generate_sync_event() failed - rc=${rc} see $mktmp/gensync.log* for details"
    fi
+   $pgbindir/psql -h $host -p $port -d $db -U $user -c "select \"_${CLUSTER1}\".make_function_strict('xxidin', '(cstring)');" 1> $mktmp/gensync.log.1 2> $mktmp/gensync.log
+   rc=$?
+   if [ $rc -ne 0 ]; then
+       warn 3 "make_function_strict('xxidin', '(cstring)') failed - rc=${rc} see $mktmp/gensync.log* for details"
+   fi
    status "done"
  }




More information about the Slony1-commit mailing list