And bring in change from 1.0.7 tree to here...

This commit is contained in:
Marc G. Fournier 1996-10-04 20:29:35 +00:00
parent ff25e44d03
commit 002be14c45
1 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/createuser/Attic/createuser.sh,v 1.4 1996/09/21 06:24:19 scrappy Exp $
# $Header: /cvsroot/pgsql/src/bin/createuser/Attic/createuser.sh,v 1.5 1996/10/04 20:29:35 scrappy Exp $
#
# Note - this should NOT be setuid.
#
@ -67,7 +67,7 @@ PSQL="psql $PARGS"
# see if user $USER is allowed to create new users
#
QUERY="select usesuper from pg_user where usename = '$USER'"
QUERY="select usesuper from pg_user where usename = '$USER' "
#echo $QUERY
ADDUSER=`$PSQL -c "$QUERY" template1`
@ -98,7 +98,7 @@ then
read NEWUSER
fi
QUERY="select usesysid from pg_user where usename = '$NEWUSER'"
QUERY="select usesysid from pg_user where usename = '$NEWUSER' "
RES=`$PSQL -c "$QUERY" template1`