mirror of https://github.com/postgres/postgres
Patches to make POSTPORT changes in scripts
Originally submitted by: ernst.molitor@uni-bonn.de resubmitted by: D'Arcy Cain
This commit is contained in:
parent
1a003fbcc2
commit
04b55fc4a4
|
@ -7,7 +7,7 @@
|
|||
#
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.30 1996/09/16 06:32:25 scrappy Exp $
|
||||
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.31 1996/09/21 06:23:57 scrappy Exp $
|
||||
#
|
||||
# NOTES
|
||||
# This is seen by any Makefiles that include mk/postgres.mk. To
|
||||
|
@ -104,6 +104,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= 5432
|
||||
|
||||
# NAMEDATALEN is the max length for system identifiers (e.g. table names,
|
||||
# attribute names, function names, etc.)
|
||||
#
|
||||
|
@ -278,7 +281,7 @@ CFLAGS+= -DPORTNAME_$(PORTNAME) -D$(PORTNAME)
|
|||
CFLAGS += -I../../backend/port/$(PORTNAME)
|
||||
|
||||
# Globally pass the default TCP port for postmaster(1).
|
||||
CFLAGS+= -DPOSTPORT='"6543"'
|
||||
CFLAGS+= -DPOSTPORT='"$(POSTPORT)"'
|
||||
|
||||
# include flags from mk/port/postgres.mk.$(PORTNAME)
|
||||
CFLAGS+= $(CFLAGS_BE)
|
||||
|
|
|
@ -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.4 1996/09/21 06:24:07 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
|
||||
|
|
|
@ -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.4 1996/09/21 06:24:19 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
|
||||
|
|
|
@ -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.4 1996/09/21 06:24:24 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
|
||||
|
|
|
@ -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.4 1996/09/21 06:24:31 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
|
||||
|
|
|
@ -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.5 1996/09/21 06:24:41 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_
|
||||
|
|
Loading…
Reference in New Issue