Parent Directory | Revision Log
podjela atk i inn u dvije tablice (različiti šifarnici!!!)
1 | |
2 | db=registar |
3 | |
4 | all: |
5 | @echo dump,create,drop,insert,fill |
6 | |
7 | dump: |
8 | pg_dump $(db) > $(db).sql |
9 | |
10 | create: |
11 | createdb $(db) |
12 | drop: |
13 | psql template1 -c "drop database $(db)" |
14 | |
15 | insert: |
16 | psql $(db) < $(db).sql |
17 | |
18 | shema: |
19 | psql $(db) < shema.sql |
20 | |
21 | fill: drop create shema |
22 | ./convert.pl 2>/var/tmp/debug |
23 | |
24 | fill2: |
25 | destroydb $(db)2 |
26 | createdb $(db)2 |
27 | psql $(db)2 < $(db).sql |
28 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |