Skip to content

Commit ebdd6aa

Browse files
committed
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
1 parent 23513b4 commit ebdd6aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/bin/initdb/initdb.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#
2727
#
2828
# IDENTIFICATION
29-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.23 1997/01/14 03:07:15 momjian Exp $
29+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.24 1997/02/19 13:11:58 scrappy Exp $
3030
#
3131
#-------------------------------------------------------------------------
3232

@@ -153,6 +153,7 @@ fi
153153
TEMPLATE=$PGLIB/local1_template1.bki.source
154154
GLOBAL=$PGLIB/global1.bki.source
155155
PG_HBA_SAMPLE=$PGLIB/pg_hba.conf.sample
156+
PG_GEQO_SAMPLE=$PGLIB/pg_geqo.sample
156157

157158

158159
#-------------------------------------------------------------------------
@@ -315,6 +316,7 @@ if [ $template_only -eq 0 ]; then
315316
pg_version $PGDATA
316317

317318
cp $PG_HBA_SAMPLE $PGDATA/pg_hba.conf
319+
cp $PG_GEQO_SAMPLE $PGDATA/pg_geqo.sample
318320

319321
echo "Adding template1 database to pg_database..."
320322

0 commit comments

Comments
 (0)