Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
002be14c
Commit
002be14c
authored
Oct 04, 1996
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
And bring in change from 1.0.7 tree to here...
parent
ff25e44d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/bin/createuser/createuser.sh
src/bin/createuser/createuser.sh
+3
-3
No files found.
src/bin/createuser/createuser.sh
View file @
002be14c
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
#
#
#
#
# IDENTIFICATION
# 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.
# Note - this should NOT be setuid.
#
#
...
@@ -67,7 +67,7 @@ PSQL="psql $PARGS"
...
@@ -67,7 +67,7 @@ PSQL="psql $PARGS"
# see if user $USER is allowed to create new users
# 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
#echo $QUERY
ADDUSER
=
`
$PSQL
-c
"
$QUERY
"
template1
`
ADDUSER
=
`
$PSQL
-c
"
$QUERY
"
template1
`
...
@@ -98,7 +98,7 @@ then
...
@@ -98,7 +98,7 @@ then
read
NEWUSER
read
NEWUSER
fi
fi
QUERY
=
"select usesysid from pg_user where usename = '
$NEWUSER
'"
QUERY
=
"select usesysid from pg_user where usename = '
$NEWUSER
'
"
RES
=
`
$PSQL
-c
"
$QUERY
"
template1
`
RES
=
`
$PSQL
-c
"
$QUERY
"
template1
`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment