/[slony-test]/adsl/02_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

Diff of /adsl/02_fill_master.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6 by dpavlin, Sun Feb 11 21:52:48 2007 UTC revision 7 by dpavlin, Tue Feb 13 12:05:42 2007 UTC
# Line 1  Line 1 
 cd /home/dpavlin/private/adsl || exit  
1  psql="sudo -u postgres psql -p 5001 adsl"  psql="sudo -u postgres psql -p 5001 adsl"
2  ./fix_date.pl 200607.txt | $psql -c 'copy spajanja from stdin;'  $psql -c 'copy spajanja from stdin;' < data/200607.txt
3  $psql -c 'select count(*) from spajanja'  $psql -c 'select count(*) from spajanja'
4  $psql -c 'select * from po_mjesecima'  $psql -c 'select * from po_mjesecima'
 cd -  

Legend:
Removed from v.6  
changed lines
  Added in v.7

  ViewVC Help
Powered by ViewVC 1.1.26