#!/bin/sh # # ********** # test_1_update_functions # # Script to reload the function definitions in a node. # ********** export PATH DB1=slony_test1 DB2=slony_test2 ###################################################################### # Move set 1 to node 2 ###################################################################### echo "**** Reloading the functions in nodes 1 and 2" slonik <<_EOF_ cluster name = T1; node 11 admin conninfo = 'dbname=$DB1'; node 22 admin conninfo = 'dbname=$DB2'; update functions (id = 11); update functions (id = 22); _EOF_