Remove more -B parameters not needed.

This commit is contained in:
Bruce Momjian 1999-05-23 19:01:18 +00:00
parent bd5cf46e0c
commit 57455fc565
3 changed files with 7 additions and 7 deletions

View File

@ -14,13 +14,13 @@
PGACCOUNT="postgres" # the postgres account (you called it something else?) PGACCOUNT="postgres" # the postgres account (you called it something else?)
POSTMASTER="postmaster" # this probably won't change POSTMASTER="postmaster" # this probably won't change
USE_SOCKET="yes" # "no" to disable Unix sockets on localhost USE_SOCKET="yes" # "no" to enable tcp/ip(remote) access
PGSOCKETFILE="/tmp/.s.PGSQL.5432" PGSOCKETFILE="/tmp/.s.PGSQL.5432"
USE_SYSLOG="yes" # "yes" to enable syslog, "no" to go to /tmp/postgres.log USE_SYSLOG="yes" # "yes" to enable syslog, "no" to go to /tmp/postgres.log
FACILITY="local5" # can assign local0-local7 as the facility for logging FACILITY="local5" # can assign local0-local7 as the facility for logging
PGLOGFILE="/tmp/postgres.log" # only used if syslog is disabled PGLOGFILE="/tmp/postgres.log" # only used if syslog is disabled
PGOPTS="-i -B 1024" # -S -o '-Fe'" PGOPTS="" #-B 1024 -S -o '-Fe'
if [ ${USE_SOCKET} = "no" ] if [ ${USE_SOCKET} = "no" ]
then then
PGOPTS="-i ${PGOPTS}" # -i to enable TCP/IP rather than Unix socket PGOPTS="-i ${PGOPTS}" # -i to enable TCP/IP rather than Unix socket

View File

@ -69,24 +69,24 @@ PGLOGFILE="/tmp/postgres.log"
# #
# only used if syslog is disabled # only used if syslog is disabled
# #
PGOPTS="-B 256" PGOPTS="" # -B 256
# #
# The B option sets the number of shared buffers # The B option sets the number of shared buffers
# #
# Add the "-i" option to enable TCP/IP sockets in addition # Add the "-i" option to enable TCP/IP sockets in addition
# to unix domain sockets. This is needed for Java's JDBC # to unix domain sockets. This is needed for Java's JDBC
# #
# PGOPTS="-i -B 256" # PGOPTS="-i"
# #
# Add the -D option if you want to ovverride the PGDATA # Add the -D option if you want to ovverride the PGDATA
# environment variable defined in # environment variable defined in
# #
# PGOPTS="-B 256 -D/opt/pgsql/data # PGOPTS="-D/opt/pgsql/data
# #
# Add the -p option if you would like the listener to # Add the -p option if you would like the listener to
# attach to a port other than the one configured (5432?) # attach to a port other than the one configured (5432?)
# #
# PGOPTS="-B 256 -D/opt/pgsql_beta/data -p 5433" # PGOPTS="-D/opt/pgsql_beta/data -p 5433"
# #
# Source function library. # Source function library.

View File

@ -3,4 +3,4 @@
# Please choose amount of sort memory (-S XXX) as appropriate # Please choose amount of sort memory (-S XXX) as appropriate
# for your system: more is better, but swapping breaks performance! # for your system: more is better, but swapping breaks performance!
exec postmaster -B 256 '-o -S 2048' -S exec postmaster '-o -S 2048' -S