Skip to content

Commit 1a675fe

Browse files
committed
Fixed these script sonce and for all?
Submitted by: Rick Weldon <rick@wisetech.com>
1 parent 32a3858 commit 1a675fe

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/bin/createdb/createdb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#
1212
#
1313
# IDENTIFICATION
14-
# $Header: /cvsroot/pgsql/src/bin/createdb/Attic/createdb.sh,v 1.2 1996/07/25 06:55:23 scrappy Exp $
14+
# $Header: /cvsroot/pgsql/src/bin/createdb/Attic/createdb.sh,v 1.3 1996/07/27 02:19:00 scrappy Exp $
1515
#
1616
#-------------------------------------------------------------------------
1717

@@ -58,7 +58,7 @@ done
5858
AUTHOPT="-a $AUTHSYS"
5959
[ -z "$AUTHSYS" ] && AUTHOPT=""
6060

61-
psql -Tq $AUTHOPT -H $PGHOST -p $PGPORT -c "create database $dbname" template1 || {
61+
psql -tq $AUTHOPT -h $PGHOST -p $PGPORT -c "create database $dbname" template1 || {
6262
echo "$CMDNAME: database creation failed on $dbname."
6363
exit 1
6464
}

src/bin/createuser/createuser.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
#
1010
# IDENTIFICATION
11-
# $Header: /cvsroot/pgsql/src/bin/createuser/Attic/createuser.sh,v 1.2 1996/07/25 06:55:30 scrappy Exp $
11+
# $Header: /cvsroot/pgsql/src/bin/createuser/Attic/createuser.sh,v 1.3 1996/07/27 02:19:06 scrappy Exp $
1212
#
1313
# Note - this should NOT be setuid.
1414
#
@@ -55,7 +55,7 @@ done
5555
AUTHOPT="-a $AUTHSYS"
5656
[ -z "$AUTHSYS" ] && AUTHOPT=""
5757

58-
PARGS="-T -q $AUTHOPT -H $PGHOST -p $PGPORT"
58+
PARGS="-tq $AUTHOPT -h $PGHOST -p $PGPORT"
5959

6060
#
6161
# generate the first part of the actual monitor command

src/bin/destroydb/destroydb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#
1212
#
1313
# IDENTIFICATION
14-
# $Header: /cvsroot/pgsql/src/bin/destroydb/Attic/destroydb.sh,v 1.2 1996/07/25 06:55:41 scrappy Exp $
14+
# $Header: /cvsroot/pgsql/src/bin/destroydb/Attic/destroydb.sh,v 1.3 1996/07/27 02:19:12 scrappy Exp $
1515
#
1616
#-------------------------------------------------------------------------
1717

@@ -58,7 +58,7 @@ done
5858
AUTHOPT="-a $AUTHSYS"
5959
[ -z "$AUTHSYS" ] && AUTHOPT=""
6060

61-
psql -Tq -H $PGHOST -p $PGPORT -c "drop database $dbname" template1
61+
psql -tq -h $PGHOST -p $PGPORT -c "drop database $dbname" template1
6262

6363
if [ $? -ne 0 ]
6464
then

src/bin/destroyuser/destroyuser.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
#
1010
# IDENTIFICATION
11-
# $Header: /cvsroot/pgsql/src/bin/destroyuser/Attic/destroyuser.sh,v 1.2 1996/07/25 06:55:49 scrappy Exp $
11+
# $Header: /cvsroot/pgsql/src/bin/destroyuser/Attic/destroyuser.sh,v 1.3 1996/07/27 02:19:18 scrappy Exp $
1212
#
1313
# Note - this should NOT be setuid.
1414
#
@@ -55,7 +55,7 @@ done
5555
AUTHOPT="-a $AUTHSYS"
5656
[ -z "$AUTHSYS" ] && AUTHOPT=""
5757

58-
PARGS="-Tq $AUTHOPT -p $PGPORT -H $PGHOST"
58+
PARGS="-tq $AUTHOPT -p $PGPORT -h $PGHOST"
5959

6060
#
6161
# generate the first part of the actual monitor command

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy