Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite3736d2

Browse files
committed
Add installtion of postmaster.opts.default.
1 parentb680d5b commite3736d2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/bin/initdb/initdb.sh

Lines changed: 5 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.76 1999/12/20 05:39:40 momjian Exp $
29+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.77 1999/12/22 04:23:31 ishii Exp $
3030
#
3131
#-------------------------------------------------------------------------
3232

@@ -321,6 +321,7 @@ PG_HBA_SAMPLE="$PGLIB"/pg_hba.conf.sample
321321
TEMPLATE_DESCR="$PGLIB"/local1_template1.description
322322
GLOBAL_DESCR="$PGLIB"/global1.description
323323
PG_GEQO_SAMPLE="$PGLIB"/pg_geqo.sample
324+
PG_POSTMASTER_OPTS_DEFAULT_SAMPLE="$PGLIB"/postmaster.opts.default.sample
324325

325326
forPREREQ_FILEin"$TEMPLATE""$GLOBAL""$PG_HBA_SAMPLE"
326327
do
@@ -433,6 +434,7 @@ then
433434

434435
cp"$PG_HBA_SAMPLE""$PGDATA"/pg_hba.conf|| exit_nicely
435436
cp"$PG_GEQO_SAMPLE""$PGDATA"/pg_geqo.sample|| exit_nicely
437+
cp"$PG_POSTMASTER_OPTS_DEFAULT_SAMPLE""$PGDATA"/postmaster.opts.default|| exit_nicely
436438

437439
echo"Adding template1 database to pg_database"
438440

@@ -556,6 +558,8 @@ echo "VACUUM ANALYZE" \
556558
echo
557559
echo"$CMDNAME completed successfully. You can now start the database server."
558560
echo"($PGPATH/postmaster -D$PGDATA)"
561+
echo"or"
562+
echo"($PGPATH/pg_ctl -D$PGDATA start)"
559563
echo
560564

561565
exit 0

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp