--- adsl/12_fill_master.sh 2007/02/11 21:52:48 1 +++ adsl/12_fill_master.sh 2007/02/13 12:05:42 7 @@ -1,8 +1,7 @@ echo "sync changes on all nodes" slonik_execute_script -c 'select now();' 1 | slonik -dir=/home/dpavlin/private/adsl psql="sudo -u postgres psql -p 5001 adsl" -$dir/fix_date.pl $dir/200611.txt | $psql -c 'copy spajanja (start_t,stop_t,download,upload,duration,ip) from stdin;' +$psql -c 'copy spajanja (start_t,stop_t,download,upload,duration,ip) from stdin;' < data/200611.txt $psql -c 'select count(*) from spajanja' $psql -c 'select * from po_mjesecima'