diff options
author | Marc G. Fournier | 1996-07-25 06:55:49 +0000 |
---|---|---|
committer | Marc G. Fournier | 1996-07-25 06:55:49 +0000 |
commit | ff50e5ab475f5ca5a86d6dd0f13bc088bed4fdc3 (patch) | |
tree | 40e148aee1a73fc3dd1188f01a395c9dc3774793 /src/bin/createdb | |
parent | 69ee15d66351bcbe0e4447b1804ed20d01a5f885 (diff) |
Switched from using monitor to using psql
Submitted by: Rick Weldon <rick@wisetech.com>
Diffstat (limited to 'src/bin/createdb')
-rw-r--r-- | src/bin/createdb/createdb.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/createdb/createdb.sh b/src/bin/createdb/createdb.sh index 2d2116d4699..0baab04634b 100644 --- a/src/bin/createdb/createdb.sh +++ b/src/bin/createdb/createdb.sh @@ -11,7 +11,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/createdb/Attic/createdb.sh,v 1.1.1.1 1996/07/09 06:22:12 scrappy Exp $ +# $Header: /cvsroot/pgsql/src/bin/createdb/Attic/createdb.sh,v 1.2 1996/07/25 06:55:23 scrappy Exp $ # #------------------------------------------------------------------------- @@ -58,7 +58,7 @@ done AUTHOPT="-a $AUTHSYS" [ -z "$AUTHSYS" ] && AUTHOPT="" -monitor -TN $AUTHOPT -h $PGHOST -p $PGPORT -c "create database $dbname" template1 || { +psql -Tq $AUTHOPT -H $PGHOST -p $PGPORT -c "create database $dbname" template1 || { echo "$CMDNAME: database creation failed on $dbname." exit 1 } |