Chris Browne cbbrowne at lists.slony.info
Thu Mar 1 13:02:34 PST 2007
Update of /home/cvsd/slony1/slony1-engine/tests/testinherit
In directory main:/tmp/cvs-serv8746/tests/testinherit

Added Files:
	gen_weak_user.sh 
Log Message:
Add tests to the testbed that confirm the minimal permissions required
by those Slony-I connections stored in sl_path.


--- NEW FILE: gen_weak_user.sh ---
weakuser=$1;

for tbl in master sub1 sub2 sub3 regions products sales_data us_east us_west canada; do
   echo "grant select on table public.${tbl} to ${weakuser};"
done


for tbl in master products sales_data; do
  echo "grant select on table public.${tbl}_id_seq to ${weakuser};"
done


More information about the Slony1-commit mailing list