Commit ebdd6aa7 authored by Marc G. Fournier's avatar Marc G. Fournier

And, make sure that initdb.sh copies the pg_geqo.sample file to

${DATADIR}.  The file is left as pg_geqo.sample, since, unlike
pg_hba.conf, it isn't a required file...but this way ppl know that
its there, and that its where it is required, if they choose to
use it
parent 23513b47
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.23 1997/01/14 03:07:15 momjian Exp $ # $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.24 1997/02/19 13:11:58 scrappy Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -153,6 +153,7 @@ fi ...@@ -153,6 +153,7 @@ fi
TEMPLATE=$PGLIB/local1_template1.bki.source TEMPLATE=$PGLIB/local1_template1.bki.source
GLOBAL=$PGLIB/global1.bki.source GLOBAL=$PGLIB/global1.bki.source
PG_HBA_SAMPLE=$PGLIB/pg_hba.conf.sample PG_HBA_SAMPLE=$PGLIB/pg_hba.conf.sample
PG_GEQO_SAMPLE=$PGLIB/pg_geqo.sample
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -315,6 +316,7 @@ if [ $template_only -eq 0 ]; then ...@@ -315,6 +316,7 @@ if [ $template_only -eq 0 ]; then
pg_version $PGDATA pg_version $PGDATA
cp $PG_HBA_SAMPLE $PGDATA/pg_hba.conf cp $PG_HBA_SAMPLE $PGDATA/pg_hba.conf
cp $PG_GEQO_SAMPLE $PGDATA/pg_geqo.sample
echo "Adding template1 database to pg_database..." echo "Adding template1 database to pg_database..."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment