diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-09-10 12:02:58 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-09-10 12:02:58 +0200 |
commit | 09d7c955d907bf09c5a63c85d2f0c6d7e47ad6ea (patch) | |
tree | 84c13347b19e52c424752395b5fa1e77f98d175d /newpgdb | |
parent | a65c4c428c03fbaa5ae1a4cf2848b39894cfdfd6 (diff) | |
download | bin-09d7c955d907bf09c5a63c85d2f0c6d7e47ad6ea.tar.gz bin-09d7c955d907bf09c5a63c85d2f0c6d7e47ad6ea.tar.xz |
misc
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'newpgdb')
-rwxr-xr-x | newpgdb | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,7 @@ +#!/bin/bash + +cat <<CMD | psql +create database $2; +create role $2; +grant $2 to $1; +CMD |