/[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

Annotation of /adsl/12_fill_master.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (hide annotations)
Sun Feb 11 21:52:48 2007 UTC (12 years, 5 months ago) by dpavlin
File MIME type: application/x-sh
File size: 355 byte(s)
initial import

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

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.26