From: Marc G. Fournier Date: Fri, 4 Oct 1996 20:28:57 +0000 (+0000) Subject: Added spaces to end of QUERY lines so that createuser actually works... X-Git-Tag: PG95-1_08~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b1e589ca80d156215f3379940244ec41e873f22;p=thirdparty%2Fpostgresql.git Added spaces to end of QUERY lines so that createuser actually works... --- diff --git a/src/bin/createuser/createuser.sh b/src/bin/createuser/createuser.sh index d21b62e5dcc..91823b83f26 100644 --- a/src/bin/createuser/createuser.sh +++ b/src/bin/createuser/createuser.sh @@ -8,7 +8,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/createuser/Attic/createuser.sh,v 1.3.2.1 1996/09/21 06:16:39 scrappy Exp $ +# $Header: /cvsroot/pgsql/src/bin/createuser/Attic/createuser.sh,v 1.3.2.2 1996/10/04 20:28:57 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`