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
1a675fe5
Commit
1a675fe5
authored
Jul 27, 1996
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed these script sonce and for all?
Submitted by: Rick Weldon <rick@wisetech.com>
parent
32a3858a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
src/bin/createdb/createdb.sh
src/bin/createdb/createdb.sh
+2
-2
src/bin/createuser/createuser.sh
src/bin/createuser/createuser.sh
+2
-2
src/bin/destroydb/destroydb.sh
src/bin/destroydb/destroydb.sh
+2
-2
src/bin/destroyuser/destroyuser.sh
src/bin/destroyuser/destroyuser.sh
+2
-2
No files found.
src/bin/createdb/createdb.sh
View file @
1a675fe5
...
...
@@ -11,7 +11,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/createdb/Attic/createdb.sh,v 1.
2 1996/07/25 06:55:23
scrappy Exp $
# $Header: /cvsroot/pgsql/src/bin/createdb/Attic/createdb.sh,v 1.
3 1996/07/27 02:19:00
scrappy Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -58,7 +58,7 @@ done
AUTHOPT
=
"-a
$AUTHSYS
"
[
-z
"
$AUTHSYS
"
]
&&
AUTHOPT
=
""
psql
-
Tq
$AUTHOPT
-H
$PGHOST
-p
$PGPORT
-c
"create database
$dbname
"
template1
||
{
psql
-
tq
$AUTHOPT
-h
$PGHOST
-p
$PGPORT
-c
"create database
$dbname
"
template1
||
{
echo
"
$CMDNAME
: database creation failed on
$dbname
."
exit
1
}
...
...
src/bin/createuser/createuser.sh
View file @
1a675fe5
...
...
@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/createuser/Attic/createuser.sh,v 1.
2 1996/07/25 06:55:30
scrappy Exp $
# $Header: /cvsroot/pgsql/src/bin/createuser/Attic/createuser.sh,v 1.
3 1996/07/27 02:19:06
scrappy Exp $
#
# Note - this should NOT be setuid.
#
...
...
@@ -55,7 +55,7 @@ done
AUTHOPT
=
"-a
$AUTHSYS
"
[
-z
"
$AUTHSYS
"
]
&&
AUTHOPT
=
""
PARGS
=
"-
T -q
$AUTHOPT
-H
$PGHOST
-p
$PGPORT
"
PARGS
=
"-
tq
$AUTHOPT
-h
$PGHOST
-p
$PGPORT
"
#
# generate the first part of the actual monitor command
...
...
src/bin/destroydb/destroydb.sh
View file @
1a675fe5
...
...
@@ -11,7 +11,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/destroydb/Attic/destroydb.sh,v 1.
2 1996/07/25 06:55:41
scrappy Exp $
# $Header: /cvsroot/pgsql/src/bin/destroydb/Attic/destroydb.sh,v 1.
3 1996/07/27 02:19:12
scrappy Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -58,7 +58,7 @@ done
AUTHOPT
=
"-a
$AUTHSYS
"
[
-z
"
$AUTHSYS
"
]
&&
AUTHOPT
=
""
psql
-
Tq
-H
$PGHOST
-p
$PGPORT
-c
"drop database
$dbname
"
template1
psql
-
tq
-h
$PGHOST
-p
$PGPORT
-c
"drop database
$dbname
"
template1
if
[
$?
-ne
0
]
then
...
...
src/bin/destroyuser/destroyuser.sh
View file @
1a675fe5
...
...
@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/destroyuser/Attic/destroyuser.sh,v 1.
2 1996/07/25 06:55:49
scrappy Exp $
# $Header: /cvsroot/pgsql/src/bin/destroyuser/Attic/destroyuser.sh,v 1.
3 1996/07/27 02:19:18
scrappy Exp $
#
# Note - this should NOT be setuid.
#
...
...
@@ -55,7 +55,7 @@ done
AUTHOPT
=
"-a
$AUTHSYS
"
[
-z
"
$AUTHSYS
"
]
&&
AUTHOPT
=
""
PARGS
=
"-
Tq
$AUTHOPT
-p
$PGPORT
-H
$PGHOST
"
PARGS
=
"-
tq
$AUTHOPT
-p
$PGPORT
-h
$PGHOST
"
#
# generate the first part of the actual monitor command
...
...
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