summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-09-21 06:18:52 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-09-21 06:18:52 +0000
commitdf79870a825ed1da71a24c418fc05e3d54b4d6aa (patch)
tree07b6e5f749546ec553b6a6cad63f9a14c8dd93b6 /src
parent6661a8dd1c1d322462270460ca61805db243b306 (diff)
Patches to make POSTPORT changes in scripts
Originally submitted by: ernst.molitor@uni-bonn.de resubmitted by: D'Arcy Cain
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.global5
-rw-r--r--src/bin/createdb/createdb.sh4
-rw-r--r--src/bin/createuser/createuser.sh4
-rw-r--r--src/bin/destroydb/destroydb.sh4
-rw-r--r--src/bin/destroyuser/destroyuser.sh4
-rw-r--r--src/bin/initdb/initdb.sh4
6 files changed, 14 insertions, 11 deletions
diff --git a/src/Makefile.global b/src/Makefile.global
index d3827f6b6aa..b62a50ac94e 100644
--- a/src/Makefile.global
+++ b/src/Makefile.global
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.19.2.5 1996/08/20 04:06:12 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.19.2.6 1996/09/21 06:16:09 scrappy Exp $
#
# NOTES
# This is seen by any Makefiles that include mk/postgres.mk. To
@@ -105,6 +105,9 @@ POSTDOCDIR= $(POSTGRESDIR)/doc
# Where the header files necessary to build frontend programs get installed.
HEADERDIR= $(POSTGRESDIR)/include
+# The port to run the postmaster on
+POSTPORT= 6543
+
# NAMEDATALEN is the max length for system identifiers (e.g. table names,
# attribute names, function names, etc.)
#
diff --git a/src/bin/createdb/createdb.sh b/src/bin/createdb/createdb.sh
index db41e1d0277..4ef7b71ed37 100644
--- a/src/bin/createdb/createdb.sh
+++ b/src/bin/createdb/createdb.sh
@@ -11,7 +11,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/createdb/Attic/createdb.sh,v 1.3 1996/07/27 02:19:00 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/bin/createdb/Attic/createdb.sh,v 1.3.2.1 1996/09/21 06:16:32 scrappy Exp $
#
#-------------------------------------------------------------------------
@@ -23,7 +23,7 @@
# PGDATA, PGHOST, and PGPORT
#
# ----------------
-[ -z "$PGPORT" ] && PGPORT=5432
+[ -z "$PGPORT" ] && PGPORT=_fUnKy_POSTPORT_sTuFf_
[ -z "$PGHOST" ] && PGHOST=localhost
BINDIR=_fUnKy_BINDIR_sTuFf_
PATH=$BINDIR:$PATH
diff --git a/src/bin/createuser/createuser.sh b/src/bin/createuser/createuser.sh
index 56dfb53ed49..d21b62e5dcc 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 1996/07/27 02:19:06 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/bin/createuser/Attic/createuser.sh,v 1.3.2.1 1996/09/21 06:16:39 scrappy Exp $
#
# Note - this should NOT be setuid.
#
@@ -22,7 +22,7 @@
# PGDATA, PGHOST, and PGPORT
#
# ----------------
-[ -z "$PGPORT" ] && PGPORT=5432
+[ -z "$PGPORT" ] && PGPORT=_fUnKy_POSTPORT_sTuFf_
[ -z "$PGHOST" ] && PGHOST=localhost
BINDIR=_fUnKy_BINDIR_sTuFf_
PATH=$BINDIR:$PATH
diff --git a/src/bin/destroydb/destroydb.sh b/src/bin/destroydb/destroydb.sh
index 5c069779818..d1bb293fe07 100644
--- a/src/bin/destroydb/destroydb.sh
+++ b/src/bin/destroydb/destroydb.sh
@@ -11,7 +11,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/destroydb/Attic/destroydb.sh,v 1.3 1996/07/27 02:19:12 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/bin/destroydb/Attic/destroydb.sh,v 1.3.2.1 1996/09/21 06:18:33 scrappy Exp $
#
#-------------------------------------------------------------------------
@@ -23,7 +23,7 @@
# PGDATA, PGHOST, and PGPORT
#
# ----------------
-[ -z "$PGPORT" ] && PGPORT=5432
+[ -z "$PGPORT" ] && PGPORT=_fUnKy_POSTPORT_sTuFf_
[ -z "$PGHOST" ] && PGHOST=localhost
BINDIR=_fUnKy_BINDIR_sTuFf_
PATH=$BINDIR:$PATH
diff --git a/src/bin/destroyuser/destroyuser.sh b/src/bin/destroyuser/destroyuser.sh
index 4e361cb2168..1b637573a1e 100644
--- a/src/bin/destroyuser/destroyuser.sh
+++ b/src/bin/destroyuser/destroyuser.sh
@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/destroyuser/Attic/destroyuser.sh,v 1.3 1996/07/27 02:19:18 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/bin/destroyuser/Attic/destroyuser.sh,v 1.3.2.1 1996/09/21 06:18:40 scrappy Exp $
#
# Note - this should NOT be setuid.
#
@@ -22,7 +22,7 @@
# PGDATA, PGHOST, and PGPORT
#
# ----------------
-[ -z "$PGPORT" ] && PGPORT=5432
+[ -z "$PGPORT" ] && PGPORT=_fUnKy_POSTPORT_sTuFf_
[ -z "$PGHOST" ] && PGHOST=localhost
BINDIR=_fUnKy_BINDIR_sTuFf_
PATH=$BINDIR:$PATH
diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh
index dfdcc608626..2e8e4551cb4 100644
--- a/src/bin/initdb/initdb.sh
+++ b/src/bin/initdb/initdb.sh
@@ -12,7 +12,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.4 1996/07/23 03:03:19 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.4.2.1 1996/09/21 06:18:52 scrappy Exp $
#
#-------------------------------------------------------------------------
@@ -25,7 +25,7 @@
#
# ----------------
[ -z "$PGDATA" ] && { PGDATA=_fUnKy_DATADIR_sTuFf_; export PGDATA; }
-[ -z "$PGPORT" ] && { PGPORT=5432; export PGPORT; }
+[ -z "$PGPORT" ] && { PGPORT=_fUnKy_POSTPORT_sTuFf_; export PGPORT; }
[ -z "$PGHOST" ] && { PGHOST=localhost; export PGHOST; }
POSTGRESDIR=_fUnKy_POSTGRESDIR_sTuFf_
BINDIR=_fUnKy_BINDIR_sTuFf_