From e3736d2c3ac6dc563e785defffa9e0dd66f7e853 Mon Sep 17 00:00:00 2001
From: Tatsuo Ishii <ishii@postgresql.org>
Date: Wed, 22 Dec 1999 04:23:31 +0000
Subject: [PATCH] Add installtion of postmaster.opts.default.

---
 src/bin/initdb/initdb.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh
index fd47fd1fdde..f3f76cf40f6 100644
--- a/src/bin/initdb/initdb.sh
+++ b/src/bin/initdb/initdb.sh
@@ -26,7 +26,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.76 1999/12/20 05:39:40 momjian Exp $
+#    $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.77 1999/12/22 04:23:31 ishii Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -321,6 +321,7 @@ PG_HBA_SAMPLE="$PGLIB"/pg_hba.conf.sample
 TEMPLATE_DESCR="$PGLIB"/local1_template1.description
 GLOBAL_DESCR="$PGLIB"/global1.description
 PG_GEQO_SAMPLE="$PGLIB"/pg_geqo.sample
+PG_POSTMASTER_OPTS_DEFAULT_SAMPLE="$PGLIB"/postmaster.opts.default.sample
 
 for PREREQ_FILE in "$TEMPLATE" "$GLOBAL" "$PG_HBA_SAMPLE"
 do
@@ -433,6 +434,7 @@ then
 
     cp "$PG_HBA_SAMPLE" "$PGDATA"/pg_hba.conf     || exit_nicely
     cp "$PG_GEQO_SAMPLE" "$PGDATA"/pg_geqo.sample || exit_nicely
+    cp "$PG_POSTMASTER_OPTS_DEFAULT_SAMPLE" "$PGDATA"/postmaster.opts.default || exit_nicely
 
     echo "Adding template1 database to pg_database"
 
@@ -556,6 +558,8 @@ echo "VACUUM ANALYZE" \
 echo
 echo "$CMDNAME completed successfully. You can now start the database server."
 echo "($PGPATH/postmaster -D $PGDATA)"
+echo "or"
+echo "($PGPATH/pg_ctl -D $PGDATA start)"
 echo
 
 exit 0
-- 
GitLab