Remove more -B parameters not needed.
This commit is contained in:
parent
bd5cf46e0c
commit
57455fc565
@ -14,13 +14,13 @@
|
||||
PGACCOUNT="postgres" # the postgres account (you called it something else?)
|
||||
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"
|
||||
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
|
||||
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" ]
|
||||
then
|
||||
PGOPTS="-i ${PGOPTS}" # -i to enable TCP/IP rather than Unix socket
|
||||
|
@ -69,24 +69,24 @@ PGLOGFILE="/tmp/postgres.log"
|
||||
#
|
||||
# only used if syslog is disabled
|
||||
#
|
||||
PGOPTS="-B 256"
|
||||
PGOPTS="" # -B 256
|
||||
#
|
||||
# The B option sets the number of shared buffers
|
||||
#
|
||||
# Add the "-i" option to enable TCP/IP sockets in addition
|
||||
# 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
|
||||
# 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
|
||||
# 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.
|
||||
|
@ -3,4 +3,4 @@
|
||||
# Please choose amount of sort memory (-S XXX) as appropriate
|
||||
# for your system: more is better, but swapping breaks performance!
|
||||
|
||||
exec postmaster -B 256 '-o -S 2048' -S
|
||||
exec postmaster '-o -S 2048' -S
|
||||
|
Loading…
x
Reference in New Issue
Block a user