Commit 002be14c authored by Marc G. Fournier's avatar Marc G. Fournier

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

parent ff25e44d
......@@ -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`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment