/[webpac2]/trunk/sql/Makefile
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 /trunk/sql/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 28 - (show annotations)
Sun Jul 24 09:27:26 2005 UTC (18 years, 9 months ago) by dpavlin
File size: 219 byte(s)
small improvements

1 db=webpac2
2
3 init:
4 dropdb $(db) || true
5 createdb $(db)
6 ./mkindex.pl schema.sql | psql $(db)
7 #test -f data.sql && psql $(db) < data.sql
8 ./pgbits.pl
9
10 save:
11 pg_dump -c $(db) > $(db).sql
12
13 load:
14 psql $(db) < $(db).sql

  ViewVC Help
Powered by ViewVC 1.1.26