Wed Feb 7 11:13:55 PST 2007
- Previous message: [Slony1-commit] slony1-engine/tests/test1 README generate_dml.sh
- Next message: [Slony1-commit] slony1-engine/tests/test1 README generate_dml.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/tests/test1
In directory main:/tmp/cvs-serv8149/test1
Modified Files:
Tag: REL_1_2_STABLE
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.5
retrieving revision 1.5.2.1
diff -C2 -d -r1.5 -r1.5.2.1
*** README 4 Aug 2006 20:06:24 -0000 1.5
--- README 7 Feb 2007 19:13:53 -0000 1.5.2.1
***************
*** 3,9 ****
test1 is a basic test that replication generally functions.
! It doesn't try to do anything too terribly fancy: It creates three
! simple tables as one replication set, and replicates them from one
! database to another.
The three tables are of the three interesting types:
--- 3,8 ----
test1 is a basic test that replication generally functions.
! It creates three simple tables as one replication set, and replicates
! them from one database to another.
The three tables are of the three interesting types:
***************
*** 25,26 ****
--- 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.8.2.2
retrieving revision 1.8.2.3
diff -C2 -d -r1.8.2.2 -r1.8.2.3
*** generate_dml.sh 6 Feb 2007 16:01:21 -0000 1.8.2.2
--- generate_dml.sh 7 Feb 2007 19:13:53 -0000 1.8.2.3
***************
*** 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"
}
- Previous message: [Slony1-commit] slony1-engine/tests/test1 README generate_dml.sh
- Next message: [Slony1-commit] slony1-engine/tests/test1 README generate_dml.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list