Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc G. Fournier1996-09-23 08:24:13 +0000
committerMarc G. Fournier1996-09-23 08:24:13 +0000
commitff4d0d435e32e6abf1e467a44056ea38041cb849 (patch)
treeeead1905720921020cfb5613f9740ae86a4da4ae /src/mk/postgres.shell.mk
parente7c3adcd94d19758dad3d9bc41fe160ba1da2d96 (diff)
Here's a patch that I discussed recently on pg95-dev that changes the
way one creates a database system. Parts that were in "make install" are not either in "make all" or initdb. Nothing goes in the PGDATA directory besides user data. Creating multiple database systems is easier. In addition to applying the patch, it is necessary to move the file libpq/pg_hba to backend/libpq/pg_hba.sample. Submitted by: Bryan Henderson <bryanh@giraffe.netgate.net>
Diffstat (limited to 'src/mk/postgres.shell.mk')
-rw-r--r--src/mk/postgres.shell.mk21
1 files changed, 13 insertions, 8 deletions
diff --git a/src/mk/postgres.shell.mk b/src/mk/postgres.shell.mk
index 398c3fd8138..65eeff2916c 100644
--- a/src/mk/postgres.shell.mk
+++ b/src/mk/postgres.shell.mk
@@ -11,28 +11,33 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/mk/Attic/postgres.shell.mk,v 1.1.1.1 1996/07/09 06:22:19 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/mk/Attic/postgres.shell.mk,v 1.2 1996/09/23 08:24:13 scrappy Exp $
#
# NOTES
# the shell script you write might include the following strings which
# will be turned into the values listed below:
#
# _fUnKy_BINDIR_sTuFf_ - location of installed binaries
-# _fUnKy_DATADIR_sTuFf_ - location of the data directory
+# _fUnKy_LIBDIR_sTuFf_ - location of installed library stuff
+# _fUnKy_DATADIR_sTuFf_ - location of the default data directory
# _fUnKy_POSTGRESDIR_sTuFf_ - location of the postgres "home" directory
+# _fUnKy_NAMEDATALEN_sTuFf_ - length of a datum of type "name"
+# _fUnKy_OIDNAMELEN_sTuFf_ - ?
# _fUnKy_IPCCLEANPATH_sTuFf_ - location of the ipcs and ipcrm programs
# _fUnKy_DASH_N_sTuFf_ - -n flag used in echo
# _fUnKy_BACKSLASH_C_sTuFf_ - continuation (echo)
#-------------------------------------------------------------------------
#
-# And all the shell scripts here get stuffed with the default
-# values for BINDIR, DATADIR, and POSTGRESDIR
+# Insert installation-dependent filepaths into the shell script
#
-SEDSCRIPT= -e "s^_fUnKy_BINDIR_sTuFf_^$(BINDIR)^g" \
- -e "s^_fUnKy_DATADIR_sTuFf_^$(DATADIR)^g" \
- -e "s^_fUnKy_IPCCLEANPATH_sTuFf_^$(IPCSDIR)^g" \
- -e "s^_fUnKy_POSTGRESDIR_sTuFf_^$(POSTGRESDIR)^g"
+SEDSCRIPT= \
+ -e "s^_fUnKy_BINDIR_sTuFf_^$(BINDIR)^g" \
+ -e "s^_fUnKy_LIBDIR_sTuFf_^$(LIBDIR)^g" \
+ -e "s^_fUnKy_DATADIR_sTuFf_^$(DATADIR)^g" \
+ -e "s^_fUnKy_IPCCLEANPATH_sTuFf_^$(IPCSDIR)^g" \
+ -e "s^_fUnKy_NAMEDATALEN_sTuFf_^$(NAMEDATALEN)^g" \
+ -e "s^_fUnKy_OIDNAMELEN_sTuFf_^$(OIDNAMELEN)^g"
#
# We also need to fix up the scripts to deal with the lack of installed