Skip to content

Commit df79870

Browse files
committed
Patches to make POSTPORT changes in scripts
Originally submitted by: ernst.molitor@uni-bonn.de resubmitted by: D'Arcy Cain
1 parent 6661a8d commit df79870

File tree

6 files changed

+14
-11
lines changed

6 files changed

+14
-11
lines changed

src/Makefile.global

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.19.2.5 1996/08/20 04:06:12 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.19.2.6 1996/09/21 06:16:09 scrappy Exp $
1111
#
1212
# NOTES
1313
# This is seen by any Makefiles that include mk/postgres.mk. To
@@ -105,6 +105,9 @@ POSTDOCDIR= $(POSTGRESDIR)/doc
105105
# Where the header files necessary to build frontend programs get installed.
106106
HEADERDIR= $(POSTGRESDIR)/include
107107

108+
# The port to run the postmaster on
109+
POSTPORT= 6543
110+
108111
# NAMEDATALEN is the max length for system identifiers (e.g. table names,
109112
# attribute names, function names, etc.)
110113
#

src/bin/createdb/createdb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#
1212
#
1313
# IDENTIFICATION
14-
# $Header: /cvsroot/pgsql/src/bin/createdb/Attic/createdb.sh,v 1.3 1996/07/27 02:19:00 scrappy Exp $
14+
# $Header: /cvsroot/pgsql/src/bin/createdb/Attic/createdb.sh,v 1.3.2.1 1996/09/21 06:16:32 scrappy Exp $
1515
#
1616
#-------------------------------------------------------------------------
1717

@@ -23,7 +23,7 @@
2323
# PGDATA, PGHOST, and PGPORT
2424
#
2525
# ----------------
26-
[ -z "$PGPORT" ] && PGPORT=5432
26+
[ -z "$PGPORT" ] && PGPORT=_fUnKy_POSTPORT_sTuFf_
2727
[ -z "$PGHOST" ] && PGHOST=localhost
2828
BINDIR=_fUnKy_BINDIR_sTuFf_
2929
PATH=$BINDIR:$PATH

src/bin/createuser/createuser.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
#
1010
# IDENTIFICATION
11-
# $Header: /cvsroot/pgsql/src/bin/createuser/Attic/createuser.sh,v 1.3 1996/07/27 02:19:06 scrappy Exp $
11+
# $Header: /cvsroot/pgsql/src/bin/createuser/Attic/createuser.sh,v 1.3.2.1 1996/09/21 06:16:39 scrappy Exp $
1212
#
1313
# Note - this should NOT be setuid.
1414
#
@@ -22,7 +22,7 @@
2222
# PGDATA, PGHOST, and PGPORT
2323
#
2424
# ----------------
25-
[ -z "$PGPORT" ] && PGPORT=5432
25+
[ -z "$PGPORT" ] && PGPORT=_fUnKy_POSTPORT_sTuFf_
2626
[ -z "$PGHOST" ] && PGHOST=localhost
2727
BINDIR=_fUnKy_BINDIR_sTuFf_
2828
PATH=$BINDIR:$PATH

src/bin/destroydb/destroydb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#
1212
#
1313
# IDENTIFICATION
14-
# $Header: /cvsroot/pgsql/src/bin/destroydb/Attic/destroydb.sh,v 1.3 1996/07/27 02:19:12 scrappy Exp $
14+
# $Header: /cvsroot/pgsql/src/bin/destroydb/Attic/destroydb.sh,v 1.3.2.1 1996/09/21 06:18:33 scrappy Exp $
1515
#
1616
#-------------------------------------------------------------------------
1717

@@ -23,7 +23,7 @@
2323
# PGDATA, PGHOST, and PGPORT
2424
#
2525
# ----------------
26-
[ -z "$PGPORT" ] && PGPORT=5432
26+
[ -z "$PGPORT" ] && PGPORT=_fUnKy_POSTPORT_sTuFf_
2727
[ -z "$PGHOST" ] && PGHOST=localhost
2828
BINDIR=_fUnKy_BINDIR_sTuFf_
2929
PATH=$BINDIR:$PATH

src/bin/destroyuser/destroyuser.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
#
1010
# IDENTIFICATION
11-
# $Header: /cvsroot/pgsql/src/bin/destroyuser/Attic/destroyuser.sh,v 1.3 1996/07/27 02:19:18 scrappy Exp $
11+
# $Header: /cvsroot/pgsql/src/bin/destroyuser/Attic/destroyuser.sh,v 1.3.2.1 1996/09/21 06:18:40 scrappy Exp $
1212
#
1313
# Note - this should NOT be setuid.
1414
#
@@ -22,7 +22,7 @@
2222
# PGDATA, PGHOST, and PGPORT
2323
#
2424
# ----------------
25-
[ -z "$PGPORT" ] && PGPORT=5432
25+
[ -z "$PGPORT" ] && PGPORT=_fUnKy_POSTPORT_sTuFf_
2626
[ -z "$PGHOST" ] && PGHOST=localhost
2727
BINDIR=_fUnKy_BINDIR_sTuFf_
2828
PATH=$BINDIR:$PATH

src/bin/initdb/initdb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#
1313
#
1414
# IDENTIFICATION
15-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.4 1996/07/23 03:03:19 scrappy Exp $
15+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.4.2.1 1996/09/21 06:18:52 scrappy Exp $
1616
#
1717
#-------------------------------------------------------------------------
1818

@@ -25,7 +25,7 @@
2525
#
2626
# ----------------
2727
[ -z "$PGDATA" ] && { PGDATA=_fUnKy_DATADIR_sTuFf_; export PGDATA; }
28-
[ -z "$PGPORT" ] && { PGPORT=5432; export PGPORT; }
28+
[ -z "$PGPORT" ] && { PGPORT=_fUnKy_POSTPORT_sTuFf_; export PGPORT; }
2929
[ -z "$PGHOST" ] && { PGHOST=localhost; export PGHOST; }
3030
POSTGRESDIR=_fUnKy_POSTGRESDIR_sTuFf_
3131
BINDIR=_fUnKy_BINDIR_sTuFf_

0 commit comments

Comments
 (0)