Mercurial > dive4elements > river
comparison flys-backend/doc/schema/postgresql-setup.sh @ 5287:a7e8e9bbe6f5
postgresql-setup.sh: Doc improved.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 14 Mar 2013 12:13:51 +0100 |
parents | 4e79267c3af8 |
children | b0f14ff573d7 |
comparison
equal
deleted
inserted
replaced
5286:f8a57e87b083 | 5287:a7e8e9bbe6f5 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 # $1: user name for new DB | 2 |
3 # $1: user name and password for new DB (equals DB name) | |
3 # $2: path to directory with schema-scripts | 4 # $2: path to directory with schema-scripts |
4 | 5 |
5 # run as user postgres (postgresql super-user) | 6 # run as user postgres (postgresql super-user) |
6 # it is assumed that the owner of the DB has the same name as the DB! | 7 # it is assumed that the owner of the DB has the same name as the DB! |
7 | 8 |