Chris Browne cbbrowne at lists.slony.info
Mon Oct 22 11:06:40 PDT 2007
Update of /home/cvsd/slony1/slony1-engine/tests/testpartition
In directory main.slony.info:/tmp/cvs-serv17845

Added Files:
	gen_weak_user.sh 
Log Message:
Add (to partitioning test) script for generating the "weak user" schema.


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

for i in 1 2 1a 2a; do
   echo "grant select on table public.table${i} to ${weakuser};"
   echo "grant select on table public.table${i}_id_seq to ${weakuser};"
done


More information about the Slony1-commit mailing list