/[slony-test]/adsl/12_fill_master.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /adsl/12_fill_master.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7 - (show annotations)
Tue Feb 13 12:05:42 2007 UTC (12 years, 3 months ago) by dpavlin
File MIME type: application/x-sh
File size: 307 byte(s)
use data from local data directory

1 echo "sync changes on all nodes"
2 slonik_execute_script -c 'select now();' 1 | slonik
3
4 psql="sudo -u postgres psql -p 5001 adsl"
5 $psql -c 'copy spajanja (start_t,stop_t,download,upload,duration,ip) from stdin;' < data/200611.txt
6 $psql -c 'select count(*) from spajanja'
7 $psql -c 'select * from po_mjesecima'

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.26